I've recorded audio in my Android application in its AMR format and I'd like to convert these to something that I can more easily use, such as WAV or MP3.
I've found some online instructions for this, for instance: http://www.aquarionics.com/2004/08/04/how_to_convert_amr_files_to_mp3/
which say to start with the 3GPP reference solutions to convert AMR to WAV, and then use sox and lame from there.
I compiled this code and tried to convert my AMR file, but it seg faults. I think this is because Android's AMR files are wrapped in a 3GP container. There is some code online about how to unwrap the AMR files (http://www.benmccann.com/dev-blog/extracting-amr-audio-from-android-3gp-files/), but I can't seem to get it to work and it seems like a lot of extra trouble just to get the audio from these files.
Does anyone know of a good commandline solution?