[FFmpeg-user] cut at keyframes

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 2 11:12:32 CEST 2014

Pawel Por <porparek <at> gmail.com> writes:

> 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 tested the following with the sample you uploaded 
with FFmpeg 1.0 and current git head:
$ ffmpeg -ss 1 -i test.mp4 -acodec copy -vcodec copy -t 3 out.mp4
Both versions produce the same output frames, what do I 

Please don't top-post here, it is considered rude.

Carl Eugen

More information about the ffmpeg-user mailing list