From: Miguel F. <mfr...@gm...> - 2004-07-14 02:41:32
|
Hi James, On Sun, 11 Jul 2004 03:29:35 +0100 (BST), James Slorach <jr...@ja...> wrote: > I think that the unevenness is caused by frames being skipped. > > From video_out.c, line 406: > > frames_to_skip = ((-1 * diff) / duration + this->frame_drop_limit) * 2; > > When the progressive section starts, the frame duration doubles or triples > (depending on whether it begins with a rff frame or not). this is not entirely true. duration may only double/triple for progressive_sequences (!=progressive_frames). usually, as is the case with Ryan's stream or rff_anomaly.vob, the duration is only increased by up to 50% due rff. > The '(-1 * diff) > / duration' part of that line calculates the number of frames held in the > buffer. When the frame duration increases, this will give the wrong result > and a couple of frames will be skipped. have you been able to reproduce this? i added a printf when frames to skip > 0 in tvtime and it never happened here. regards, Miguel |