-
extracting key frames with ffmpeg
Hi to everyone, I’m trying to work with ffmpeg to extract the key frames from a video, and in the documentation it is suggest to use:
ffmpeg -i video.avi -vf select='gt(scene\,0.4)',scale=160:120,tile -frames:v 1 preview.pngor in case that you want to get just the I-frame, the next line:
select='eq(pict_type\,I)'I have tried with both and others, but it doesn’t work a lot, I want to ask if there is someone that knows how to extract the key frames of a video with ffmpeg, or someone who can explain me how to use it.
Thanks