Skip to content

Commit

Permalink
Better whisper-ctranslate vad filter option
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Jul 3, 2024
1 parent efa5835 commit 07058e1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ export class Ctranslate2Transcriber extends OpenaiTranscriber {
'True',
'--vad_filter',
'true',
// Better precision with 5s of audio
// We mainly use vad_filter to improve language detection (first 30 seconds of the video, so no voice is problematic)
'--vad_min_silence_duration_ms',
'5000',
'--output_format',
'all',
'--output_dir',
Expand Down

0 comments on commit 07058e1

Please sign in to comment.