[Libav-user] FFMPEG + WEBCAM + ERROR

Tushar Paithankar p.tushar99 at gmail.com
Tue May 13 05:55:10 CEST 2014


No i think issue may be camera output format,  because at the same linux v4l2 other camera USB webcam is working
Fine




Sent from my iPhone

On 13-May-2014, at 7:05 am, Peter Ross <pross at xvid.org> wrote:

>>> [video4linux2,v4l2 @ 0xb155dc0] The V4L2 driver changed the video from 352x288 to 176x144
>>> [video4linux2,v4l2 @ 0xb155dc0] The v4l2 frame is 26058 bytes, but 25344 bytes are expected
> 
> Looks like a buggy V4L driver.
> 
> 176 x 144 (8bit bayer) = 25344 bytes. Thats what FFmpeg expects to recieve, but V4L
> is sending more.
> 
>>> Input #0, video4linux2,v4l2, from '/dev/video0':
>>> Duration: N/A, bitrate: N/A
>>>   Stream #0:0: Video: rawvideo ([186]GB[8] / 0x84247BA), bayer_gbrg8, 176x144, 1000k tbr, 1000k tbn, 1000k tbc
>>> Output #0, avi, to 'out.avi':
> 
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user


More information about the Libav-user mailing list