25

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
  • 723
  • 3
  • 8
  • 12
  • 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 Oct 15 '15 at 16:46

1 Answers1

31

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.

slhck
  • 223,558
  • 70
  • 607
  • 592
John T
  • 163,373
  • 27
  • 341
  • 348
  • 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 Jan 10 '11 at 07:50
  • I had "Unknown encoder 'mp3'". The solution is to change "-acodec mp3" by "-acodec libmp3lame". – Dorian Nov 30 '12 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 '13 at 15:08