[FFmpeg-devel] [PATCH] Enable RGB32 on video4linux2 devices

Luca Abeni lucabe72
Wed Sep 3 22:16:33 CEST 2008


Hi Jean,

Jean Delvare wrote:
> Hi folks,
> 
> I am using ffmpeg to capture video streams from V4L2 devices (and it
> works really well, so first of all I'd like to thank you a lot for the
> excellent software!)

Well, I'm happy to see people using the v4l2 input format without
problems ;-)


> For testing purposes, I need to get ffmpeg to put the devices in RGB32
> or BGR32 pixel format.
[...]
> But I'm a bit skeptical because apparently the code was almost there
> already but commented out. Was there a reason for that?

I do not remember... Probably, I did not know the exact mapping, or I
found some contradictory documentation about this format, and I've not
been able to test it.

Anyway, if you have a v4l2 card supporting V4L2_PIX_FMT_{BGR,RGB}32,
you test the patch, and you confirm that it works, I'll commit it.


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list