I have fixed the command as below:
ffmpeg -i apple.mp4 -ss 00:00:4 -vf scale=241:164 apple5.png -y
But I still receive the below warning, the file get created through but I do
not understand the warning.
[image2 @ 0xaf70fc0] Could not get frame filename number 2 from pattern
'apple5.png' (either set updatefirst or use a pattern like %03d within the
filename pattern)av_interleaved_write_frame(): Invalid argument
frame= 2 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.08 bitrate=N/A
video:205kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: unknown
Conversion failed!
On Sunday, May 24, 2015 10:31 PM, Dani A <[email protected]> wrote:
I have fixed the command as below:
On Sunday, May 24, 2015 2:27 PM, Claudiu Rad <[email protected]> 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
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user