[MPlayer-users] ZLIB codec compression levels

Mario Valle mvalle at cscs.ch
Fri Nov 21 13:50:09 CET 2003


Hi all,
I have a Linux ZLIB avi file that cannot be played because mplayer display the following error:
[LCL] Unsupported compression format for ZLIB (6).
Also the <http://home.pcisys.net/~melanson/codecs/lcl.txt> page lists only 1, 9 and -1 as valid values for the 
compression level. But zlib doc says that valid compression values are 0-9 with 6 currently defined as default 
compression level.
So seems that in vd_lcl.c the line:
#define COMP_ZLIB_NORMAL -1
should read:
#define COMP_ZLIB_NORMAL 6
or better:
#define COMP_ZLIB_NORMAL Z_DEFAULT_COMPRESSION

So before I try to convince the system manager to upgrade the compiler (a really difficult job...) and try myself,
can you clarify if this is a bug or a feature ? Or is a problem of the movie producer?

Thanks!
			mario

-- 
Ing. Mario Valle
Data Mining and Visualization Group         | http://www.cscs.ch/~mvalle
CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.60
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82



More information about the MPlayer-users mailing list