rany2 / edge-tts

Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key
https://pypi.org/project/edge-tts/
GNU General Public License v3.0
4.24k stars 447 forks source link

Subtitle Sync Issue with Playback Speed Adjustment #141

Closed Nicolas-Gong closed 2 months ago

Nicolas-Gong commented 9 months ago

If the playback speed is set, for example, at +20%, there will be a time delay between a 1-hour and 4-minute audio and subtitles. The subtitles will end up being one second behind the audio. Is there a way to fix this issue? I have tried playing without adjusting the speed, and in that case, the subtitles sync perfectly with the audio, but it doesn't work when I accelerate the playback.

rany2 commented 8 months ago

So you're basically saying that after the 1h:4m mark it starts to desync when sped up?

rany2 commented 2 months ago

Does this issue still happen? It seems fixed for me.

rany2 commented 2 months ago

Reopen if the current fix isn't adequate.