How to convert 3gp audio file to mp3?

24

9

I have a 3gp audio file recorded with my Android cellphone.

I would like to convert it to mp3, preferably on Linux, but Windows also an option.

Any recommendations?

daphshez

Posted 2011-01-08T08:13:12.627

Reputation: 693

Whereas the accepted response is fine for a command-line solution, one could alternatively just use the simple and UI-based Gnome Sound Converter tool (http://soundconverter.org).

– Jose Gómez – 2015-10-15T16:46:55.950

Answers

28

Try ffmpeg:

ffmpeg -i in.3gp -c:a libmp3lame output.mp3

See also: Encoding VBR (Variable Bit Rate) mp3 audio

If you are on Ubuntu, you can install avconv instead of ffmpeg, since Ubuntu ships an outdated version of the latter.

John T

Posted 2011-01-08T08:13:12.627

Reputation: 149 037

Thanks. I ended up using ffmpeg (well, winff). But the codecs were missing so I needed the instructions here http://ubuntuforums.org/showthread.php?t=1117283.

– daphshez – 2011-01-10T07:50:08.487

I had "Unknown encoder 'mp3'". The solution is to change "-acodec mp3" by "-acodec libmp3lame". – Dorian – 2012-11-30T14:28:20.403

2If you get:

*** THIS PROGRAM IS DEPRECATED *** This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

Then use: avconv -i in.3gp -acodec mp3 -ar 22050 -f wav out.mp3 – shakaran – 2013-04-22T15:08:49.547