[FFmpeg-user] Skip specific number of frames at start of mp4 file

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Aug 27 13:27:50 CEST 2011

On date Saturday 2011-08-27 02:48:29 +0530, Omkiran Sharma encoded:
> Hello all,
> Is there any way to skip a specific number of frames in the start of a mp4
> stream? I know the number of frames I want to skip and am guaranteed that it
> will be a reference picture. But I do not know it in seconds. I guess if a
> stream has different frame rates it would mean I would have to manually
> convert from frames to time offset. Or is there a way on the command line?

You can try with the select filter, for example to skip the first 10 frames:
-vf select="gte(n\, 10)"
ffmpeg-user random tip #20
VHOOK has been removed, check out libavfilter:

More information about the ffmpeg-user mailing list