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.56k stars 156 forks source link

Voice Overlap when generating TTS from Elevenlabs #85

Closed DablewCodes closed 8 months ago

DablewCodes commented 8 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 8 months ago

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