[MPlayer-dev-eng] [PATCH] audio rate for 3gp files

Richard van der Hoff richardv at mxtelecom.com
Fri Oct 1 00:57:49 CEST 2004


Hi,

I've been doing some work in trying to persuade mplayer to handle 3gp 
files containing amr audio. I found that they tended to play at double 
speed; this is addressed by the attached patch. Performing the patch, 
and using a version of libavcodec with an amr decoder, then allows these 
files to be played successfully.

(The technical details of the patch are that 3gp files contain a mono 
audio stream, but, for some reason, have a '2' where the number of 
channels is specified. Ffmpeg handles this by special-casing amr audio 
chunks, so I've done the same thing here.)

It would be great if this could be committed to cvs.

Cheers,
-- 
Richard van der Hoff <richardv at mxtelecom.com>
Systems Analyst
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-amr.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040930/88f88282/attachment.txt>


More information about the MPlayer-dev-eng mailing list