[MPlayer-dev-eng] [PATCH] .3gp files s263 fourcc addition

Richard van der Hoff richardv at mxtelecom.com
Thu Nov 25 16:29:51 CET 2004


compn wrote:
> this patch (or a fascimilie was on google, but for the format id
> instead of fourcc, anyways, apply this for 3gp video support.
> 
> any idea about the audio? i see amr in libavcodec is working now
> and converting 3gp audio with ffmpeg works, so how do you add
> new libavcodec codecs to mplayer? i can see amr_nb and amr_wb
> in /libavcodec/avcodec.h but using these in codecs.conf does not 
> work... (actually i'm testing with an older cvs so it might, my new
> cvs wont let me specify codecs.conf anywhere)
> 
> audiocodec ffamr
>   info "blah"
>   status working
>   format 0x726D6173 ;.3gp files (mov/mp4)
> ;  fourcc samr ;.3gp files
>   dll "amr_nb"
>   driver ffmpeg
>   
>   Cannot find codec 'amr_nb' in libavcodec...

Are you sure you're using a version of libavcodec with amr_nb decoding 
enabled? It's probably worth forcing mencoder to dynamically link with 
the ffmpeg version of libavcodec, rather than its own, with
configure --disable-libavcodec (and check that it finds the dynamic 
version!)

If you've got it working with ffmpeg, you're probably aware of this, but 
you need to explicitly download the amr codec - see libavcodec/amr.c.

The above entry in codecs.conf works for me. You will, however, need my 
patch - see http://bugzilla.mplayerhq.hu/show_bug.cgi?id=145 - else 
you'll get double-rate playback.

Regards,

Richard

-- 
Richard van der Hoff <richardv at mxtelecom.com>
Systems Analyst
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com




More information about the MPlayer-dev-eng mailing list