mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
FilmCraft's `filmcraft-aac` decoder as `craft_audio::aac` behind `aac-decode`, kept over symphonia's: the same quality (about 135 dB SNR against ffmpeg), and it decodes 5.1, which symphonia refuses. HE-AAC decodes as its AAC-LC core, upsampled 2x to the stream's rate. - `TrackDecoder` decodes AAC, including ADTS-framed packets without extradata (MPEG-TS, raw `.aac`). - The native read path takes AAC in MP4 and Matroska and raw ADTS streams (frame sync over the file, with resync after damage). - AAC errors convert into `AudioError`. The AAC module's shared parts (Huffman, MDCT, TNS, ICS) arrive whole as ported; their encoder half is unused until the encoder PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
359 B
Rust
12 lines
359 B
Rust
//! Tests of the codecs ported from FilmCraft, built as one test binary: each file is a module, as
|
|
//! in their original crates.
|
|
// Index loops follow the specifications, as in FilmCraft (which allows this lint workspace-wide).
|
|
#![allow(clippy::needless_range_loop)]
|
|
|
|
use craft_media_testkit as common;
|
|
#[macro_use]
|
|
mod testkit;
|
|
|
|
mod aac;
|
|
mod routing_oracle;
|