edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiB9b67700Tahinli3 days ago4021 commits
| 1 | #!/usr/bin/env bash |
| 2 | # NOTE: the FDK library is taken from the Fedora fdk-aac RPM (dnf download fdk-aac.x86_64, |
| 3 | # then rpm2cpio | cpio -idm into a scratch dir); it is not installed system-wide and no root is needed. |
| 4 | # Deterministic HE-AAC v2 (Parametric Stereo) fixtures for crates/ec-aac/tests/it/ps_oracle.rs. |
| 5 | # libfdk_aac in the system ffmpeg has SBR/PS encoding compiled out; the full fdk-aac |
| 6 | # library (RPM Fusion / Fedora fdk-aac package, extracted locally, no root) carries it. |
| 7 | # Usage: scripts/aac-tables/make-ps-fixtures.sh <fdk-lib-dir> <out-dir> |
| 8 | |
| 9 | LIBDIR=; OUT=; |
| 10 | |
| 11 | FF="ffmpeg -v error -y -hide_banner" |
| 12 | for; do |
| 13 | # Sine pair: distinct tones per channel (strong, simple PS content). |
| 14 | |
| 15 | |
| 16 | |
| 17 | # Music-like: pink noise plus a chirp, mixed with a different gain per channel. |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | done |