feat: add multi-channel support and language filtering to focus on specific speakers

This commit is contained in:
Adolfo Reyna
2026-03-01 11:39:03 -05:00
parent 00231cc747
commit 8f6d2a0303
2 changed files with 25 additions and 3 deletions
+4
View File
@@ -65,6 +65,10 @@ Run the script using `python3 transcribe.py` with optional flags.
- `-c`, `--context`: Enable prompt caching/rolling context to help the model maintain sentence continuity across chunks.
- `--lang [CODE]`: Hardcode the source language (e.g., `en`, `es`) to bypass automatic language detection for faster processing.
- `--silence [MS]`: Set the minimum silence duration in milliseconds to end a chunk. Defaults to 1000ms. Increase to force longer sentences before translation.
- `--max-buffer [SEC]`: Maximum buffer duration in seconds before forcing a flush (default: 20).
- `--channels [N]`: Number of input channels (default: 1).
- `--pick-channel [0|1]`: If stereo, select channel 0 (Left) or 1 (Right) to focus transcription.
- `--filter-lang`: If used with `--lang`, discards segments that do not match the target language.
---