-
Specify frames to be extracted
Dear forum,
I am looking for a way to extract specific frame numbers from a movie, of course using ffmpeg. For the moment, the only thing I have found that is close to what I need is the following:
ffmpeg -i movie.mov -ss 00:00:20 -vframes 33 im%5d.pngWith this command, I’m extracting 33 frames, with the first one starting at 00:20 seconds. However, I would like to specify the starting frame not by time but by frame number. In other words, I want to extract, say from frame #167 to #192 from my movie.
Is there a simple way of doing this ? A virtual beer for the one who finds the answer.
Thanks,
Laurent