View Full Version : very weird bug in credits encoding?
canadian_fbi
2nd August 2002, 03:41
hmm.... this is odd. i just watched a movie encoded with koepi's july 27 build, and right at the beginning of the credits, the video just stopped for about eight seconds and then continued where it should have been. the audio was going and everything, the video was just frozen until it resumed farther down the credits. so i went back to look at the avisynth output that xvid would have received and it seemed normal, but when i checked the xvid encoded video, there were exactly 200 identical frames before it resumed as it normally would have. the debugview output showed that this occurred in the first and second passes, and that it definitely occurred in encoding rather than playback (200 frames of about 85 bytes each before resuming at normal credit rates). has anyone encountered this before? i've never seen this before and i don't exactly know how to isolate this "bug". perhaps i'll repeat the encoding again and see if it happens again with koepi's latest build. just wanted to share what happened in case anyone's seen anything like this before.
Koepi
2nd August 2002, 03:54
you should report which settings you used for the credits.
% bitrate? how low? 30% would be an appropiate value.
Fixed quant? i'd say 16 would do the trick.
and so on, and so on.
Regards,
Koepi
canadian_fbi
2nd August 2002, 04:53
sorry, just wanted to get the general report out there without getting into too many specifics. the credits were encoded at a fixed quantizer of 25. i tested a block of credits with 26 before i set it to encode overnight, but i got the i-frame problem with 26 so i went with 25. i've never encountered a problem where the codec just stops for 200 frames though... i did have min i-frame interval set to 1 (usually had it on 6) and the new i-frame distance/bitrate reduction to 10/40%. maybe this has something to do with it, i dunno.
Koepi
2nd August 2002, 05:13
Quantizers > 19 are buggy...
*hint* :)
canadian_fbi
2nd August 2002, 05:22
ok, duly noted. i was starting to worry that the very fabric of xvid was unraveling all around me :)
actually, there are few better ways to lower the size of your credits than simply stopping the video for a few seconds. 200 frames X 85 bytes/frame = only 17 kb worth of video for the time in which it was frozen. not that i encourage such things :)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.