[XviD-devel] B-frame "bugfix"
Christoph Lampert
xvid-devel@xvid.org
Wed, 24 Jul 2002 21:50:49 +0200 (CEST)
Hi,
it's rather a "fixing the standard" than a "fixing XviD".
Due to a stupid, stupid and once more stupid design flaw in the MPEG-4
standard, there were bad blocks in B-frames for some contents.
The reason is that if a macroblock is skipped in a P-frame, it isn't
encoded in the previous B-frames either, and there is no way around
this :-(
To fix this, more work is needed, but I added a brute force flags
_DISABLE_SKIP that disables SKIP-mode for P-frames completely.
Never use it if you want to do something useful, files will get bigger
without any gain in quality.
But for B-frame testing it might be needed for the moment.
It's not defined automatically by -DBFRAMES, you'll have to give
an extra -D_DISABLE_SKIP.
gruel (still mad at the MPEG-people!)
--
Christoph H. Lampert chl@math.uni-bonn.de | Diese Signature wurde maschi-
Beringstr. 6, Raum 14 Tel. (0228) 73-2948 | nell erstellt und bedarf
Sprechstunden: keine, aber meistens da | keiner Unterschrift. AZ 27B-6