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: 8
  • 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: 8
  • 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.
Offline

rakshithgb

  • Posts: 4
  • Joined: Wed Jun 27, 2018 4:53 am
  • Real Name: Rakshith Balaji

Re: Decklink to OpenCv, black frames...

PostWed Jun 27, 2018 5:14 am

Can you please provide me the steps you did to run that base projects? I want to do the same for visual studio 2017.
Offline

smim123

  • Posts: 6
  • Joined: Thu Jun 07, 2018 6:34 pm
  • Real Name: Sirajum Mim

Re: Decklink to OpenCv, black frames...

PostTue Jul 10, 2018 3:42 pm

Hello antithing,

can u please share your steps how you did it. I am trying the same without any success.

Thanks.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 8 guests