decklink-debugger icon indicating copy to clipboard operation
decklink-debugger copied to clipboard

Support for SDK version 11.4

Open derchrisuk opened this issue 6 years ago • 5 comments

There have been some changes in the SDK, which prevents it from compiling against it. I have already started a new branch for this: https://github.com/voc/decklink-debugger/tree/sdk_11_4

Here are the main changes preventing compilation:

Changes:

  • Deprecated Interfaces

    • IDeckLinkAttributes
      • Replaced by IDeckLinkProfileAttributes interface
  • Updated Types

    • BMDDeckLinkAttributeID
      • deprecated BMDDeckLinkSupportsDuplexModeConfiguration
        • Support of duplex mode can be determined using IDeckLinkProfileIterator

I was able to fix the deprecated IDeckLinkAttributes, and changed them to IDeckLinkProfileAttributes.

But I'm not able to fix the BMDDeckLinkSupportsDuplexModeConfiguration by using IDeckLinkProfileIterator instead.

The current branch has the DuplexMode check commented out, and it does compile against the latest 11.4 SDK. However I have not checked if it is still working with these changes.

From what I see it looks like that the way DeckLink devices are queried needs to be rewritten using IDeckLinkProfileIterator

derchrisuk avatar Nov 28 '19 13:11 derchrisuk

A similar discussion took place at https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/421 where I used very similar code to implement Duplex Mode. I'll see if I can test the Code in either PR on a Duo2 and some MiniRecorder 3G Cards.

MaZderMind avatar Nov 28 '19 19:11 MaZderMind

That would be great. Had a look at the gstreamer PR, and I believe I understand in theory what needs to be changed, but lack the implementation skills ;)

derchrisuk avatar Nov 29 '19 15:11 derchrisuk

What is the latest supported version of the SDK? It seems 11.3 suffers from the same errors.

v0tti avatar May 19 '20 12:05 v0tti

10.9.5 is the latest we have a package for

derchrisuk avatar May 25 '20 08:05 derchrisuk

@MaZderMind did you already had a chance to look further into this?

derchrisuk avatar Nov 17 '20 22:11 derchrisuk