[FFmpeg-user] issue with concat and seek

Cley Faye cleyfaye at gmail.com
Wed Oct 19 20:43:00 EEST 2016

2016-10-19 17:51 GMT+02:00 Moritz Barsnick <barsnick at gmx.net>:

> No, ffmpeg should actually cut with "-ss".

​Hmm, I'm not sure. This wiki page (https://trac.ffmpeg.org/wiki/Seeking
) says:
> Using -ss as input option together with -c:v copy might not be accurate
since ffmpeg is forced to only use/split on i-frames. Though it will—if
possible—adjust the start time of the stream to a negative value to
compensate for that. Basically, if you specify "second 157" and there is no
key frame until second 159, it will include two seconds of audio (with no
video) at the start, then will start from the first key frame. So be
careful when splitting and doing codec copy.

To me, it sound like it might copy all the video, and set the stream to
start at the specified time, if there is no keyframe between the start and
the cutting point. If that's the case, then concat might not be honoring
this starting time.

More information about the ffmpeg-user mailing list