redlux
AAC decoder for MPEG-4 (MP4, M4A etc) and AAC files. Supports rodio.
Caveats
- It only decodes the first AAC track it finds in an MPEG-4 container.
- Not sure if MPEG files with CRC are supported.
- According to this MultimediaWiki page, 13 bits of the ADTS header is for specifying the frame length, and this number must include the ADTS header itself. For 8 channel audio, I would assume the frame length could be 8192 bytes, and if we add the header bytes on top of that, it would exceed what 13 bits can carry. Is this a potential issue? No idea.
Dev instructions
Get started
Install Rust.
Run tests:
cargo test
Build:
cargo build
Releasing a new version
- Update
CHANGELOG.md
- Bump the version number in
Cargo.toml
- Run
cargo test
- Commit and tag in format
v#.#.#
- Publish on crates.io:
- Login by running
cargo login
and following the instructions - Test publish to ensure there are no errors/warnings
cargo publish --dry-run
- Publish
cargo publish
- Login by running
- Create GitHub release with release notes