I had downloaded ffmpeg from this site : http://www.videohelp.com/tools/ffmpeg.
Can someone tell me how to extract keyframes from an flv, mp3 or mp4 video?
I tried this command that I found on the net :
ffmpeg -i Wildlife.wmv Desktop/img_%05d.jpeg
I got the error
could not open file : Desktop/img_%05.
Thank you.
The command you're looking for is:
ffmpeg -i INPUT.FLV -vf "select=key" key_frame_%d.jpg
See the ffmpeg documentation, especially the video filter selection on select
, for more information.