Skip to content

Instantly share code, notes, and snippets.

@jxu
Last active January 28, 2020 08:25
Show Gist options
  • Save jxu/545954056b3a372443da44837756d8ec to your computer and use it in GitHub Desktop.
Save jxu/545954056b3a372443da44837756d8ec to your computer and use it in GitHub Desktop.
# audo quality 0-9 https://trac.ffmpeg.org/wiki/Encode/MP3
for f in *.flac; do ffmpeg -i "$f" -c:a libmp3lame -q:a 2 "${f/%flac/mp3}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment