Decklink & AVFoundation compatibility

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

legado

  • Posts: 1
  • Joined: Mon Feb 10, 2020 2:53 pm
  • Real Name: David Cross

Decklink & AVFoundation compatibility

PostMon Feb 10, 2020 2:57 pm

We're currently using AVCapture and several Elgato CamLinks to capture incoming 4K HDMI streams on a Mac Mini. Later this month we will be upgrading to Mac Pro and are looking into the Decklink Quad HDMI.

Is it likely this will plug and play with our current code or will we have to use some proprietary Blackmagic API? Will the Decklink show up as an AVCaptureDevice?

Thanks,

David
Offline

LukaszLazarecki

  • Posts: 7
  • Joined: Mon Feb 10, 2020 10:28 am
  • Real Name: Lukasz Lazarecki

Re: Decklink & AVFoundation compatibility

PostTue Feb 11, 2020 3:40 pm

I does't show up as AVCaptureDevice when using ffmpeg, so I doubt it registers like that in the system.
Offline

Brendan Dower

Blackmagic Design

  • Posts: 66
  • Joined: Thu Oct 10, 2019 5:56 am
  • Real Name: Brendan Dower

Re: Decklink & AVFoundation compatibility

PostWed Feb 12, 2020 6:57 am

Hi David,

In order to use the capture and playback functionality of our DeckLink devices, you will need to use Blackmagic's API. Access to this functionality is available through our free Desktop Video SDK.
Documentation and sample applications to get you started can be found in the SDK Download.

The API handles the RAW capture and playback of video frames through the card itself.
However, Apple's AVFoundation framework is used for our Mac OS X samples to provide file capture/playback functionality. You may find that much of your AVFoundation is still functional with our SDK.

Depending on what you're trying to achieve, I would recommend taking a look at the File Capture or CapturePreview sample applications.

You can download our SDK at our Developer Website: https://www.blackmagicdesign.com/au/dev ... d-playback
Brendan Dower
Blackmagic Design Developer Support

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 10 guests