28 stable releases

3.3.0 Mar 23, 2024
3.2.0 Aug 7, 2023
3.1.2 Feb 20, 2023
2.1.0 Jan 12, 2023
1.3.0 Nov 29, 2021

#327 in Rust patterns

MIT license

300KB
7K SLoC

Library to read & write Dolby Vision metadata.
Comes as a Rust crate and C compatible library.

See changelog for API changes.

 

Toolchain

The minimum Rust version to use dolby_vision is 1.62.1.

 

libdovi, C-API

Packages

  • Arch Linux: available on the AUR, libdovi or libdovi-git.

 

Building the library

libdovi comes as a C compatible library.
To build and install it you can use cargo-c:

cargo install cargo-c
cargo cinstall --release

Running the C-API example

cd examples
gcc capi_rpu_file.c -ldovi -o capi_example.o
./capi_example.o

Dependencies

~1.3–1.8MB
~39K SLoC