Log in

View Full Version : Maybe it's obvious but... (about XviD presets)


numaios
9th August 2006, 17:22
I've been reading the XviD presets and I've seen something like that:

you'll have to adapt your first pass settings manually to read:

Quantizer=3, motion search precision=5 (except for the '90% preset' where it should be '4'), VHQ=1
[...]
* XviD '>30% comp. check' (HQ): MSP=6, VHQ=4, VHQ for b-frames, QPel, AQ, EQM v3 ULR rev.3, curve-compr. H30, L15, quantizer-restrictions min. 3, max. 5
[...]
Compressibility check with Enc; SixOfNine CQM, constant quantizer=3, b-frames max=2, ratio=1.62, offset=0, motion search precision=4, VHQ=off, Trellis=on, Turbo=on and no other switches at all.

For the 1st pass, setting "quantizer=3" in the "zone" section overrides the quantizer-restrictions, doesn't it?

For the 2nd pass, in "zone" section, I should select Weight instead of Quantizer, shouldn't I? And then set the quantizer-restrictions...?

For the comp. check: "constant quantizer=3" means setting a first pass with a zone with "quantizer=3" instead of "weight"? Or setting a "single pass"?

Thank you very much!

henryho_hk
10th August 2006, 02:13
Although my BAT script is hard to read, please try taking a look (available in the same thread).

numaios
10th August 2006, 13:17
Thank you but my question is really simple for someone who is used to XviD presets:

a) How can I set a constant quantizer? With single pass + target quantizer or with 1st pass + zone options + quantizer or by setting the same quantizer in both "min." and "max."

b) The comp. test is made with a Single pass or with a 1st. pass?

Sorry if a didn't explain my question well.

henryho_hk
11th August 2006, 00:17
a) You have answered your own question already. You set a constant quantizer for some purposes. Use different methods for different purposes. For example, "Single pass encoding" and 1st pass of "Two pass encoding" are two distinct purposes.

b) We usually use a comp test program like Enc http://jonny.leffe.dnsalias.com/enc/

numaios
11th August 2006, 11:53
a) Then let's separate the purposes:

a.1) How can I set a constant quantizer in single pass? In "Target quantizer" or with a constant -quantizer zone?
a.2) How can I do the same in a 1st. pass? With a constant-quantizer zone or setting the same quantizer as min./max in quantizer restrictions?

b) OK, but Enc does not automatically choose between single pass or first pass, I have to set it manually, so again: "the comp. test is made with a Single pass or with a 1st. pass?"

c) For the 1st pass, setting "quantizer=3" in the "zone" section overrides the quantizer-restrictions, doesn't it? (Purpose: a normal Two-pass encoding)

d) For the 2nd pass, in "zone" section, I should select Weight instead of Quantizer, shouldn't I? And then set the quantizer-restrictions...? (Purpose: a normal Two-pass encoding)

Teegedeck
11th August 2006, 18:22
Simply put, the only basic difference between first pass and single pass w. constant quantizer is that first pass produces a stats file and single pass doesn't. But Enc doesn't need a stats file. First pass also triggers some fast encoding settings but those are deactivated as soon as you define a zone.

a)
a.1) How can I set a constant quantizer in single pass? In "Target quantizer" or with a constant -quantizer zone? Target quantizer. Zones are only needed for enforcing a 1st-pass quantizer other than '2' and for manually enforcing a quantizer for some areas of 2nd pass, for whatever reason (credits etc.)

a.2) How can I do the same in a 1st. pass? With a constant-quantizer zone or setting the same quantizer as min./max in quantizer restrictions?A zone. Quantizer-restrictions don't work in 1st pass.

b) OK, but Enc does not automatically choose between single pass or first pass, I have to set it manually, so again: "the comp. test is made with a Single pass or with a 1st. pass?"There is no difference. If you want to live complicated you can define a zone in first pass. But there is no reason to do this.

c) For the 1st pass, setting "quantizer=3" in the "zone" section overrides the quantizer-restrictions, doesn't it? (Purpose: a normal Two-pass encoding)Quantizer restrictions in first pass do nothing, see above.

d) For the 2nd pass, in "zone" section, I should select Weight instead of Quantizer, shouldn't I? And then set the quantizer-restrictions...? (Purpose: a normal Two-pass encoding)Yes.

numaios
12th August 2006, 15:25
Thank God! Now I understand everything.

Thanks a lot, Teegedeck :)
:thanks: