[FFmpeg-user] Extracting N frames in a video stream

Vishwanath, Karthik vishwak at miamioh.edu
Fri Jul 7 21:16:38 EEST 2017


Hi All,

Was trying to use ffmpeg to frames (for e.g. 10-30) into image files.
Followed a discussion I found at
https://video.stackexchange.com/questions/19873/extract-specific-video-frames,
and tried:

ffmpeg -y -v error -i "Input video file.mp4"  select='between(n,10,30)'
-vsync 0 frame_%03d.png

However, this does not run and gives me an error:

[NULL @ 0x3bdfee0] Unable to find a suitable output format for
'select=between(n,10,20)'
select=between(n,10,20): Invalid argument


Can someone please help me with this?

Thanks!

-K


More information about the ffmpeg-user mailing list