20 releases

0.7.1 Feb 12, 2025
0.6.6 Feb 15, 2025
0.5.1 Nov 9, 2023
0.1.0 Jul 16, 2023

#153 in Video

Download history 1/week @ 2024-12-03 18/week @ 2024-12-10 115/week @ 2025-01-28 5/week @ 2025-02-04 1238/week @ 2025-02-11

1,358 downloads per month
Used in vvdecli

BSD-3-Clause-Clear

2MB
39K SLoC

C++ 39K SLoC // 0.2% comments Rust 613 SLoC JavaScript 244 SLoC // 0.0% comments Python 57 SLoC // 0.1% comments

VVdeC-rs

Rust bindings for VVdeC.

Work in progress: the bindings are not stable yet and may change at any time. Stabilization will begin once integration with some framework is working (e.g. GStreamer).

Sub-projects:

  • vvdec-sys: unsafe bindings generated by bindgen
  • vvdec: the safe bindings on top of vvdec-sys
  • vvdecli: CLI application using the safe bindings to decode VVC Annex-B files into YUV4MPEG (Y4M).

Installing the CLI

In order to build, either VVdeC >= 3.0 needs to be installed and be found via pkg-config, or a VVdeC will be compiled while building vvdec-sys, which requires CMake.

Then, the CLI app can be installed with cargo install vvdecli.

If you have FFmpeg installed, you can then test vvdecli and play VVC with

vvdecli -i ./tests/short.vvc | ffplay -

License

This crate is license under the BSD-3-Clause-Clear license, to maintain compatibility with VVdeC's license.

Dependencies

~0.2–3MB
~68K SLoC