| View previous topic :: View next topic |
| Author |
Message |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Thu Jul 27, 2006 1:51 pm Post subject: [SOLVED] amr to mp3, anyone? |
|
|
Hi folks.
Anyone knows a way to convert amr files from a cellphone to mp3?
I've found some ways to convert mp3 to amr, but not the other way...
I believe it must be doable, since ffmpeg can handle amr.. But i must confess i can't find how!
Thanks in advance
edit : changed title to [SOLVED] _________________ Foo.
Last edited by KaZeR on Thu Jul 27, 2006 2:07 pm; edited 1 time in total |
|
| Back to top |
|
 |
KaZeR Apprentice


Joined: 04 Feb 2004 Posts: 261 Location: Au fond, à droite.
|
Posted: Thu Jul 27, 2006 2:06 pm Post subject: |
|
|
Well, it was in fact really easy, just found out
ffmpeg -i file.amr -acodec mp3 file.mp3
I'll dig a bit to optimize it now, cause my source is low bandwith mono. _________________ Foo. |
|
| Back to top |
|
 |
muhsinzubeir l33t


Joined: 29 Sep 2007 Posts: 913 Location: /home/muhsin
|
Posted: Mon Jan 23, 2012 10:48 pm Post subject: |
|
|
I also had to do this, after few googling i ended up with this:
| Code: |
#!/bin/bash
#Where do the final MP3s go?
FINAL=mp3
for file in *.amr; do
FILE=`echo $file | sed -e "s/.amr//"`;
echo -n "$FILE [AMR] -> [$TEMP]"
echo -n " -> [MP3] "
echo $FINAL/$FILE.mp3
ffmpeg -i $file -acodec libmp3lame -ab 160k -ac 2 -ar 44100 $FINAL/$FILE.mp3
done |
Thanks to someone goes with http://www.aquarionics.com/journal/2004/08/04/how_to_convert_amr_files_to_mp3/ even though that did not do the trick for me. _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
| 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
|
|