[FFmpeg-user] Extracting N frames in a video stream
Moritz Barsnick
barsnick at gmx.net
Fri Jul 7 23:33:15 EEST 2017
On Fri, Jul 07, 2017 at 14:16:38 -0400, Vishwanath, Karthik wrote:
> 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
You missed the "-vf" before the "select" filter:
$ ffmpeg -y -v error -i "Input video file.mp4" -vf select='between(n,10,30)' -vsync 0 frame_%03d.png
Moritz
More information about the ffmpeg-user
mailing list