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