Skip to content

Instantly share code, notes, and snippets.

@silverprize
Created March 1, 2020 15:10
Show Gist options
  • Save silverprize/6d7213b7ebfebc53d6deaec44262086d to your computer and use it in GitHub Desktop.
Save silverprize/6d7213b7ebfebc53d6deaec44262086d to your computer and use it in GitHub Desktop.
m4a to mp3 with ffmpeg
# convert all m4a to mp3 in directory
# mp3 256k bitrate
for f in *.m4a; do name=`basename ${f} .m4a`; ffmpeg -i ${f} -acodec libmp3lame -ab 256k ${name}.mp3; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment