ubuntu:sound:convert_flac_to_mp3
This is an old revision of the document!
Ubuntu - Sound - Convert FLAC to MP3
for f in *.flac; do flac -cd "$f" | lame -b 320 - "${f%.*}".mp3; done
or
for a in ./*.flac; do ffmpeg -i "$a" -qscale:a 0 "${a[@]/%flac/mp3}"; done
ubuntu/sound/convert_flac_to_mp3.1575493356.txt.gz · Last modified: 2020/07/15 09:30 (external edit)