Double-rate audio in .3gp files
Reported by: |
richardv@… |
Owned by: |
r_togni@… |
Priority:
|
normal
|
Component:
|
demuxer
|
Version:
|
1.0pre6
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
Blocked By:
|
|
Blocking:
|
|
Reproduced by developer:
|
no
|
Analyzed by developer:
|
no
|
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 a patch I'll attach in a minute. 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.)
3gp playback patch