#!/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"