[FFmpeg-user] cut at keyframes

Pawel Por porparek at gmail.com
Tue Apr 1 11:28:14 CEST 2014


Hi
I'm a great fan of ffmpeg. I've been using the version 1.0.7 of ffmpeg and
it was cutting my mp4 movies at closest keyframes.
It was exactly what I wanted.
It was very useful to me. I was using the following command:
ffmpeg -noaccurate_seek -i input.mp4 -ss 1 -t 3 -acodec copy -vcodec copy
-y out.mp4

I've upgraded to the newer version of ffmpeg 2.2 and I found that now when
I use the above command it cuts my movies not at closest keyframes.
I tried "-noaccurate_seek" option (as follows) but it still cuts my movies
not at a closest keyframes.
ffmpeg -noaccurate_seek -i input.mp4 -ss 1 -t 3 -acodec copy -vcodec copy
-y out.mp4

I believe that there must be some ffmpeg option to accomplish it (I cannot
find it in "man page").

Please, write me how I can do that.

thanks in advance


More information about the ffmpeg-user mailing list