[MPlayer-dev-eng] PTS clarification

Charles Henrich henrich at sigbus.com
Thu Feb 28 00:50:30 CET 2002


On the subject of Re: Re: [MPlayer-dev-eng] PTS clarification, Arpi stated:

> Hi,
> 
> > > 
> > > anyway, your sh_audio_t header must be ok (i_bps, o_bps, samplerate).
> > 
> > I believe thats fine, its just raw 44khz PCM data, so I've set i_bps and o_b
> > ps
> > the same, as so:
> > 
> >     sh_audio->i_bps = sh_audio->samplerate * sh_audio->samplesize/8 *
> >                       sh_audio->channels;
> 
> samplesize is in bytes, not in bits !!!
> 
> > One other question is that at what point does it decide to duplicate a frame
> > ?
> 2 points.
> - when A-V pts starts drifting (it can be limited or disabled with -mc 0)

I'll have to troubleshoot this, A-Vpts as displayed doesnt seem to match
debugging I've added.  In the following case:

the ds queues are:

A1.00 A1.04 A1.08 A1.12 A1.16 A1.20 A1.24 A1.28 A1.32 
V0.80 V0.84 V0.88 V0.92 V1.04 V1.08 V1.12

What does the output looklike?

-Crh

       Charles Henrich         Eon Entertainment         henrich at msu.edu

                       http://www.sigbus.com:81/~henrich



More information about the MPlayer-dev-eng mailing list