[Ffmpeg-devel] OS X 10.4.1 + AMR NB Support (success finally)
Henry Junior
henryjunior
Fri Jun 17 19:00:58 CEST 2005
Thank you very much for your help, I finally got it working. Here's
what I had to do:
(1) downloaded ffmpeg:
cmd in terminal:
cvs -z9 -d:pserver:anonymous at mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
(2) downloaded AMR codecs from 3GP
a. downloaded:
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26073-530.zip
-unzipped the folder
-open the extracted folder and unzipped the included file
(26073-510_ANSI-C_source_code.zip)
-rename the folder 26073-510_ANSI-C_source_code Folder to amr
-moved amr folder to libavcodec folder in ffmpeg
b. downloaded:
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26104-540.zip
-unzipped the folder
-open the extracted folder and unzipped the included file
(26104-510_ANSI_C_source_code.zip)
-rename the folder 26104-510_ANSI_C_source_code Folder to amr_float
-moved amr_float folder to libavcodec folder in ffmpeg
(3) created config.mak and config.h files:
cmd in terminal:
./configure --enable-amr_nb
(4) changed Makefile in AMR in regards to response from results in #4
this is what i changed in libavcodec/amr/makefile:
from:
CFLAGS = -Wall -pedantic-errors -I. $(CFLAGS_$(MODE)) -D$(VAD)
to:
CFLAGS = -Wall -DMMS_IO -I. $(CFLAGS_$(MODE)) -D$(VAD)
(5) make the application
cmd in terminal:
make
(6) install:
cmd in terminal:
make install
(7) test:
/usr/local/bin/ffmpeg -i path/to/file.wav -acodec amr_nb -ar 8000 -ab
23.85 /path/to/newfile.amr
More information about the ffmpeg-devel
mailing list