[FFmpeg-user] ffmpeg input output error---proper format for codec_id 0, pix_fmt -1

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 11 09:15:26 CET 2013

maujhsn <103730258b <at> gmail.com> writes:

> $ ffmpeg -f alsa -ac 2 -i hw:0 -f video4linux2 
> -i /dev/video0 /tmp/out2.mpg

Please post the output of the following command here:
$ ffmpeg -list_formats 1 -f v4l2 -i /dev/video0

Carl Eugen

More information about the ffmpeg-user mailing list