From 083d50f223bce9b4fda92d70237c7f71c0b5bee2 Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Tue, 25 Apr 2023 07:54:10 -0400 Subject: [PATCH] AAX converter --- scripts/audio/aax-convert.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/audio/aax-convert.sh diff --git a/scripts/audio/aax-convert.sh b/scripts/audio/aax-convert.sh new file mode 100755 index 0000000..5023e16 --- /dev/null +++ b/scripts/audio/aax-convert.sh @@ -0,0 +1,11 @@ +#! /bin/bash + +# Load user settings from config file. +. ~/.config/settings.conf + +for file in *.aax; do + convertedFile="./${file%%.*}.m4b" + if [ ! -f "$convertedFile" ]; then + ffmpeg -y -activation_bytes ${activation_bytes} -i ./${file} -codec copy $convertedFile + fi +done