[MPlayer-dev-eng] Re: [PATCH] Play AMR over rtsp

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 6 19:18:24 CET 2007


Hi Nico!

Nico Sabbi <nicola_sabbi <at> fastwebnet.it> writes:

> is the 3gpp decoder that needs this first byte in the bitstream
> or does the bitstream definition specify it?
> In the former case I won't apply this patch, because demux_packets
> should contain only demux data

I found "AMR speech codec frame structure" (3GPP TS 26.101 V6.0.0).
It states in "4. AMR codec frame format (AMR IF1)":
... The frame is divided into three parts: AMR Header, AMR Auxiliary
Information, and AMR Core Frame. The AMR Header part includes the Frame Type and
the Frame Quality Indicator fields. ...

lastFrameHeader() outputs exactly this AMR header consisting of Frame Type and
Frame Quality Indicator. So I guess, yes, the bitstream defines this byte.

Carl Eugen




More information about the MPlayer-dev-eng mailing list