Hi!
I'm just curious. I was sitting in the coach when the question struck me. I quickly came up with a theory, that sounded really logical to me, but it has happened before that my "logic" has been way of the radar, so therefore I must ask for confirmation.
So, here goes my theory. Simply told, during 1st pass, eg. Xvid simply measures the compressability of each frame in the clip. From this calculations (stats-files) it knows an exact floating point value that shall be used for Quantization factor throughout the film, to achieve the desired average bitrate. Period.
Now, is this a good (yet perhaps a bit simplified) explanation on the process, or am I all wrong?
Ty in adv~
Regards~
+ Reply to Thread
Results 1 to 2 of 2
-
Drop dead gorgeous!
-
During the first pass Xvid compresses the video in target quantizer mode with a quantizer of 2. It performs a full analysis at the current settings. It then knows how much relative bitrate each frame will require. During the second pass it uses this information to allocate bitrate to each frame/scene. But it's not as simple as using a fixed quantizer. It is sensitive to what can be seen by the human eye at normal playback speeds. Take for example a shot where a single frame is brighter because of a still camera's flash. A fixed quantizer approach would allocate a lot of bitrate to the brighter frame because virtually every pixel changes brightness. But Xvid knows that you won't notice if that single bright frame is encoded at a lower quality -- it will flash by too fast for you to perceive it.
Also note that fixed quantizer encoding does not give linear results and may not be comparable between different videos. The relationship between quantizer and bitrate will vary depending on the video. So just because a particular video ends up at 1000 kbps at Q=3 and 2000 kbps at Q=2 doesn't mean that the same ratio will be true for another video.
Similar Threads
-
Sony Hi8 (PAL) pass-through to Canon (NTSC) - will this work?
By frappefan in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 0Last Post: 26th Dec 2010, 13:18 -
AutoGK Filesize in Single Pass Mode
By Arlo in forum DVD RippingReplies: 3Last Post: 7th Jan 2009, 16:21 -
mpg file size smaller than expected, TMPGEnc 2.5 VBR 2-pass mode
By chipsndukes in forum Video ConversionReplies: 1Last Post: 22nd Dec 2008, 20:48 -
Using Logoaway in two-pass mode
By AlanL in forum EditingReplies: 1Last Post: 21st Jun 2007, 06:54 -
Will filters on my JVC SVHS model HR-S2901U work if used as pass-thru?
By theweight99 in forum RestorationReplies: 6Last Post: 7th Jun 2007, 21:21