ThioJoe / Auto-Synced-Translated-Dubs

Automatically translates the text of a video based on a subtitle file, and then uses AI voice services to create a new dubbed & translated audio track where the speech is synced using the subtitle's timings.
GNU General Public License v3.0
1.6k stars 158 forks source link

Voice Overlap when generating TTS from Elevenlabs #85

Closed DablewCodes closed 10 months ago

DablewCodes commented 10 months ago

The voice clips from Eleven labs seem to drag on too long

One fix could be to compare the length of the generated TTS and the original duration of that text in the subtitles, and if it exceeds it, speed it up using FFMPEG

DablewCodes commented 10 months ago

Nevermind, Had the wrong configuration, it's working fine now