MP3 to AMR

2007-06-22 Thread Kum Gabor
Hello All!

I tried to find the way how to convert MP3 (or WAV) files to AMR (for mobile 
phone), but I can't.
Can somebody help me? (I use Etch)

Regards,

Gabor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: MP3 to AMR

2007-06-22 Thread Andrew J. Barr
Kum Gabor [EMAIL PROTECTED] wrote:

 Hello All!
 
 I tried to find the way how to convert MP3 (or WAV) files to AMR (for
 mobile phone), but I can't.
 Can somebody help me? (I use Etch)

Do you have the debian-multimedia.org repository installed?

 Regards,
 
 Gabor
 
 


-- 
Andrew J. Barr

Woke up in my clothes again this morning,
don't know exactly where I am...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: MP3 to AMR

2007-06-22 Thread Kum Gabor
On Friday 22 June 2007 20:05, Andrew J. Barr wrote:
 Kum Gabor [EMAIL PROTECTED] wrote:
  Hello All!
 
  I tried to find the way how to convert MP3 (or WAV) files to AMR (for
  mobile phone), but I can't.
  Can somebody help me? (I use Etch)

 Do you have the debian-multimedia.org repository installed?

No. Which package I need? And how ro convert!

Special thanks! :-D

G.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: MP3 to AMR

2007-06-22 Thread Andrew J. Barr
Kum Gabor [EMAIL PROTECTED] wrote:
 No. Which package I need? And how ro convert!

1) Add the repository at http://www.debian-multmedia.org/ by adding the
following line to /etc/apt/sources.list as root:

deb http://www.debian-multimedia.org/ etch main

2) Add Christian Marillat's (repository maintainer) digital key by
running the following command as root:

# apt-key advanced --keyserver pgp.mit.edu --recv-key 1F41B907

3) update your repository data:

# apt-get update

4) install ffmpeg command line tool:

# apt-get install ffmpeg

5) convert your file (as your regular user):

$ ffmpeg -i file.mp3 -ar 8000 -ac 1 -ab 7400 file.amr

This is an example only. I have never worked with the .amr format
before, and this is what I had to input for ffmpeg to successfully
convert an .mp3 file. Before that, it errored out a few times, saying
the AMR codec requires mono (-ac 1) and a sample rate of 8000 Hz (-ar
8000), and one of a certain list of bitrates (-ab 7400 (omit that
parameter and read the error message to get the list)). If you need to
tune additional parameters, read the documentation:

$ man ffmpeg

HTH,
Andrew
 Special thanks! :-D
 
 G.
 
 


-- 
Andrew J. Barr

Woke up in my clothes again this morning,
don't know exactly where I am...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]