1
1
I was looking for issue where if we cut video using -ss
flag, video conversion doesn't start. The answer I found suggests to use -ss
flag before -i
flag to seek video before conversion.
ffmpeg -ss 01:06:29 -i "input.mp4" -t 00:00:35 -vf "subtitles=sub.srt:force_style='FontSize=32,PrimaryColour=&Hfcc545',scale=462:-1" "output.mp4"
But when I use this approach, subtitles don't get burned to output.
Ya I was trying to save conversion time. Now I converted subtitle file first using output seeking(
-ss
after-i
) then did video encoding using input seeking(-ss
before-i
), takes two passes but saves the time. Thanks. – Zorro Here – 2016-08-29T12:50:58.683Why two passes? You can burn and encode in one go. – Gyan – 2016-08-29T13:20:11.157
1Yes sorry for confusion, it burns and encodes in single pass just I have to cut subtitles first using
ffmpeg -ss 01:06:30.80 -i "sub.srt" -t 00:00:35 "out.srt"
. If you mean I can cut subtitles, burn and encode in single pass please post how I can do that. – Zorro Here – 2016-08-29T13:49:12.810