Skip to content

js-john/Blackmagic-DeckLink-Opencv

Repository files navigation

Blackmagic-DeckLink-Opencv

This is an example of integrating the BlackMagicDesign SDK(for macOS and Linux) into an Opencv project.
The BlackMagicDesign SDK can be found here: http://www.blackmagicdesign.com/support.
Please ensure that the decklink driver is installed correctly.

macOS:
After extracting the SDK, you should add the "SDK/Mac/include" path into "xcode project > Build Settings > Header Search Paths".
Replace the "DeckLinkAPIDispatch.cpp" file in the project with your own file in "SDK/Mac/include/DeckLinkAPIDispatch.cpp".

linux:
Replace the BMD_SDK path in Makefile with your own SDK path.

Build

macOS:
Open Xcode and click the "Build and Run" button.
Check whether the "CoreFoundation.framework" is in the "xcode project > Build Phases > Link Binary With Librares" list in case of Build Failed.

linux:
cd DectlinkOpencv
make

Run

Select a Compatible display mode or input 'x' to use auto display mode detection (if support).
press "ESC" to exit.

Screenshot

image

Platform

Tested on Macbook Pro 2014 using BlackMagicDesign Ultrastudio Mini Recorder.
OS: macOS Catalina 10.15.
image

Tested on Ubuntu 16.04 using BlackMagicDesign DeckLink Mini Recorder.
OS: Ubuntu 16.04
image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published