[FFmpeg-user] Capturing a frame from video and resizing it...issue.
Dani A
danix4u at yahoo.com
Mon May 25 04:31:33 CEST 2015
I have fixed the command as below:
On Sunday, May 24, 2015 2:27 PM, Claudiu Rad <jazzman at misalpina.net> wrote:
On 5/24/2015 8:40 PM, Dani A wrote:
> I am using the below and it is not working:
> ffmpeg -i apple.mp4 -ss 00:00:4 -vframes 1 scale=241:164 apple2.png
>
> Error:
> [NULL @ 0xc217720] Unable to find a suitable output format for 'scale=320:240'
> scale=320:240: Invalid argument
>
you definitely have an incorrect command line syntax. the scaling
details should be preceded by the -vf switch (as this is a video
filter), otherwise ffmpeg would consider that argument as the output file.
the error message really gave you the hint to the problem.
ffmpeg -i apple.mp4 -ss 00:00:4 -vframes 1 *-vf* scale=241:164 apple2.png
--
Claudiu
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list