[XviD-devel] high-definition decoding bug?

Mauro Borghi mauro.borghi at TILAB.COM
Thu Jan 20 16:23:33 CET 2005


Hello all,
for a benchmarking activity on HDTV, I'm encoding short sequences of 
1080i content using xvid (and other codecs).
I managed to encode in 2-pass, enabling up to 2 consecutive B-frames.

Using xvid to decode the sequence, I get a crash on various players 
(both on win32 and linux).
I placed the start of this sequence on the web (~5MB), so you can 
download it if you want to reproduce the crash:
<http://tao.tilab.com/hd-tests/>

For example, mplayer on linux exits like this:
[...]
MPlayer interrupted by signal 8 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
[...]

which should be a division by zero or some other floating point exception.

btw, mplayer on linux needs to be run with the following command:
$ mplayer -vo x11 -vc xvid hd-1080-xvid-2b.avi
[trying to use the xvideo extension results in an earlier exit of the 
player, because of allocation errors in xv]

Decoding using a different decoder (-vc ffodivx), the decoding crash 
disappears (though artifacts appear on the frames).
Re-encoding the same sequence, but this time disabling b-frames, the 
decoding crash disappears.

Another difference between "-vc ffodivx" and "-vc xvid" is that while 
with the former the colorspace and image size are ok, with the latter 
the colors are messed up and the image size is half in width of what 
should be. (But probably this is an mplayer issue, as with other players 
this does not happen).

Hope this helps finding the bug... if it's actually a bug!

Ciao,
Mauro.





More information about the XviD-devel mailing list