aax-tools/aax-to-m4a

14 lines
246 B
Plaintext
Raw Permalink Normal View History

2023-06-22 07:43:42 +00:00
#!/usr/bin/env sh
set -e
input="$1"
output="$2"
EXT="m4a"
if [ -z "$AAX_ACTIVATION_BYTES" ]; then
echo "set AAX_ACTIVATION_BYTES env var"
exit 1
fi
ffmpeg -activation_bytes "$AAX_ACTIVATION_BYTES" -threads 0 -i "$input" -vn "$output.$EXT"