4 releases (2 breaking)

0.3.0 Aug 23, 2024
0.2.3 Aug 23, 2024
0.1.1 Jan 10, 2023

#290 in Video

MIT license

4MB
16K SLoC

C 14K SLoC // 0.3% comments JavaScript 1K SLoC // 0.2% comments Objective-C 401 SLoC // 0.2% comments Visual Studio Project 382 SLoC Rust 363 SLoC // 0.0% comments C++ 63 SLoC Visual Studio Solution 40 SLoC

h264bsd-rs

High-level bindings for h264bsd which is a decoder extracted from the Android Project.

It currently supports three possible image output formats through av-data's frames:

  • YUV
  • RGB
  • RGBA

Current quirks (the reasons why it's not <= 1.0 yet):

  • invalid memory reference when I try to free the allocated data of pictures in DPB's buffer so it doesn't free (e.g don't use it if you plan on initializing the decoder many times during one run, otherwise it's not a problem as the OS will free the memory by itself)
  • (to be updated with new quirks that I forgor about 💀)

Dependencies

~2–4.5MB
~100K SLoC