https://github.com/raleighlittles/blackmagic_decklink_api_examples
[WIP] Simple example of how to use basic BlackMagic Decklink API with CMake and modern C++
https://github.com/raleighlittles/blackmagic_decklink_api_examples
blackmagic blackmagic-decklink decklink decklink-api
Last synced: 2 months ago
JSON representation
[WIP] Simple example of how to use basic BlackMagic Decklink API with CMake and modern C++
- Host: GitHub
- URL: https://github.com/raleighlittles/blackmagic_decklink_api_examples
- Owner: raleighlittles
- Created: 2025-01-26T04:58:41.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-12T03:06:17.000Z (3 months ago)
- Last Synced: 2025-03-09T13:49:06.129Z (2 months ago)
- Topics: blackmagic, blackmagic-decklink, decklink, decklink-api
- Language: C++
- Homepage:
- Size: 2.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
This repository contains an example of how to build an application that uses the Blackmagic Decklink SDK.
https://www.blackmagicdesign.com/developer/products/capture-and-playback/sdk-and-software
The code builds a simple binary that lets you view basic status information about your Decklink - written for PCIe devices.
It uses CMake to build (the example code provided by Blackmagic uses only Makefiles), and modern C++ features.
Here's what you'll get when you run it:
```
DeckLink Mini Recorder 4K
API version: 14.4
Device Temperature: 60 °C
PCIe info: 2 Gb/s (4 lanes)
Could not get video display mode. Are you sure a video input is connected?
Device ID: 559022103
```# Usage/Build
```bash
$ cmake -S . -B build
$ cmake --build build
```Then run the executable:
```bash
$ ./decklinkInfo
```# Roadmap
- [ ] Add cross-compilation support to be able to build Windows executables on Linux