Re: VIDEO_PALETTE_YUV420P to VIDEO_PALETTE_RGB32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 1 Jul 2003, Michel Bardiaux wrote:

>Short answer: yes, but not in V4L. Get ffmpeg (
>http://ffmpeg.sourceforge.net ) and use img_convert.

Another possibilities are ccvt
http://www.smcc.demon.nl/webcam/release.html#ccvt
libHermes (maybe),
And that one new library that Gstreamer CVS version is using,
I don't remember it's name but it didn't have yet official release, just
cvs version...

>But they require knowing one thing: in V4l, what *exactly* is
>VIDEO_PALETTE_RGB32? I never used it much, since YUV420P is *the* format
>when using ffmpeg; from the few notes I took down, seems it is actually
>B-G-R-X in byte order, with X all 8 bits zero. Can someone confirm?

I confirm, although some people might take it as R-G-B-X without anybody
able to prove them wrong (this is actually an undecidable problem ;)

Also I don't think it's always clear what VIDEO_PALETTE_YUV420P, so let me
mention that it is same as M$ fourcc IYUV and I420:
http://www.fourcc.org/fccyuv.htm#IYUV




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux