[FFmpeg-devel] FFMPEG video4linux2: is read() still supported?

frank at frankvh.com frank
Tue Mar 11 16:47:22 CET 2008

> -------- Original Message --------
> Subject: Re: [FFmpeg-devel] FFMPEG video4linux2: is read() still
> supported?
> From: Trent Piepho <xyzzy at speakeasy.org>
> Date: Mon, March 10, 2008 9:46 pm
> To: FFmpeg development discussions and patches
> <ffmpeg-devel at mplayerhq.hu>
> On Mon, 10 Mar 2008 frank at frankvh.com wrote:
> > I have seen with ffmpeg and a v4l (video4linux 1) driver, that even if I
> > specify rgb24 on
> > the ffmpeg command line, and even if the v4l driver only supports rgb24,
> > ffmpeg actually uses
> > bgr24. Looking in v4l.c I see this:
> I think what's going on is that V4L1 is somewhat dumb in the way it names
> formats.  Both typically use BGR24, as that's what video cards use in their
> framebuffer layout, but V4L1 uses the wrong name.  V4L1 is somewhat
> vague on the issue of color order and endianess, while the V4L2 spec
> is explict on what is little-endian vs big-endian and BGR24 vs RGB24.

That's helpful - thanks very much.

> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list