feat: add multi-channel support and language filtering to focus on specific speakers
This commit is contained in:
@@ -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.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user