Skip to content

Instantly share code, notes, and snippets.

@samuelwilliams
Last active December 21, 2015 03:58
Show Gist options
  • Save samuelwilliams/6245849 to your computer and use it in GitHub Desktop.
Save samuelwilliams/6245849 to your computer and use it in GitHub Desktop.
sh$ ffmpeg -i file.flac -b:a 256k file.mp3
sh$ for f in *.flac;do ffmpeg -i $f -b:a 256k $f.mp3;done
sh$ for f in *.m4a; do ffmpeg -i "$f" -acodec libmp3lame -ab 256k "${f%.m4a}.mp3"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment