[MPlayer-dev-eng] [PATCH]fix garbled audio in RA live streams

Guillaume POIRIER poirierg at gmail.com
Sun Oct 9 21:34:36 CEST 2005


Hi,

On 10/3/05, Bryan Alton <balton at eircom.net> wrote:
> The patch is to file demux_real.c in libmpdemux
>
> It is to detect packets dropped by the RealAudio server and to insert
> packets into the data stream to replace the missing packets. As a
> result of missing packets the present code gets out of sync.
>
> The problem manifests itself as choppy/garbled audio from
> live RealAudio streams as used by the BBC.  The problem has
> been noticed particularly with BBC live streams. The bug has
> been reported many times and as far back as 11/09/2004 typically
> with the words: Garbled BBC RA audio
>
> Packets are dropped at source by the server and can only be
> detected by examining packet timestamp.   During initialisation
> the patch calculates the estimated duration of a packet.  As
> each packet is received, if the elapsed time since the previous
> packet is greater than expected,  then one or more packets have
> been lost and will have to be made up.
>
> To minimise clicks/crackles, the contents of the replacement
> packets to be inserted into the data stream are copies of the
> last relevant good packet received.

What to do with this patch?

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-dev-eng mailing list