Can I get the activation information for each channel?

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

JavaHeaven

  • Posts: 4
  • Joined: Mon Feb 03, 2020 5:41 am
  • Real Name: Park-Taesoon

Can I get the activation information for each channel?

PostTue Feb 18, 2020 1:27 am

Hello

After the Decklink SDK was updated, the pDL information that was previously released by board is now changed by channel.

Do you have information on each channel's activation in the Decklink SDK?

For example:

사진3.png
사진3.png (111.29 KiB) Viewed 911 times


1. We have two 8K PRO boards and one 4K PRO board mounted on the PC.

2. And as shown above, using the BlackMagic Desktop Video Setup program, the connector setting of one 8K Pro board is set to "SDI 1 to 4 In or Out".

3. After checking the Device tab of Media Express program, it is confirmed that only channel 1 is enabled for the 8K Pro board set to “SDI 1 to 4 In or Out”. 2, 3, 4 channels are disabled.

In other words, what we want to do is to check the activation of a specific channel like this.

Is there a way for the Decklink SDK to know the channel's active and inactive information?

I would appreciate your reply
Offline

Cameron Nichols

Blackmagic Design

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

Re: Can I get the activation information for each channel?

PostTue Feb 18, 2020 3:47 am

Hi Park,

The following function can be used to check the active/inactive state of a device:
Code: Select all
bool isDeviceActive(IDeckLink* deckLink)
{
   IDeckLinkProfileAttributes*   deckLinkAttributes;
   int64_t                       intAttribute;

   if (deckLink->QueryInterface(IID_IDeckLinkProfileAttributes, (void**)&deckLinkAttributes) != S_OK)
      return false;

   if (deckLinkAttributes->GetInt(BMDDeckLinkDuplex, &intAttribute) != S_OK)
      intAttribute = bmdDuplexInactive;

   deckLinkAttributes->Release();

   return ((BMDDuplexMode) intAttribute) != bmdDuplexInactive;
}


Regards
Cameron
Offline

JavaHeaven

  • Posts: 4
  • Joined: Mon Feb 03, 2020 5:41 am
  • Real Name: Park-Taesoon

Re: Can I get the activation information for each channel?

PostTue Feb 18, 2020 8:53 am

Thank you

It works perfectly !! : )

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 27 guests