Page 1 of 1

Decklink to OpenCv, black frames...

PostPosted: Tue May 01, 2018 3:27 pm
by antithing
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.

Re: Decklink to OpenCv, black frames...

PostPosted: Tue May 01, 2018 4:56 pm
by antithing
Ah i have solved this. i had the wrong frame rate set. Ug.

Re: Decklink to OpenCv, black frames...

PostPosted: Wed Jun 27, 2018 5:14 am
by rakshithgb
Can you please provide me the steps you did to run that base projects? I want to do the same for visual studio 2017.

Re: Decklink to OpenCv, black frames...

PostPosted: Tue Jul 10, 2018 3:42 pm
by smim123
Hello antithing,

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

Thanks.