Log in

View Full Version : Virtualdub + XviD


MoonWalker
16th March 2002, 00:02
I have noticed that at Vdub it says the quantizer used for the current frame and the type of the frame with an DivX 3.11 encoded movie(you know at the bottow of Vdub :p) , when I open an XviD encoded movie I can't see this details.Why is that?

Thanks,
MoonWalker

-h
16th March 2002, 01:37
DivX 3.11 (MSMPEG4) stores the quantizer in the first 5 bits of the frame, thus it's pretty easy to extract and display.

Since XviD is actually writing an MPEG4 video stream, its current implementation sees each frame begin with either a VOL or VOP header, which contains quite a bit more information. A VOL header can be between ~36 and 165 bytes, and the contents of a VOP header depend partly on flags that were set in the previous VOL.

It'd be a bit more work to extract the quantizer for each frame from a true MPEG4 stream, which is I suspect why Avery Lee hasn't implemented it.

-h