[gst-devel] video/x-raw-yuv, format=(fourcc)HDYC
Edward Hervey
bilboed at gmail.com
Wed Sep 10 18:27:44 CEST 2008
On Wed, 2008-09-10 at 00:11 +0200, Julien Isorce wrote:
>
>
> 2008/9/9 Edward Hervey <bilboed at gmail.com>
>
> > Any plan to support HDYC format in gstreamer ?
>
>
> If you have elements that support that format... you can
> already do
> it now. After all, it's just a matter of creating a caps (like
> "video/x-raw-yuv,format=(fourcc)HDYC").
>
> The *real* problem is having elements that can convert
> (properly)
> from that colourspace/layout to other ones (like the ones used
> by video
> sinks or encoders).
>
> I don't know if anybody's planning that, but that wouldn't
> be the
> only issue with colourspaces in GStreamer (Anyone heard of
> chroma
> placement in subsampled video ?).
>
> It all comes down to having:
> * A proper definition of colourspaces in raw video caps
> * An element that *properly* does that conversion taking
> into account
> the correct conversion coefficients/clamping and chroma
> placement. Oh,
> and preferably with readable code (unlike ffmpegcolorspace).
>
> Ok. I have some basic knowledges but I think I have not the background
> to make a such gst element (colorspace converter).
> It requires to know a lot of video formats in order to start good
> abstractions. And use appropriate libraries (liboil ?)
> For now I can start to add the HDYC to RGB convertion in the
> ffmegcolorspace element. (just to not forget this format ...)
>
> Is there any thing about HDYC in the ffmpeg libs ?
There is one mention of HDYC in the source code (liabvcodec/raw.c) ...
and that's to say it's UYVY422 (sigh). So they don't make a difference
between YUY2, Y422, UYVY and HDYC.
>
>
>
> Patches welcome :)
>
> Edward
>
> Thx
>
> Julien
>
>
>
>
>
> >
> > (We have a Video Capture Device that delivers HDYC 1920*1080
> only)
> >
> > Some docs here: http://www.fourcc.org/yuv.php#HDYC
> >
> > It seems that the difference bettween UYVY and HDYC is just
> the
> > coefficients used in the yuv to rgb conversion.
> > T470 coefficients in UYVY to rgb conversion (SD likes) and
> > BT709 coefficients in HDYC to rgb conversion (HD likes)
> >
> > Sincerely
> >
> > J. I.
> >
>
> >
> -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK &
> win great prizes
> > Grand prize is a trip for two to an Open Source event
> anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK &
> win great prizes
> Grand prize is a trip for two to an Open Source event anywhere
> in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list