[FFmpeg-user] Subs start at zero instead of what IDX says
Mark Filipak
markfilipak.imdb at gmail.com
Tue Aug 5 21:06:59 EEST 2025
I corrected the sexagesimal times.
Hi All!
The script below is working, and as you can see from the table, the IDX
must be getting read because the subtitles have correct intervals.
However, the first subtitle is at 0.000 instead of 1:21.540.
How can I get the first subtitle to start at 1:21.540?
https://ffmpeg.org/ffmpeg-codecs.html#dvdsub-1 is mute.
Thanks!--Mark.
ACTUAL IDX SAYS
0.000 should be 1:21.540
6.590 1:28.088 IDX interval 6.548
8.175 1:29.673 8.133
10.010 1:31.508 9.968
13.096 1:34.595 13.055
set _PUT_=e:\Movies2\A MAN CALLED OTTO [2022].mp4
set _GETvac_=c:\work\A MAN CALLED OTTO [2022].mp4
set _GETs_=c:\work\A MAN CALLED OTTO [2022]s.sub
set _GETi_=c:\work\A MAN CALLED OTTO [2022]s.idx
set _COPYv_=-map 0:v:0 -c:v copy
set _COPYa0_=-map 0:a:0 -c:a:0 copy -disposition:a:0 0
set _COPYa1_=-map 0:a:1 -c:a:1 copy -disposition:a:1 0
set _CODEs_=-map 1:s:0 -c:s dvd_subtitle
start cmd /k ffmpeg -i "%_GETvac_%" -i "%_GETs_%" -i "%_GETi_%"^
%_COPYv_% %_COPYa0_% %_COPYa1_% %_CODEs_% "%_PUT_%"
More information about the ffmpeg-user
mailing list