View Single Post
Old 11th July 2020, 22:49   #2  |  Link
carlosrodriguez
Registered User
 
Join Date: Jun 2020
Posts: 6
I found a quick and dirty workaround with itsoffset like this

ffmpeg -i video.mkv -itsoffset 0.05 -i subs.ass -c copy output.mkv

It seems to work but it is still somewhat problematic because I don't know if the subtitles offset is always 0.05s and always in the same direction. I am muxing wiith .bat batch files and if I have to test every single file again for the delay I could just as well mux them one by one in mkvtoolnix. The whole point of me doing it in ffmpeg command line is that I can automate it with batch.

Would still appreciate it if somebody knows why this delay happens in the first place and if there is any command that prevents it. Must be something with timestamps or key frames or the sorts. I have no experience with these things unfortunately.
carlosrodriguez is offline   Reply With Quote