View Full Version : Any way to split srt in CLI?
Malow
18th July 2004, 23:14
im trying to make a automatic dvd2xvid, but i need split srt for 2 cds in CLI.
any software can do this? (better if a dos app, instead a win32 with cli suport)
im looking too for a cli soft that get file duration of a matroska file (for split time)
Liisachan
19th July 2004, 18:19
Originally posted by Malow
im trying to make a automatic dvd2xvid, but i need split srt for 2 cds in CLI.
any software can do this? (better if a dos app, instead a win32 with cli suport)
Split SRT?!
I'm not sure what you are going to do but, this sample will split an SRT at the first keyframe after 20:00, after muxing video+audio.avi and the SRT.
mkvmerge -o tmp.mkv video+audio.avi --sub-charset 0:WINDOWS-1252 french.srt --split 00:20:00.000
mkvextract tracks tmp-001.mkv -c WINDOWS-1252 3:french-1.srt
mkvextract tracks tmp-002.mkv -c WINDOWS-1252 3:french-2.srt
im looking too for a cli soft that get file duration of a matroska file (for split time)
Try this ...
mkvinfo some.mkv | find "Duration"
Hope this will help a little...
Malow
19th July 2004, 19:28
tnks for the tip. i will try to use it! :)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.