Crate symphonia_adapter_fdk_aac

Crate symphonia_adapter_fdk_aac 

Source
Expand description

§symphonia-adapter-fdk-aac

crates.io docs.rs license CI codecov GitHub repo size Lines of Code

Adapter for using Fraunhofer FDK AAC with Symphonia. FDK AAC is a robust encoder/decoder for the AAC format. Symphonia does have native AAC support, but it doesn’t support the full spec. Most notably, HE-AAC support is currently missing.

§Usage

Ensure Symphonia’s native AAC decoder is not also registered since they will conflict with each other.

use symphonia_core::codecs::CodecRegistry;
use symphonia_adapter_fdk_aac::AacDecoder;

let mut codec_registry = CodecRegistry::new();
codec_registry.register_all::<AacDecoder>();
// register other codecs

// use codec_registry created above instead of symphonia::default::get_codecs();

§License

Original code in this crate is licensed under either the MIT or Apache-2.0 license, at your choice.

FDK AAC is licensed under a bespoke license.

Parts of this crate use modified code from other projects:

  • Code adapted from Symphonia is licensed under MPL-2.0.
  • Code adapted from Redlux is licensed under MIT.

The original licenses have been preserved next to the relevant source files.

Structs§

AacDecoder
Symphonia-compatible wrapper for the FDK AAC decoder.