Log in

View Full Version : Is there an XviD Utility to read encoding settings used?


vocoder
13th October 2005, 17:10
In other words, so I can open my XviD encoded *.avi(s), and see exactely what settings I used (B-Frames, ratio, offsets, max consecutive, ect.). Thanks in advance ;)

unskinnyboy
13th October 2005, 18:00
Not all options used during encoding can be detected - example, Trellis, AQ etc cannot be detected. But otherwise, MPEG Modifier (http://www.moitah.net/download/latest/MPEG4Modifier.zip) can give you a lot of info like below (Load the avi into the tool and press the 'Video Info' button:

http://img4.imageshack.us/img4/1711/clipboard011kq.jpg

This along with Java XviD Stats Viewer (http://forum.doom9.org/showthread.php?t=67639) can give you a lot of info:

http://img155.exs.cx/img155/4315/clipboard012cr.jpg

jon.schaffer
13th October 2005, 18:35
Concerning AQ, you can use the visualization filter of FFDShow with the quantizers display: you'll easily see if frames have blocks with different quantizers.

vocoder
13th October 2005, 19:45
Thank you both for the helpfull reply. :)

IgorC
14th October 2005, 00:20
Concerning AQ, you can use the visualization filter of FFDShow with the quantizers display: you'll easily see if frames have blocks with different quantizers.

It's stragne I have the same quantizer for all macroblocks.
Xvid 1.1 last CVS build
AQ was enable.
http://img339.imageshack.us/img339/212/snapshot200510132016489ae.jpg

P.S. Only one frame has blocks with different quants from these 1300 frames

jon.schaffer
14th October 2005, 08:48
I really don't know how does the AQ algorithm work. It's time since I tested it, but IIRC, it was applied to 'darker' & 'brighter' scenes. So, the different quantizers (and a non-integer mean quantizer) could be seen in quite highly contrasted.
A guess: all the blocks of your frame (low contrast and quite dark) benefit by the AQ.
If you want to check it, you could encode the same scene without AQ, if the mean quantizer of these frames are 3 instead of 4, then AQ applied (would this method work with a 2-pass encoding? o_O).

Teegedeck
14th October 2005, 10:04
AQ and GMC also are only used on frames where it makes sense to use them. AQ only kicks in if the contrasts in a frame are high enough for the psychovisuals to work. In that frame the difference between dark and bright areas is way too small, so using AQ wouldn't make sense as your eyes couldn't be 'betrayed' here.

Detecting AQ is easiest if you only watch the 'frame mean quantizer'. If odd frame quantizers like '4.63' or '2.01' show AQ is used. If only even quants like '4.00' and '2.00' show then AQ isn't used.

And jon is right; in two-pass the encoding as a whole benefits from a slighty lower average quantizer. You have, for example, more frames with (mean) quant=2 in second pass with AQ than without.