Skip to content

VAD Parameter Tuning for Speech Recognition

During the speech recognition phase of video translation, generated subtitles may sometimes be too long (tens of seconds or even minutes) or too short (less than 1 second). Adjusting VAD (Voice Activity Detection) parameters can help fix these issues and make subtitles better match the actual speech content.


What is VAD?

VAD (Voice Activity Detection) is a tool that identifies speech segments in audio, separating speech from silence or noise. When combined with speech recognition tools like Whisper, VAD can detect and split speech segments before and after recognition, improving overall accuracy.

The current version uses silero as the default VAD model. You can switch to ten-vad in Menu > Tools/Options(T) > More Settings....


Parameter Details and Tuning Tips

VAD Parameter Settings

Core Parameters

ParameterDescriptionDefaultTuning Tip
Select VADChoose which VAD model to usesileroGenerally keep the default
Speech ThresholdMinimum probability for an audio segment to be considered speech; lower = more sensitive0.5Lower values increase sensitivity but may misclassify noise as speech
Max Speech Duration (s)Force-split segments exceeding this length5Set to 3-4 for shorter subtitles; 8-10 for longer ones
Min Speech Duration (ms)Segments shorter than this try to merge with adjacent subtitles2000Set to 1000-1500 for shorter subtitles
Merge Short SubtitlesMust be checked to enable merging of short subtitlesNoGenerally recommended to enable
Silence Split Duration (ms)Only split at silences longer than this value140Increase to reduce the number of splits
Non-speech ThresholdDecrease to reduce hallucinations, but may miss some words--Generally keep the default

Advanced Parameters

ParameterDescriptionDefault
Sampling TemperatureControls randomness in recognition--
Hot WordsTell the model which words may appear, separated by commasEmpty
Repetition PenaltyIncrease this value to reduce repetitions--
Text Compression RatioDecrease this value to reduce repetitions--
Whisper Pre-segment AudioWhether to pre-segment audio into sentence clips before sending to WhisperNo

Tip: When using a clone dubbing voice, check "Whisper Pre-segment Audio" and set Min Speech Duration to 3000 and Max Speech Duration to 10. This ensures the reference audio is 3-10 seconds long, improving cloning reliability.


FAQ

Q: Subtitles are too long (tens of seconds). How do I shorten them?

  1. Decrease "Max Speech Duration (s)" (e.g., set to 3-4)
  2. Check "Merge Short Subtitles"
  3. Decrease "Silence Split Duration (ms)"

Q: Subtitles are too short (less than 1 second). How do I lengthen them?

  1. Increase "Max Speech Duration (s)" (e.g., set to 8-10)
  2. Increase "Min Speech Duration (ms)" (e.g., set to 3000-4000)
  3. Uncheck "Merge Short Subtitles"

Q: There are duplicate lines in my subtitles. What should I do?

  1. Increase the "Repetition Penalty" value
  2. Decrease the "Text Compression Ratio"
  3. Increase the "Sampling Temperature" (but setting it too high may cause hallucinations)

Q: How do I make the model recognize specific proper nouns?

Enter the proper nouns in the "Hot Words" field, separated by commas. For example: Beijing,Tsinghua University,ChatGPT