There are many different formats out there for music and many different players out there, one of the most popular on Windows and MAC OSX is iTunes due to the iPod. The issue that we run into is being able to play the music you paid for on Linux without iTunes or another player. One such way to make the music universally play on anything is to convert it to MP3 format.
This post explains how to convert it using three different methods.
Converting Using FAAD and LAME
If not installed you will need to install faad and lame.
$ sudo yum install faad2 lame
Next let’s convert the m4a file to a wav file, then use lame to create the mp3.
$ faad -o my.wav my.m4a
$ lame -h -b 192 my.wav my.mp3
The -h option of lame requests the production of higher quality output and the -b option results in a bitrate of 192kbps for the resulting mp3
Convert with ffmpeg
Install ffmpeg if it is not installed.
$ sudo yum install ffmpeg $ ffmpeg -i my.m4a -acodec mp3 -ac 2 -ab 192k my.mp3
Convert with SoundConverter
First make let’s install soundconverter and the gstreamer mp3 plugin.
$ sudo yum install soundconverter gstreamer-plugins-ugly
Open Soundconverter and click on Preferences.
Click on the format drop down and select MP3 (.mp3) and click close. Next click on the Add File button and browse to the m4a you want to convert and click open.
If there are more files you want to convert use the Add File button. If you are done then click on convert.
The conversion will show progress until completed.
And there you go! A few ways to convert m4a to MP3.