[FFmpeg-user] Cutting a mp4 with a second precision

Henk D. Schoneveld belcampo at zonnet.nl
Fri Nov 8 21:31:10 CET 2013


On 08 Nov 2013, at 16:48, Julien Roch <julien.roch at b-stream.com> wrote:

> Hi List,
> 
> I was wondering if it was possible to cut a mp4 video (h264/aac) with ffmpeg using the timecode inside the video and having a second precision (and not gop) without reencoding
> 
> For exemple, if the key frame is at 0h20m00s00f and that i want to cut at 00:20:00:12 . Ffmpeg would use the first keyframe to really start at the 12th frame and not at the keyframe
> 
> I know some systems can do that but i wonder if ffmpeg would be able to do that ?
No the 1st frame of the resulting has to start with a keyframe. Because a non-keyframe partly depends on former frames, If that info isn’t available the resulting frame can’t be displayed correctly.
Henk
> 
> Cheers,
> 
> Julien
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list