i reverted to page1 and i can only see that you started to ttalk about 2 quants after i ressurected the thread,ie. after tgdeck mentioned "almost constant" thingie....
you asked about cq. versus 2pass....
and you asked;
QUOTE
I read somewhere that the target of 2-pass encoding is to use a quantizer as constant as possible, is that true?
nope..the target of 2pass is to hit the target bitrate by varying the quants...so quant. as constant as possible is not used in 2pass modes (or ABR 1pass)
cannot be used as that breakes filesize expectancy....
QUOTE
Why? The same quantizer will use more bits on the complex race scenes and less on the easy still scenes. Which (I assume) is the intended behaviour.
balance is lost;still scenes will look like crap on higher quants,and we can't really use quants that low as then filesize rockets....
QUOTE
You CAN ALWAYS reach the target with only two quantizer values!
ahhh..yes,i see....you're saying that target filesize is reachable if we pick the right quants............fair enough,your thoughts,but i'm saying that it doesn't really work!
because of your next sentence;
QUOTE
The whole argument boils down to this: is the quantizer correlated to the perceived quality?
off course it is;quantizer is THE most important thing for the quality of the frame...
so 2quants are as i already said;either lookin' crappy or overboard with filesizes...
neither is really acceptable......
QUOTE
How does the codec decide on the used quantizer (based on the wish of constant quality)?
no..it decides based on the bitrate wish...codec is not clever at all!
if you're interested in quantizer explanation,i have one;
god damn,where are the links when you need'em....
http://virtualdub.everwicked.com/index.php...44&hl=quantizer(i better bookmark this one)
QUOTE
Really, why is it so hard to understand for i4004 that a codec can reach its target filesize by switching between two quantizers?
no it's not,but i want a solid proof;drfanalyzed file report....
1 or 2 pass encoding with 2 quants that reaches desired filesize.....shouldn't be too hard for 2pass guys,right?but make the footage demanding....
QUOTE
Let me try again to explain it: In dumb CBR mode you have a fixed span of time or frames for which the codec tries to keep the target bitrate;
offcourse!
for 1pass ABR(as i said no need to call it CBR) we wan't this buffer as big as possible...indeed...
QUOTE
It is well possible, to stay with that example, to reach the same filesize that CBR reached by using quants 2-4-4-4 by using quants 3-4-3-4.
yes...but i already said that i like still scenes on low quants;but you explained 2pass method well;it will tend to use overall higher quants.....and i said i hate that....
QUOTE
It is really not that hard to understand!
when you produce drfanalyzed report that says xvid(or other mpeg4) did 2quant encoding in 2pass mode and hit the target filesize, i'll believe you;untill then i won't.....
i hope that's fair
(offcurse invitation is opened to anyone reading this.....)
but how will you do that,beats me...(as codec desn't have the slightest clue what quants to use.....ie you would have to limit them manually......in fact i would go so far to say that codec only knows that increasing the quant makes the bitrate go down....all the tweaking of the codec settings we do,proves it;codec are a dumb things!
i only said that 1pass with limited quants can be made indistuinguishable from 2pass encoding...if you push the right buttons....i tried to show it on that 1pass versus 2pass drfanalyzed files...doing a 3-9 span for 1pass would bring 1pass even closer to 2pass encoding....but as i said,i'm not doing 3-x (as is usual 2pass practice) as i wan't a "picasso"(heh) on still scenes.....i compared still scenes on my 1pass versus still scenes on 2pass...i liked 1pass stuff better....exactly as undercut said;no bits are wasted....it's just where they are spent.....i like to use 2 as much as i can...and motion can be slightly worse(but as i said,not too bad;untill quants 6 till 9))
QUOTE
Hope that one broke through the wall.
i posted a solid proof for the things i'm saying.....now you post a solid proof on your concepts.....i didin't saw it yet,and your words alone won't do....
you explained the 1pass versus 2pass mode well,but i believe you are mistaking if you say that target bitrate will be reached by 2 only quants....(as you clearly agreed with continuum when he said it!)
we all know that it would take many test encoding to pick the right 2 quants,and that's not it!that's not automated process.....not useable...not appropriate to do 10 test encodings to see what 2 quants to use.....
as i usually say;encode more,talk less...
and encode more to reach better quality.....we neeed not theorize this much when we have actuall codecs to test it with...
why won't i do this tests for you?
1-i have "old man and the sea" to cap now
2-my hdd is full again,so more job for nandub...
3-2pass 2quants won't work/doesn't work...
i'm leaving this thread here....i believe i repeated my stuff few times too many.....
if you post a solid proof that you can do the stuff you claimed are possible,i'll apologize and accept it....no problems...
cheers
/ivo
edit;"cannot be used as that breakes filesize expectancy....