[FFmpeg-devel] HDYC BT509 color space?

Paul B Mahol onemda at gmail.com
Mon Jan 28 19:39:06 CET 2013

On 1/28/13, Roger Pack <rogerdpack2 at gmail.com> wrote:
> Hello, I noticed that in today's ffmpeg,
>  MKTAG('H', 'D', 'Y', 'C') seems to map to AV_PIX_FMT_UYVY422
> I had a question...I believe that HDYC uses the BT709 colorspace
> ("full spectrum"?) which may be non standard, does anybody know if
> AV_PIX_FMT_UYVY422 works for this case?  Do I need to do anything
> special to an HDYC stream to mark its colorspace?
> refs:
> http://mailman.videolan.org/pipermail/vlc-devel/2008-October/051867.html
> http://www.fourcc.org/yuv.php#HDYC

AFAIK one set color_range but BT709 is supposed to be handled by libswscale
by setting colorspace. So AFAIK nothing set it for this tag in lavc.
So I guess you need to handle it manually.

More information about the ffmpeg-devel mailing list