how to get the Pixel format information?

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

Maurizio Bianchella

  • Posts: 17
  • Joined: Wed Dec 10, 2014 2:15 pm

how to get the Pixel format information?

PostTue Mar 22, 2016 4:39 pm

Hi guys,
I'm absoluttely a newbie about decklink sdk.
I've used the bmd's card as directshow filters only.
Now I'm trying to move my very first steps with the bmd's api and the first step is to capture an input video signal.
I'm actually using a Decklink SDI 4k card, and the input signal is supplied by a Decklink MiniMonitor.
I'm using a 1080i50 SDI signal.
The first problem is to obtain the Pixel Format param of my incoming signal,in order to call the EnableVideoInput method with the right arguments.
due to the fact that my card supports the automatic detection of a video signal, I've called the EnableVideoInput method and passed some "default" arguments, then I've captured the VideoInputFormatChanged event on my IDeckLinkInputCallback object.
Now, by the IDeckLinkDisplayMode I can obtain a lot of information about the incoming video signal, but I don't know how to get the pixel format.
Can you help me?
Maurizio Bianchella
Italy

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 35 guests