View previous topic :: View next topic |
Author |
Message |
suredeath Tux's lil' helper
Joined: 15 Aug 2006 Posts: 101 Location: Easterwood, N.Br., The Netherlands
|
Posted: Fri Mar 30, 2007 4:19 pm Post subject: AMR decoding [SOLVED] |
|
|
I have an important recording on my cell phone that needs a little enhancement and noise reduction.
I found a solution using sox, lame and the 3GPP amr codec here: http://www.aquarionics.com/article/name/How_to_convert_AMR_files_to_MP3
So I built the 3gpp [en|de]coder binaries that should take care of decoding the .amr file for me.
Unfortunately it generates a segfault. No further messages. If all else fails I may have to dive into the source or makefile myself, but I'd prefer using a ready-made package
Is there a package in the gentoo ebuilds that has amr-decoding capabilities? I tried several emerge --search'es, to no avail.
my mplayer (I compiled it with about every available codec) doesn't handle the files.
If someone has a working script using gentoo-specific versions of the 'usual' related software (like lame, ffmpeg, sox etc), or a GUI (I prefer cli solutions) I'd be glad to hear from them!
(My final aim is the mp3 format, my first concern is squeezing a wav out of the .amr file. Fwiw, the .amr is 6.5mb, which may or may not be the reason the 3gpp codec crashed on it.)
Last edited by suredeath on Mon Apr 02, 2007 11:23 am; edited 1 time in total |
|
Back to top |
|
|
predatorfreak l33t
Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Sat Mar 31, 2007 5:10 am Post subject: Re: AMR decoding |
|
|
suredeath wrote: | I have an important recording on my cell phone that needs a little enhancement and noise reduction.
I found a solution using sox, lame and the 3GPP amr codec here: http://www.aquarionics.com/article/name/How_to_convert_AMR_files_to_MP3
So I built the 3gpp [en|de]coder binaries that should take care of decoding the .amr file for me.
Unfortunately it generates a segfault. No further messages. If all else fails I may have to dive into the source or makefile myself, but I'd prefer using a ready-made package
Is there a package in the gentoo ebuilds that has amr-decoding capabilities? I tried several emerge --search'es, to no avail.
my mplayer (I compiled it with about every available codec) doesn't handle the files.
If someone has a working script using gentoo-specific versions of the 'usual' related software (like lame, ffmpeg, sox etc), or a GUI (I prefer cli solutions) I'd be glad to hear from them!
(My final aim is the mp3 format, my first concern is squeezing a wav out of the .amr file. Fwiw, the .amr is 6.5mb, which may or may not be the reason the 3gpp codec crashed on it.) |
The mplayer ebuild supports the "amr" USE flag, which enables building with the 3GPP AMR reference decoder, then you could do something like: mplayer audio.amr -ao pcm:file=audio.wav and encode it to whatever you pleased.
I know you mentioned that your mplayer build doesn't handle it, but it SHOULD be able to if the amr USE flag is enabled. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
Back to top |
|
|
suredeath Tux's lil' helper
Joined: 15 Aug 2006 Posts: 101 Location: Easterwood, N.Br., The Netherlands
|
Posted: Mon Apr 02, 2007 2:50 pm Post subject: |
|
|
Still unable to find the amr use flag for my mplayer, I recompiled ffmpeg with that use-flag and got my .wav file quite easily after all. Thanks for your suggestions! (Marked topic as solved) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|