Re: xvid decoder crash

Christoph Lampert <[email protected]> Sat, 15 Jan 2005 13:32:24 +0100 (CET)
Newsgroups gmane.comp.video.xvid.user
Message-ID <[email protected]>
On Sat, 15 Jan 2005 [email protected] wrote:
> dear all
>     I use xvid 1.03 compress 144 * 176 video frame, send data via internet
>     and use xvid 1.03 decompress it,
>     After the decoder decompress data about serveral hours ,it crash ,such as access violation.
>     I think xvid decoder have serious error.
>     No maner what the input data is ,the decoder should not crash.

Hi, 
first of all, XviD is optmized for high decoding speed of valid MPEG4 
streams,it does not implement much error resilience.  
You are right, it should never crash, but MPEG4 handling involves 
many operations on bit level, checking each of those for validity whould 
slow things down quite a lot, so I don't think that XviD is crash-safe for 
broken streams. 
Apart from that, can you give us any more information? E.g. what 
application did you use for decoding? Could the reason be a transmission 
error, or rather something else? Maybe an integer overflow? Then what 
does "several hours" mean, and at what framerate were you working?

gruel