[MPlayer-dev-eng] flv A/V sync broken
Uoti Urpala
uoti.urpala at pp1.inet.fi
Tue Feb 20 18:54:34 CET 2007
On Tue, 2007-02-20 at 12:07 +0100, Michael Niedermayer wrote:
> > I checked what was causing it. Seems that demux_lavf sets a fps value
> > but it doesn't match the timestamps. It sets sh_video->fps to 29.9700298
> > which makes video.c use a constant 1/fps frame duration, but average
> > distance between frame timestamps is longer.
>
> ok so what should demux lavf set fps too if not the guessed fps? exact values
> are not available for several containers
> and i thought someone said that the fps value doesnt matter ...
The video.c version has different cases for different demuxers. The
DEMUXER_TYPE_LAVF code (which differs from others) uses timestamps for
frame duration only under
if((int)sh_video->fps==1000 || (int)sh_video->fps<=1){
More information about the MPlayer-dev-eng
mailing list