[FFmpeg-devel] [PATCH] Add support for packetizing AMR into RTP
Martin Storsjö
martin
Fri Apr 3 22:04:19 CEST 2009
Hi Luca,
On Fri, 3 Apr 2009, Luca Abeni wrote:
> Can you provide some notes about how to test this code? (which options
> should I use to compile ffmpeg - I assume I need to build with external
> AMR support? -, which parameters can I use for testing, which client -
> is vlc ok? -, etc...).
First you need libamr-nb, available from http://www.penguin.cz/~utx/amr
(or available in the debian-multimedia repositories afaik). Configure
ffmpeg with --enable-libamr-nb --enable-encoder=libamr_nb
--enable-nonfree. Then you can do a test run with e.g.:
./ffmpeg -re -i <source> -vn -acodec libamr_nb -ar 8000 -ab 12200 -ac 1 -f
rtp rtp://localhost:5700
The SDP output can be opened with QuickTime Player - VLC doesn't handle it
out of the box at least (don't know if there's any support to compile in
manually) since the AMR libraries aren't properly redistributable. The
only player actually capable of decoding AMR-WB that I found was
RealPlayer on my Symbian/S60 phone; didn't look too far though.
// Martin
More information about the ffmpeg-devel
mailing list