AMR2MP3
English
HowTo convert Amr files in Mp3
I've decided to provide a translation of this HowTo because I notice that many people from all world went to my site to read this paper.Most of todays cellphones are able to record - through their integrated microphone - short audio files. The file resulting from record is in AMR format; the detailed note of this format is readable here.
I decide to create this mini-HowTo for converting amr files into mp3 format (thanks Acquarionics).
Prerequisites: your Linux Box must have this software installed: sox, lame and 3GPP.
Sox and Lame are installed by default on most linux distro; on the other hand, for installing 3GPP, you can download it from here. This is a packaged version that I've manually modified form the original one, using the instructions I've found at http://xa.bi/mms/
HowTo INSTALL:
unpack 3GPP.tar.gz width
tar xfvz 3GPP.tar.gz
then do
make
Rename decoder and encoder in amr-decoder and amr-encoder
mv decoder amr-decoder
mv encoder amr-encoder
Copy in a dir of your PATH the two files above (amr-decoder and amr-encoder)
cp amr-decoder amr-encoder ~/bin
Download and copy amr2mp3.sh in a dir of your PATH
cp amr2mp3.sh ~/bin
Now you have simply to copy your .amr files in a directory and run amr2mp3.sh script. All files will be decoded!
Lingua italiana
Convertire file AMR in Mp3
Molti degli attuali telefonini danno la possibilità di utilizzare il microfono del cellulare come un microfono ambientale per brevi registrazioni.Il formato utilizzato è spesso l'AMR, di cui si possono leggere le specifiche qui. Utilizzando un'idea di Acquarionics ho creato questa mini guida per convertire i files amr in mp3 utilizzando linux.
È innanzitutto necessario aver installato i seguenti pacchetti: sox, lame e 3GPP.
Mentre i primi due sono installati di default (o quasi) in tutte le distro linux, il pacchetto 3GPP è scaricabile da qui. È un pacchetto che ho io stesso modificato dal pacchetto ufficiale, seguendo le istruzioni reperite su http://xa.bi/mms/.
ISTRUZIONI:
Scompattare il file 3GPP.tar.gz con il comando
tar xfvz 3GPP.tar.gz
dare il comando
make
Modificare il nome dei file decoder ed encoder in amr-decoder e amr-encoder.
mv decoder amr-decoder
mv encoder amr-encoder
copiare in una cartella del vostro PATH i file amr-decoder e amr-encoder
cp amr-decoder amr-encoder ~/bin
copiare il file amr2mp3.sh in una cartella del vostro PATH
cp amr2mp3.sh ~/bin
A questo punto basta semplicemente lanciare lo script amr2mp3.sh in una cartella contente file AMR per convertirli in Mp3!