Detecting Decklink devices via Windows Media Foundation

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

Aditya Kadambi

  • Posts: 14
  • Joined: Tue Jun 30, 2015 10:32 am

Detecting Decklink devices via Windows Media Foundation

PostTue Jun 30, 2015 10:37 am

I am working with Windows Media Foundation and BM Intensity Shuttle.

I am trying to detect devices using the media foundation code. I can detect "Blackmagic WDM" but cannot detect Decklink devices.

Is it possible to do so via media foundation? If so how? If not, is Directshow the alternative?
Offline

Aditya Kadambi

  • Posts: 14
  • Joined: Tue Jun 30, 2015 10:32 am

Re: Detecting Decklink devices via Windows Media Foundation

PostWed Jul 01, 2015 10:53 am

Is the only way to enumerate devices and the formats and get raw frames via Decklink API? starting with IDecklinkIterator?
Offline

Aditya Kadambi

  • Posts: 14
  • Joined: Tue Jun 30, 2015 10:32 am

Re: Detecting Decklink devices via Windows Media Foundation

PostTue Jul 14, 2015 10:50 am

The right answer is that it is not possible today.
Offline

Vincent Guigue

  • Posts: 6
  • Joined: Tue May 10, 2016 4:25 pm

Re: Detecting Decklink devices via Windows Media Foundation

PostTue Jan 21, 2020 4:59 pm

Hello !
5 years later, Directshow is starting to get a little bit deprecated...
Can someone, from the BlackMagic team or not, update us about this thread ?
Can Windows Media Foundation be used to work with Decklink devices such as Decklink Studio 2, Decklink Studio 4K, etc... ?

I looked into the samples provided with the latest SDK (currently 11.4.1 as i am writing), and only see DirectShow related samples.

Also, i tried enumerating capture devices with WMF, and only got "BlackMagic WDM" and "BlackMagic WDM 2", no sign of the acquisition cards.


Thanks in advance !
Offline

Cameron Nichols

Blackmagic Design

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

Re: Detecting Decklink devices via Windows Media Foundation

PostWed Jan 22, 2020 12:14 am

Hi Vincent,

The WDM capture filters both allow interfacing to DirectShow and Media Foundation, however these filters only provide a subset of the features available compared to development with the DeckLink API.

Please have a look at the FileCapture sample in the Desktop Video SDK, for demonstration how to implement a video capture pipeline with the DeckLink API. The sample implements the IDeckLinkDiscovery interface to provide callback for detected desktop video products.

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 8 guests