Results 1 to 6 of 6

Thread: need converter from .ogg or .wav to .amr

  1. #1
    Join Date
    Mar 2006
    Location
    Rohnert Park, CA
    Beans
    62
    Distro
    Ubuntu Breezy 5.10

    need converter from .ogg or .wav to .amr

    Can anyone recommend a sound converter that can take a .ogg or a .wav file and convert it to .amr?

    We are programming for a Nokia phone and we need to record some .amr files. I've got my microphone working, but the recording software only saves in ogg and wav.

    cheers!

  2. #2
    Join Date
    Feb 2010
    Location
    Skopje,Macedonia
    Beans
    220
    Distro
    Ubuntu Development Release

    Re: need converter from .ogg or .wav to .amr

    sorry wrong link...
    Last edited by grobar87; August 18th, 2010 at 05:57 PM.
    It is a good viewpoint to see the world as a dream. When you have something like a nightmare, you will wake up and tell yourself that it was only a dream...

  3. #3
    Join Date
    Nov 2008
    Location
    São Paulo - Brasil
    Beans
    39
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: need converter from .ogg or .wav to .amr

    This may do it: a GUI frontend to ffmpeg - http://winff.org/

    It's in the repos:
    Code:
    sudo apt-get install winff

  4. #4
    Join Date
    Mar 2006
    Location
    Rohnert Park, CA
    Beans
    62
    Distro
    Ubuntu Breezy 5.10

    Re: need converter from .ogg or .wav to .amr

    Oh, I answered my own question. There is a good program called: Mobile Media Converter from Miksoft. They have a Ubuntu/DEB package.

  5. #5
    Join Date
    Dec 2006
    Beans
    7,349

    Re: need converter from .ogg or .wav to .amr

    Hi Spearfish,

    If you wanted to use FFmpeg directly have a look at this guide:

    HOWTO: Install and use the latest FFmpeg and x264
    http://ubuntuforums.org/showthread.php?t=786095

    and then you can easily convert your files with syntax similar to the following:

    Code:
    ffmpeg -i input.wav -acodec libopencore_amrnb \
            -ac 1 -ar 8000 -r 25 -ab 12200 output.3gp
    I double checked this with a test file and it ran nicely:

    Code:
    andrew@skamandros~/Desktop$ ffmpeg -i input.wav -acodec libopencore_amrnb \
    >         -ac 1 -ar 8000 -r 25 -ab 12200 output.3gp
    FFmpeg version SVN-r24802, Copyright (c) 2000-2010 the FFmpeg developers
      built on Aug 17 2010 21:16:31 with gcc 4.4.4
      configuration: --prefix=/usr --mandir=/usr/man --enable-postproc 
    --enable-avfilter --enable-pthreads --enable-shared --disable-static 
    --disable-ffserver --enable-libtheora --enable-libvorbis --enable-x11grab 
    --enable-libmp3lame --enable-libx264 --enable-libfaac 
    --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 
    --enable-zlib --enable-libvpx --enable-libgsm --enable-nonfree 
    --enable-gpl
      libavutil     50.23. 0 / 50.23. 0
      libavcore      0. 4. 0 /  0. 4. 0
      libavcodec    52.85. 1 / 52.85. 1
      libavformat   52.78. 3 / 52.78. 3
      libavdevice   52. 2. 1 / 52. 2. 1
      libavfilter    1.34. 1 /  1.34. 1
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    [wav @ 0x807b470] max_analyze_duration reached
    [wav @ 0x807b470] Estimating duration from bitrate, this may be inaccurate
    Input #0, wav, from 'input.wav':
      Duration: 00:06:05.24, bitrate: 1411 kb/s
        Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Output #0, 3gp, to 'output.3gp':
      Metadata:
        encoder         : Lavf52.78.3
        Stream #0.0: Audio: libopencore_amrnb, 8000 Hz, 1 channels, s16, 12 kb/s
    Stream mapping:
      Stream #0.0 -> #0.0
    Press [q] to stop encoding
    size=     643kB time=365.26 bitrate=  14.4kbits/s    
    video:0kB audio:571kB global headers:0kB muxing overhead 12.597533%
    Andrew
    You think that's air you're breathing now?

  6. #6
    Join Date
    Aug 2010
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: need converter from .ogg or .wav to .amr

    From what I remember Audacity can perform the function you are looking for. It's available on Windows, and in Ubuntu's Software Center. Open the .ogg file and then choose to export it as a .wav. I know it worked for me on Windows, but I only recently tried out Ubuntu so I'm still learning,

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •