[MPlayer-dev-eng] PTS clarification
Charles Henrich
henrich at sigbus.com
Thu Feb 28 01:32:56 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) - when actual FPS from demuxer differs from requested output fps
> (-ofps)
Okay, fixed. I've uploaded a sample file (syncerror.avi) showing the problem.
-Crh
Charles Henrich Eon Entertainment henrich at msu.edu
http://www.sigbus.com:81/~henrich
More information about the MPlayer-dev-eng
mailing list