Saturday, December 26, 2020

ffmpeg aac -> mp3 conversion

It seems that it isn't easy to handle aac/m4a files in sox anymore. Online help threads suggest using ffmpeg to convert it to mp3 instead:

 ffmpeg -i input.m4a -c:a libmp3lame -q:a 8 output.mp3

Reference link: https://askubuntu.com/questions/1200430/how-to-convert-m4a-audio-files-to-mp3-use-command-line

This, after having installed lame, naturally. This I did via homebrew:

brew install lame

And homebrew itself, I installed via a ruby command:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

http://macappstore.org/lame/

All this on a Mac OS X 10.15.7

No comments:

Post a Comment