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

#134 in Video

Download history 18/week @ 2024-12-08 1/week @ 2024-12-15 95/week @ 2025-01-26 25/week @ 2025-02-02 731/week @ 2025-02-09 277/week @ 2025-02-16 260/week @ 2025-02-23 526/week @ 2025-03-02 1161/week @ 2025-03-09 188/week @ 2025-03-16 1461/week @ 2025-03-23

3,373 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
~65K SLoC