[FFmpeg-devel] HDYC BT509 color space?

Roger Pack rogerdpack2 at gmail.com
Wed Jan 30 18:12:19 CET 2013


On 1/28/13, Roger Pack <rogerdpack2 at gmail.com> wrote:
> On 1/28/13, Paul B Mahol <onemda at gmail.com> wrote:
>> 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.
>
> Ok so the default is "MPEG intensity" (16-239) not JPEG intensity, so
> I should set color_range to AVCOL_RANGE_MPEG when receiving an HDYC
> stream from a blackmagic intensity card?

Appears from manual inspection that the default settings without
specifying the color_range are "ok" apparently, so hopefully we're
good now.
http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=10&t=869&start=30#p3724
Thank you.
-roger-


More information about the ffmpeg-devel mailing list