[Libav-user] FFMPEG + WEBCAM + ERROR

Peter Ross pross at xvid.org
Tue May 13 03:35:43 CEST 2014

>> [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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140513/76c8df26/attachment.asc>

More information about the Libav-user mailing list