Cerlancism/chatgpt-subtitle-translator

Incorrect timings

jrkoiter opened this issue · 2 comments

Cool program! When translating this subtitle from English to Dutch:
cli/translator.mjs --stream --temperature 0 --from "English" --to "Dutch" --file ~/Downloads/subtitle.srt

The resulting timings are off:

CleanShot 2023-04-24 at 16 19 47

Thanks for trying out the program. I am aware of this problem, this problem resides in ChatGPT itself.

There are several workarounds I thought of:

This issue could be improved with the newly supported structured mode

Experimental feature:

Try in CLI --experimental-structured-mode