I had allready installed ffmpeg, had to install also libmp3lame

sudo apt-get install libid3-tools

Now the convert command is simply
ffmpeg -i some_audio_file.m4a -acodec libmp3lame -ac 2 -ab 160k some_audio_file.mp3

Written by Knilluz on 24 September 2012 at 07:56