View Full Version : Trim w/o affecting subtitle sync
Wackyphill
21st January 2008, 05:23
I have an MKV that has vobsub subtitles. I also use TRIM to skip over portions of the clip. The audio and video remain perfectly in sync but after the jump from the trim the subtitles are off.
I think they are based on time rather than frames and that is why. Anyone know a way to get theis effect w/o losing sync w/ subtitles? How do you skip over sections of the clip but keep subtitles displaying correctly?
Thanks for any help.
stickboy
21st January 2008, 09:52
I think they are based on time rather than frames and that is why.It's because AviSynth doesn't know anything about external data like subtitles. AviSynth is fed video and audio, and that's all it knows about and all it can manipulate.
If you need to make corresponding edits to your subtitle data, you'll need to extract it from the mkv file and use a separate subtitle editor.
Wackyphill
21st January 2008, 13:33
OK, I understand. Thanks for the info.
BTW is it at all possible to have AviSynth save the output of one of its scripts to file? So, for example save the trimmed output as a new MKV file?
stickboy
22nd January 2008, 19:46
AviSynth can't save directly (it's just a frame-server; encoding and saving isn't its job). Open the AviSynth script in your favorite MKV-encoding+saving tool and create a new MKV file.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.