#blackmagic #audio-video #audio #sdi

decklink

Blackmagic Decklink NDI bindings for rust

1 unstable release

0.1.0 Mar 20, 2023

#354 in Video

MIT/Apache

285KB
6.5K SLoC

Rust 4.5K SLoC // 0.0% comments C++ 1.5K SLoC // 0.1% comments C 326 SLoC // 0.1% comments

Rust Decklink

Blackmagic Design Decklink SDK bindings for Rust.
This aims to be an easy to use and safe wrapper around the official C++ SDK. This makes use of a C wrapper as rust does not support using some of the needed C++ directly.

Note: This is very incomplete, but is working. The examples try to follow the official examples as closely as possible

Currently only tested on Linux x64, other platforms will likely need some work. Help on that is appreciated!

Installation

You will need to have the Decklink drivers (>=10.9.12) installed on your machine and a compatible device connected to do much with it.

CMake is also required for cargo to build the C library.

Usage

See the examples for more information.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.6–2.2MB
~51K SLoC