23 releases

0.7.1 Feb 12, 2025
0.6.10 Mar 6, 2025
0.5.1 Nov 9, 2023
0.1.0 Jul 16, 2023

#129 in Video

Download history 1/week @ 2024-12-13 120/week @ 2025-01-31 316/week @ 2025-02-07 675/week @ 2025-02-14 140/week @ 2025-02-21 454/week @ 2025-02-28 970/week @ 2025-03-07 548/week @ 2025-03-14 1343/week @ 2025-03-21 957/week @ 2025-03-28

4,020 downloads per month
Used in vvdecli

BSD-3-Clause-Clear

2MB
40K SLoC

C++ 39K SLoC // 0.2% comments Rust 623 SLoC // 0.0% comments 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
~64K SLoC