[XviD-devel] debugging fun, anyone? timecodes in decoder

Christoph Lampert chl at math.uni-bonn.de
Thu Apr 15 16:44:10 CEST 2004


On Thu, 15 Apr 2004, Radek Czyz wrote:

> Hi,
> I have this crazy clip:
> 
> http://syskin.is.dreaming.org/bframe.avi

I especially like the domain name ;-)

> Completely crazy but that's not the point. Most frames (bframes) won't 
> decode. I figured out this is because time_pp is 1 while time_bp is 
> more, and b-frame decoder lag kicks in.
> 
> I'm pretty sure this is because next pframe is far away (more than a 
> second, probably) but this should still work, shouldn't it?

Yeeeeeeeeees, in theory. Although I don't remember if it's legal at all.
My mplayer with XviD and ffmpeg do play something (every frame), but I 
don't know if it's what is intended. It look somehwhat... "erratic". 

Old timecode methods couldn't handle Bframes where reference P-frames 
were more than 1 second apart. I don't remember the reason, but it was a 
rather good one. This is the second clip where this actually happens, the 
first was encoded with fps=1 or so. 
I thought it had been replace a long while ago. 

chl



More information about the XviD-devel mailing list