[MPlayer-users] Re: BUG - Garbled output playing realaudio

Bryan Alton balton at eircom.net
Mon Oct 3 09:34:20 CEST 2005


Neil Sleightholm wrote:

> Bryan Alton wrote:
> 
>> I think have a fix for this problem.  I have tested it with all the
>> BBC live real streams and it seems to work.  I haven't tested to see
>> if it interferes with other Real streams.  A few times Mplayer has
>> stopped, I don't know if this is as a result of my fix or just the
>> network.  My tests were run on SuSe 9.3 and I will be building a
>> Windows version as soon as I setup a compile environment.
>> 
>> The messages in the fix will be gewnerated with -v 1 so that you can
>> see if packet loss was detected.  I fill in the gaps with the
>> previous packet which result in a short burst of choppy audio.  If
>> you get a burst of errors, then you will hear a longer burst of
>> choppy audio but the stream usually settles down.  I can live with
>> this but I can suggest a better solution if somebody wants to do the
>> work.
>> 
>> My changes are to one file libmpdemux/demux_real.c.  A diff file is
>> included below.  I made the changed to a recent release but
>> demux_real.c hasn't changed much in months so the changes will work
>> back to other versions.
>> 
> 
> I will try this on Windows today and let you know what I find.
> 
> Thanks
> 
> Neil

The patch I posted in a previous message in this thread has a problem
and interferes with some other RealAudio formats. I have fixed this problem and
also adopted a better lost packet replacement which make the glitches less
audible (to my ears at least) and tidied up the code a bit.

I have posted the patch to the developer mailing list. Solving the problem 
with other RealAudio formats delayed this posting.

Bryan.

 





More information about the MPlayer-users mailing list