rezin-flac 0.1.0

A high-performance parallel FLAC audio codec
Documentation
  • Coverage
  • 36.62%
    26 out of 71 items documented0 out of 41 items with examples
  • Size
  • Source code size: 91.02 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 826.04 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • isdood

rezin-flac

  • A Rust implementation of the FLAC (Free Lossless Audio Codec) specification.
  • Works with 16bit & 24bit audio. Supports various sample rates.
  • Based on hare-flac

Usage

Build from rezin root:

cargo build --release -p rezin-flac

Test the encoder:

./target/release/flac-enc example.wav output.flac

Test the decoder:

./target/release/flac-dec example.flac output.wav

Run tests:

cargo test -p rezin-flac

Notes

Initial performance metrics are hugely improved from the hare-flac implementation. With 32 workers (9950X CPU) encoding & decoding speeds exceed ffmpeg. Compression rations are equal to hare-flac. This means on average within ~2% of ffmpeg.