Actions

Converting 3ga to mp3

From Mike Beane's Blog

Revision as of 14:37, 2 December 2012 by Rabbi Bob (talk | contribs)

I tend to use the Samsung's default Voice Recorder app when recording tunes, however it saves in the .3ga format and is somewhat useless for directly sharing it with others.

Requirements:

  • FFMPEG (Add it to your Windows path for ease of calling the .exe from anywhere

In order to get the file into a usable format I do these steps:

  • Record the sound
  • Share it to my Google Drive
  • Retrieve the file on computer
  • Open a command window, go to the FFMPEG install directory and type the following:
    • ffmpeg.exe -b 256k -i "c:\path\to\3ga\file.3ga" "c:\path\to\savemp3\file.mp3"
  • The mp3 will be in the destination directory.

You can do more with FFMPEG however this gets to me where I can edit the file in Audacity and go from there with it.

Example:

c:\Program Files\Audacity 1.3 Beta (Unicode)\Plug-Ins\FFMPEG>ffmpeg.exe -b 256k
-i "C:\Users\me\Downloads\Voice 002.3ga" "C:\Users\me\Downloads\Voice 002.mp
3"
FFmpeg version git-6b51f23, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --cc=mingw32-gcc-4.2.4.exe --enable-gpl --enable-pthreads --ena
ble-avisynth --enable-libfaac --enable-libspeex --enable-libgsm --enable-libmp3l
ame --disable-ffserver --disable-ffplay --enable-memalign-hack --enable-shared -
-extra-ldflags=-L/local/lib --extra-cflags=-I/local/include -fno-common
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52.10. 0 / 52.10. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Jan  8 2009 12:50:21, gcc: 4.2.4 (TDM-1 for MinGW)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\me\Downloads\Voice 002.3ga':

  Duration: 00:02:22.03, start: 0.000000, bitrate: 128 kb/s
    Stream #0.0(eng): Audio: aac, 44100 Hz, mono, s16
Output #0, mp3, to 'C:\Users\me\Downloads\Voice 002.mp3':
    Stream #0.0(eng): Audio: libmp3lame, 44100 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[libmp3lame @ 0x3cc0f0]lame: output buffer too small (buffer index: 8359, free b
ytes: 281)
size=    1116kB time=142.84 bitrate=  64.0kbits/s
video:0kB audio:1116kB global headers:0kB muxing overhead 0.002800%