[FFmpeg-user] How to add amr-nb to FFmpeg

bat guano batguano999 at hotmail.com
Thu Apr 25 19:34:17 CEST 2013

> ffmpeg version 0.11.1
> built on Aug  5 2012 12:44:12 with gcc 4.7.1
> configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx

Your FFmpeg -version shows "--enable-libopencore-amrnb".
So it already has amr-nb included, no need to add it. ;-)

Use commands like this:-
ffmpeg -i file.wav -acodec libopencore_amrnb -ab 12.2k -ac 1 -ar 8k file.amr 		 	   		  

More information about the ffmpeg-user mailing list