Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: MP3 to AMR

From: Andrew J. Barr <andrew.james.barr(at)gmail.com>
Date: Fri Jun 22 2007 - 15:04:23 EDT


Kum Gabor <kumgabor@kumgabor.hu> 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

Do you need help?X

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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Jun 22 15:05:24 2007

This archive was generated by hypermail 2.1.8 : Fri Jun 22 2007 - 15:10:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library