[vlc-devel] Re: [Fwd: YUY2 support in V4L]

Mario Rossi mariofutire at googlemail.com
Thu Nov 30 20:12:02 CET 2006


> > 2) in the table v4lchroma_to_fourcc I think the pair
> > VIDEO_PALETTE_YUV422 <-> I422
> > should be
> > VIDEO_PALETTE_YUV422 <-> YUY2
> Yes I agree with this.
> I sent a patch for this a while ago with no response.
> http://www.via.ecp.fr/via/ml/vlc-devel/2006-10/msg00098.html

Indeed, i was just collecting all suggestions for v4l.c in one patch.

> >
> > 3) in the same table the fourcc associated to VIDEO_PALETTE_YUYV
> > (fourcc YUYV)
> > VIDEO_PALETTE_YUYV <-> YUYV
> > is apparently unknown to VLC (vout_initPicture does not know anything
> > about it) ending in the error "unsupported chroma". but it seems it is
> > equivalent to YUY2.
> > So I thought to change it to
> > VIDEO_PALETTE_YUYV <-> YUY2.
> > instead of adding support for YUYV everywhere.
> Not sure about that. Won't that affect other apps?

according to Mauro

https://www.redhat.com/mailman/private/video4linux-list/2006-November/msg00721.html

VIDEO_PALETTE_YUV422 and VIDEO_PALETTE_YUYV are just the same, so I
think they should have the same fourcc.

This 3rd change only affects which fourcc is associated in VLC to the
input stream handled by the module v4l. It does not affect anything
else.

If VIDEO_PALETTE_YUV422 and VIDEO_PALETTE_YUYV are both associated to
YUY2, it means that when the user asks for v4l-chroma = YUY2:
VIDEO_PALETTE_YUV422 is selected since it comes first. And it is not
possible any more to ask for YUYV (which btw does not work).

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list