Decklink to OpenCv, black frames...

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

antithing

  • Posts: 3
  • Joined: Tue May 01, 2018 2:57 pm
  • Real Name: Ben Sharp

Decklink to OpenCv, black frames...

PostTue May 01, 2018 3:27 pm

I have just received my Decklink Mini Recorder 4k, and am trying to call the frames into opencv for processing.

I am using this project as a base:

https://github.com/motiz88/blackmagic-opencv-test

The code compiles, and runs fine. When I step through, the frame height and width is set received correctly, and the Decklink card is found. But, the frame is a solid black.

The CapturePreview sample works fine, but I am having trouble pulling it apart, as it is all tied into opengl.

Is there a simpler sample I could look at? Has anyone on here managed to get frames from a decklink to opencv?

What can I look at to try to get the frames?
Thank you.
Offline

antithing

  • Posts: 3
  • Joined: Tue May 01, 2018 2:57 pm
  • Real Name: Ben Sharp

Re: Decklink to OpenCv, black frames...

PostTue May 01, 2018 4:56 pm

Ah i have solved this. i had the wrong frame rate set. Ug.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 1 guest