switch from opus to mp3

master
lub 6 years ago
parent fb8c5c1de5
commit 0e9857ca10

@ -16,5 +16,5 @@ find . -type d -exec mkdir -p "$destination/{}" \;
# set +e because ffmpeg errors on .jpg, .txt, etc. # set +e because ffmpeg errors on .jpg, .txt, etc.
# compress with opus # compress with opus
set +e 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 #set -e

Loading…
Cancel
Save