PDA

View Full Version : XviD 1.0.1 BRC: Unnecessary limitation?


LigH
2nd September 2004, 10:18
Dear XviD developers,

according to this german thread's latest additions (http://forum.gleitz.info/showthread.php?t=11466), the bitrate calculator in XviD does not calculate the bitrate correctly for target sizes bigger than 2 GB - the "average bitrate" becomes negative (can confirm this using Koepi's CVS version 1.0.1). I'd guess, there is a "signed long int" used where it should have been "unsigned". Due to OpenDML or segmented output, this shall not be a limitation of the AVI file container.
__

P.S.: Same miscalculation still present in latest gamrdev builds.

Koepi
2nd September 2004, 10:37
Ouch, nice glitch :-) This sounds indeed like using an int where it should be __uint64. (ntfs can store such avis, dunno if anybody seriously thinks about creating a terabyte avi in 2pass mode.)

Thanks for reporting it!

Regards
Koepi