[MPlayer-users] [BUG] mencoding avi > 1GiB

Loren Merritt lorenm at u.washington.edu
Sat Apr 17 08:27:09 CEST 2004

(This applies to cvs as of 20040415. 1.0pre3 works correctly.)

When I encode (with mencoder) any video that ends up bigger than 1 GiB,
the output avi contains a corrupt video frame at each multiple of 1 GiB.

codecs tried: raw, huffyuv, ffv1, ljpeg. (i.e. anything high bitrate)

example command-line:
mencoder dvd://1 -nosound -ovc lavc -lavcopts vcodec=ljpeg

In all cases, file offsets
0x40000004 to 0x40000007 are overwritten with 0xf8, 0xff, 0xff, 0x3f, and
0x40000010 to 0x40000013 are overwritten with 0xec, 0xff, 0xff, 0x3f.
(This is the only error, as compared with the same video and compression
parameters when not on a 1GiB mark.)

In the case of ffv1, this error usually crashes mplayer (signal 11). The
other codecs simply display the corrupt frames.

--Loren Merritt

More information about the MPlayer-users mailing list