Skip to content

Instantly share code, notes, and snippets.

@davidbarkhuizen
Created December 28, 2020 07:20
Show Gist options
  • Select an option

  • Save davidbarkhuizen/ca5b5941ae6629e1ad4fe407e71d489b to your computer and use it in GitHub Desktop.

Select an option

Save davidbarkhuizen/ca5b5941ae6629e1ad4fe407e71d489b to your computer and use it in GitHub Desktop.
convert m4a to mp3 retaining maximum quality with ffmpeg, libmp3lame

superuser.com

for f in *.m4a; do ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3"; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment