26

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?

1
  • 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 (soundconverter.org). Oct 15, 2015 at 16:46

1 Answer 1

32

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.

3
  • Thanks. I ended up using ffmpeg (well, winff). But the codecs were missing so I needed the instructions here ubuntuforums.org/showthread.php?t=1117283.
    – daphshez
    Jan 10, 2011 at 7:50
  • I had "Unknown encoder 'mp3'". The solution is to change "-acodec mp3" by "-acodec libmp3lame".
    – Dorian
    Nov 30, 2012 at 14:28
  • 2
    If 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
    Apr 22, 2013 at 15:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .