[XviD-devel] corruption of VideoObjectLayer width and height values when setting frame rate at 8 fps

Andrea Barbieri andrea.barbieri at movingimageresearch.com
Sat Sep 8 17:12:00 CEST 2007


Hello,

I just found a peculiar bug in xvidcore-1.1.3 (I think it has been 
present since version 1.0.0)

I have built the library and the example executables under CygWin.

when I use xvid_encraw like this:
./xvid_encraw -lumimasking -framerate 7.5 -turbo -single -type 0 -i /cygdrive/c/Users/ab/foo.yuv -o /cygdrive/c/Users/ab/foo1.xvid -w 720 -h 480

or with any other frame rates (apart from 8.0) the VOL parameters 
video_object_layer_width and video_object_layer_height are set correctly 
to 720 and 480 respectively.

as soon as I switch to a framerate of 8.0 those two parameters get 
corrupted to 1441 and 961 respectively (it looks like they get set to 
twice plus one of the original values).

I am using MPEG4P2 parser to look inside the generated bitsream
http://sourceforge.net/projects/mpegparser/

many thanks,
andrea
-- 
Andrea Barbieri
Moving Image Research http://www.movingimageresearch.com/
The Workshop, Hampton Lane, Bristol, BS6 6LE, UK
Tel: +44 117 9732200  FAX: +44 117 9732210
PGP ID=0x034DFD5A  KeyFingerprint=C168EA9A7189538D214F1281A7529F32034DFD5A


More information about the XviD-devel mailing list