[FFmpeg-user] fixing videos that don't start with keyframes
Etienne Buira
etienne.buira.lists at free.fr
Thu Nov 17 09:26:49 CET 2011
Hi.
On Tue, Nov 15, 2011 at 09:40:14AM -0500, Matthew Morgan wrote:
> Alas but no, that doesn't work either. The skip happens, but it's not seeking to the first keyframe after the skip like it usually would. I don't know whether it's because keyframe-seeking gets disabled with codec copy or if it's the fact that these input files are a little weird. I found that if I get rid of the codec copy commands and try to do a skip of 60 seconds (long enough to make it obvious), I get:
>
> ffmpeg -i M2U00108.MPG -ss 60 -target ntsc-dvd -y m2u00108_copy.mpg
Keyframe seeking can occur if you ask it (ie you put -ss before -i).
More information about the ffmpeg-user
mailing list