[Mplayer-users] Using -idx with divx4 causes error

Arpi arpi at thot.banki.hu
Sun Aug 12 23:35:16 CEST 2001


> The AVI I got may be broken, but the symptoms are playing it normally
> with -vc divx4 works, but inserting -idx on the command line gives:

> If I take the first 50 Mbytes of the file and try to play that with -idx,
> it WORKS.  But on the whole 680 Mbytes file, it fails.  Any hint?
Hmm. It is an old bug, and a few weeks ago I've fixed it (at least fixed 3
possible cause, but none of them was bug only possible problem source).
It seems it still exists.

I need the whole file, unless I can't reproduce the bug.
Can you upload to ftp://mplayer.hu/MPlayer/incoming  ?
(disk space not prob for us, we are prepared for such big files)

I thought it's memory allocation problem, maybe glibc bug/limitation.
It reallocates an array many times while building index, and if
glibc doesn't handle it well, it is possible to run out of memory, so
divx4 or something else will segfault.

Before uploading teh file, try something!
In aviheader.c, chaneg this line:
      priv->idx_size+=1024; // +16kB
      priv->idx_size+=65536; // +16kB

And check it works or still sig11. (and tell me the results)

A'rpi / Astral & ESP-team

mailto:arpi at thot.banki.hu

Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net

More information about the MPlayer-users mailing list