Hi all,
I have been trying to get the Decklink Quad 2 capture card to stream video footage. The issue I am having sounds very similar to the one above. When I run the OpenCV sample code you have mentioned above, I get the same error:
- Code: Select all
StartDeckLinkCapture
Capture failed: Could not enable video output
I have then modified the program with the mentioned steps (I am using Windows 10 so I did the Windows equivalent for building the code):
- plug your camera in the 1st input (the one next to the ref input)
- plug your screen in the 3rd input
- open BlackMagic Desktop Video Setup and:
-> set DeckLink 8K Pro (1) connector to SDI 1 In or Out
-> set DeckLink 8K Pro (2) connector to SDI 3 In or Out
- update the BuildLinux.sh script to put your OpenCV & DeckLink SDK paths
- update the LiveVideoWithOpenCV.cpp at line 552 to set your camera's video mode (4K, Full HD, etc)
- cd into the project folder
- run ./BuildLinux.sh
- run ./build/LiveVideoWithOpenCV
After I make these changes and use the provided code in the zip file attached above, I get the following error when building:
- Code: Select all
C:\Users\...\DeviceManager.h(80,35): error C3861: 'CreateDeckLinkDiscoveryInstance': identifier not found [C:\Users\...\build\LiveVideoWithOpenCV.vcxproj]
The location pointed to is the following line of code:
- Code: Select all
m_decklinkDiscovery = CreateDeckLinkDiscoveryInstance();
I am not sure what I should be doing here. giorgi3092 are you able to elaborate on what you did at this stage? If you require any additional information I am happy to provide. Thank you for your help!