[Ffmpeg-devel] Re: ffmpeg-devel Digest, Vol 3, Issue 55

Henry Junior henryjunior
Fri Jun 17 15:56:06 CEST 2005


First of all, I appreciate the responses to my initial post concerning
compiling ffmpeg under 10.4 with the goal of installing a command line
util for AMR narrowband conversion.  Currently, QTPro7 doesn't
properly create headers for AMR narrowband files that will play on
many mobile devices.

I followed the request to install the latest CVS build.  I still
wasn't able to get things working and wanted to post exactly what I
did in the hopes someone could help me get this working.

I didn't want to spam the list with all my error codes so a full post
of my steps with responses from the terminal at each step can be found
here:

http://thincvox.com/steps_ffmpeg.txt

What follows are the exact steps I took minus the responses from the
terminal.  Thank you in advance for your help!

(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/archive/26_series/26.204/26204-510.zip
		-unzipped the folder 
		-open the extracted folder and unzipped the included file
(26204-510_ANSI-C_source_code.zip)
		-renamed the folder 26204-510_ANSI-C_source_code Folder to amrwb_float 
		-moved amrwb_float folder to libavcodec folder in ffmpeg
	
	b. downloaded:
http://www.3gpp.org/ftp/Specs/archive/26_series/26.073/26073-510.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 
	
	c. downloaded:
http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.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-fixed --enable-amr_nb --enable-amr_wb
--disable-altivec

(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 -I. $(CFLAGS_$(MODE)) -D$(VAD) -DMMS_IO

(5) make the application

	cmd in terminal:
	make

(6) install:

	cmd in terminal:
	make -k





More information about the ffmpeg-devel mailing list