Thread: XviD FAQ
View Single Post
Old 25th January 2004, 22:49   #8  |  Link
crusty
Ahhh....Nuts!!
 
crusty's Avatar
 
Join Date: May 2002
Location: Holland
Posts: 309
Q: I still don't get that 'payback'-thingy!

Consider a two frame videosequence, with one frame's size 1000 bytes while the other is 2000 bytes. Let's say that you wanted the whole video to be 3300 bytes big. Since the two frames used up 3000 Bytes, you have 300 bytes left in the bitreservoir to use on all the frames.

Payback with bias takes the bitreservoir and hands out bytes one-at-a-time to each frame, until it runs out of bytes. This means that both frames will get an equal share of extra bytes. The result will be that both frames get 150 extra bytes.

Payback proportionally looks at the size of the frame and says, 'Hey, you're twice as big, you're share is bigger'. Since the second frame is twice as big as the first, it gets 2 bytes for every byte the first frame gets. So the end result is that frame 1 will get 100 bytes extra and frame 2 will get 200 frames extra.

Note @ Darknight512:

It's sounds very much like you downloaded the source code
If you got files that ended with extensions like .h, .c and .cpp you've got the source code, and not a binary build.
Go to the sites mentioned in the faq and be sure to download a 'binary'. After unzipping and executing it should require zero brainpower to install.

__________________
Core 2 Duo intel, overclocked at something (can't remember what i set it at), about 2 TB in hard storage, nvidia 9800 GT and a pretty old 19tftscreen.
Crusty007 at en.Wikipedia.org

Last edited by crusty; 25th January 2004 at 22:58.
crusty is offline   Reply With Quote