DoesSupportVideoMode bmdFormat8BitBGRA

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Jonas Geduldig

  • Posts: 34
  • Joined: Tue Jun 17, 2014 7:04 pm

DoesSupportVideoMode bmdFormat8BitBGRA

PostTue Sep 18, 2018 2:30 pm

On a Decklink Duo 2, should DoesSupportVideoMode when called with bmdFormat8BitBGRA return bmdDisplayModeNotSupported?
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 132
  • Joined: Mon Sep 04, 2017 4:05 am

Re: DoesSupportVideoMode bmdFormat8BitBGRA

PostMon Sep 24, 2018 2:21 am

Hi Jonas,

Which display mode are you targeting, and is this for input or output?

On output, bmdFormat8BitBGRA is supported on all display modes excluding 1080p50 and above. On input bmdFormat8BitBGRA is supported on display modes except for NTSC, PAL and 1080p50 and above.

To check display mode/pixel format support for a device, please run the DeviceList sample - the sample uses DoesSupportVideoMode method to check.

Kind Regards
Cameron
Offline

Jonas Geduldig

  • Posts: 34
  • Joined: Tue Jun 17, 2014 7:04 pm

Re: DoesSupportVideoMode bmdFormat8BitBGRA

PostMon Sep 24, 2018 9:36 pm

Hi Cameron,

This is for input. I forgot to mention that.

I ran DeviceList, and bmdFormat8BitBGRA is supported bmdModeHD720p5994 as input. I tried this again in my code and I get the same result as DeviceList -- the BGRA is supported.

However, when I enable input video for BGRA I get blank frames in my VideoInputFrameArrived callback function.

And, when I enable input video for YUV I get good frames in my callback function.

Jonas

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 3 guests