Page 1 of 1

what specific pixel format conversions are supported?

PostPosted: Fri Sep 04, 2020 6:41 pm
by Andres Gonzalez
Hi,
I notice that in section 2.4.14 (pg. 32 in the December 2019 version) of the Software Developers Kit documentation, says that the SDK supports SIMD accelerated conversion operations for converting the pixel formats in IDeckLinkVideoFrame objects.

Which specific conversions are available?
Specifically, is conversion from YUV 4:2:0 to the Blackmagic supported 2vuy or v210 available?

The most common Y4M files are usually in a 4:2:0 YUV format, either with biaxially-displaced chroma planes or coincident chroma planes. So I am trying to determine if I have to use my own conversion routines just to output a typical Y4M video file.

Thanks,
-Andres

Re: what specific pixel format conversions are supported?

PostPosted: Mon Sep 07, 2020 10:17 pm
by Cameron Nichols
Hi Andres,

The list of supported pixel formats is listed in the DeckLink SDK Manual, section 3.4. The IDeckLinkVideoConversion interface does not support 4:2:0 pixel formats.

You will need to implement conversion or use an external package (eg FFmpeg/libswscale, Media Foundation transforms, etc) to convert form 4:2:0 to one of the pixel formats supported by DeckLinkAPI.

Regards
Cameron

Re: what specific pixel format conversions are supported?

PostPosted: Mon Sep 07, 2020 10:43 pm
by Andres Gonzalez
Hi Cameron, thanks for your reply.

I was just studying the API doc and noticed in section 3.23 it lists all of the BMDVideoOutputConversionModes. For some reason when I read in section 2.4.14 that the API supported SIMD accelerated conversions for converting "pixel format" I interpreted that to imply pixel color formats. But now I see that the BMDVideoOutputConversionModes are for Letterbox/Anamorphic/Pillarbox type of conversions and not pixel color format conversions.

Thanks again for your support.
-Andres