[FFmpeg-user] extract all key frames from a video

lovelove googol at wolke7.net
Wed Sep 7 11:01:51 CEST 2011


Hi. I tried to use the new key-frame filter (
http://ffmpeg.org/trac/ffmpeg/ticket/92 Ticket #92 ) , but it doesn't work
for me. What am I doing wrong?

My command is:

*ffmpeg.exe -i inputfile.avi -vf select="eq(pict_type\,PICT_TYPE_I)" -s
400x300 -f image2 outputfile.AVI-%03d.tif*

According to #92 the -vf parameter should select only key frames.

And yes, the output images are key frames. But way too much. After 3
seconds, I already had 378 output images, of which only 3 were unique (the
rest were duplicates). 

What do I have to do to make FFmpeg output only the key frames (without
duplicating them) ?
Thank you.

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/extract-all-key-frames-from-a-video-tp3795626p3795626.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list