Skip to content

WMAEncodeRS v0.5.0

Latest

Choose a tag to compare

@MSIVST MSIVST released this 25 Jun 05:09

First public release of WMAEncodeRS — a command-line Windows Media Audio (and xWMA) encoder/decoder, in Rust, using the built-in Windows Media runtime (wmvcore.dll). A modern, hardened Rust port of lvqcl's WMAEncode that also natively reimplements both directions of Microsoft's xWMAEncode.

Features

  • Encode WAV / raw PCM → .wma (WMA Standard / Professional / Lossless / Voice) in CBR / VBR / two-pass modes, with tagging.
  • xWMA (.xwma, RIFF/XWMA for XAudio2) encode with an accurate dpds seek table.
  • Bidirectional: decode .wma → WAV and .xwma → WAV.
  • stdin input, stdout piping (Foobar2000-friendly), --verbose, --longhelp.
  • DRM-free output; uses the same Microsoft encoder Windows itself uses.

Quality

  • Memory-safe: #![deny(unsafe_code)]; all unsafe confined to the audited COM/FFI modules.
  • Parsers fuzzed with cargo-fuzz (two WAV-parser robustness bugs found & fixed, regression-tested).

Download

WMAEncodeRS.exe — x86-64 Windows. Requires the Windows Media runtime (present on standard Windows 10/11; not on N/KN editions without the Media Feature Pack).

MIT licensed. Original WMAEncode © 2011 lvqcl.