From 0e9857ca10d349590640924cad78e64506136916 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 10 Nov 2018 18:10:43 +0100 Subject: [PATCH] switch from opus to mp3 --- compress-music.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compress-music.sh b/compress-music.sh index 3e6aa3f..bfc872e 100755 --- a/compress-music.sh +++ b/compress-music.sh @@ -16,5 +16,5 @@ find . -type d -exec mkdir -p "$destination/{}" \; # set +e because ffmpeg errors on .jpg, .txt, etc. # compress with opus set +e -find . -type f -not -name '*.opus' | parallel --eta --progress 'ffmpeg -v 0 -n -i ""{}"" -c:a libopus -map_metadata 0 -b:a 128k ""$destination/{.}.opus""' +find . -type f -not -name '*.opus' | parallel --eta --progress 'ffmpeg -v 0 -n -i ""{}"" -c:a mp3 -b:a 320 -map_metadata 0 ""$destination/{.}.mp3""' #set -e