Intensive Pro 4k - Media Foundation - MF_E_INVALIDMEDIATYPE

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

Stijn De Pauw

  • Posts: 1
  • Joined: Fri Aug 13, 2021 1:54 pm
  • Real Name: Stijn De Pauw

Intensive Pro 4k - Media Foundation - MF_E_INVALIDMEDIATYPE

PostFri Aug 13, 2021 2:08 pm

I am writing an application for previewing, capturing and snapshotting camera input. To this end I am using Media Foundation for the input. One of the requirements is that this works with a Black Magic Intensive Pro 4K capture card.

Using Media Foundation, I can retrieve an IMFActivate COM object, but activating the object results in an error, MF_E_INVALIDMEDIATYPE. I would prefer to record from the card without using an extra API, but as a last resort I will write a custom media source using the Decklink SDK and detecting when a device is a Decklink.

My questions:
[*] Is this faulty, or intended behaviour?
[*] In case this is intended, is using the Decklink SDK my only option? (I do no longer want to use DirectShow.)
[*] In case this is faulty, can I fix it myself, or should I file a bug report and wait?

I posted my original question (related to this) at
https://stackoverflow.com/questions/687 ... or-profile
. Roman tested this scenario too and had similar results, consequently I am here.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 9 guests