[FFmpeg-user] How to extract keyframes from a video with the original frame ids
Dave Lloyd
dave at chaos.org.uk
Fri Jul 17 01:34:07 CEST 2015
Hi all,
I would like to do something like:
ffmpeg -i <video> -vf "select=eq(pict_type\,I)" -vsync vfr frame-%04d.jpg
except that I would like the frame numbers to preserve the original
frame ids, e.g.,
frame0000.jpg
frame0005.jpg
frame0011.jpg
...etc
Is there a convenient way to do this with the existing command line?
If not, is there an easy hack I can make & rebuild from source?
Many thanks,
Dave Lloyd
More information about the ffmpeg-user
mailing list