Decklink - Unique Hardware-ID

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

Steffen Pätzold

  • Posts: 22
  • Joined: Mon Mar 30, 2015 10:35 am
  • Location: Leipzig, Germany

Decklink - Unique Hardware-ID

PostMon Mar 30, 2015 10:38 am

Is it possible to query a unique hardware ID from a decklink device?
Offline

Matt Jefferson

Blackmagic Design

  • Posts: 130
  • Joined: Fri Aug 31, 2012 12:50 am

Re: Decklink - Unique Hardware-ID

PostWed Apr 01, 2015 11:01 pm

Yes. Developers can get different id information from the Decklink device based the type of device using the cross platform SDK from Blackmagic Design to query the board or thunderbolt device.

If you are using the modern and updated Decklink or Ultrastudio with 4K in the name like SDI 4K, then you can use the SDK function -
- BMDDeckLinkPersistentID
- Whether the device has a specific 32 bit unique identifier
It comes from the processor on the cards and you would use the SDK to query the device for the number.

If you are using older cards like original Decklink Duo and Quad or end of life products like Decklink SDI and Studio2 then you have ability to use which maintains an identifier which continues after system reboot. But this is not the same as 32bit unique above.
BMDDeckLinkTopologicalID
- On supported devices, an identifier which persists across reboots

Niether of these functions are provided with the intention of using the functions to license software to the board nor does Blackmagic Design warranty these functions for any licensing functions.
Offline

Steffen Pätzold

  • Posts: 22
  • Joined: Mon Mar 30, 2015 10:35 am
  • Location: Leipzig, Germany

Re: Decklink - Unique Hardware-ID

PostThu Apr 02, 2015 4:36 am

Thanks, thats what i was looking for...
Offline

Bruno Marques

  • Posts: 1
  • Joined: Mon May 04, 2015 5:21 pm

Re: Decklink - Unique Hardware-ID

PostMon May 04, 2015 5:29 pm

I am trying to get a unique ID to distinguish 2 black magic intensity shuttle (thunderbolt), and tried as mentioned in this post to get the persistent ID. Here's the piece of code:

Code: Select all
void BlackMagicCamera::initializeCamera(IDeckLink* deckLink, int camIdx)
{
  HRESULT result;
  if (deckLink->QueryInterface(IID_IDeckLinkInput, reinterpret_cast<void**>(&m_deckLinkInput)) != S_OK)
  { std::cout << "Could not retrieve input interface" << std::endl; }
  IDeckLinkAPIInformation* deckLinkInfo;
  if (deckLink->QueryInterface(IID_IDeckLinkAPIInformation, reinterpret_cast<void**>(&deckLinkInfo)) != S_OK)
  {    std::cout << "Could not find information interface" << std::endl; }

  int64_t id = 0;
  if (deckLinkInfo->GetInt(BMDDeckLinkPersistentID, &id) != S_OK)
  {
    std::cout << "Could not find uuid for decklink device...\n" << std::endl;
  }
...


Though I can't get the information interface from the IDeckLink interface.
I also tried to retrieve it from the IDeckLinkInput interface, but again with no success.
Where am I supposed to get this uuid from?

Regards,
bmarques
Offline
User avatar

Roman Ryltsov

  • Posts: 26
  • Joined: Sun May 12, 2013 6:52 pm
  • Location: Gliwice, Poland

Re: Decklink - Unique Hardware-ID

PostTue May 05, 2015 9:48 pm

BMDDeckLinkPersistentID is available with some devices, but not with other.

From this list DeckLinkCapabilities/Data it is only available with DeckLink Studio 4K and Intensity Pro 4K.
Offline

Bertrand Drouhard

  • Posts: 9
  • Joined: Sat Jun 20, 2015 7:11 pm

Re: Decklink - Unique Hardware-ID

PostMon Jul 27, 2015 10:00 am

I confirm BMDDeckLinkPersistentID works on my UltraStudio 4K, but is not available on the UltraStudio Pro...

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 76 guests