[MPlayer-dev-eng] XviD support is done

Christoph Lampert chl at math.uni-bonn.de
Thu Jan 17 22:40:53 CET 2002


Well... actually I didn't do anything. 
XviD provides a API compatible to DivX4, so I just tried to 
compile with -lxvidcore instead of -ldivxencore and -ldivxdecore
and it works. 

Encoding is about same speed as DivX, but files are smaller. 
Decoding is awfully fast, test for yourself. I had a factor of
3 to 4 here. But this may have been pure luck, please test.
XviD does not play DivX3 contents, only real MPEG4 (like Divx4's).

XviD core library is available at www.xvid.org. You only need to
checkout the modul 'core' 

If your <stdlib.h> defines BIG_ENDIAN, then you should change includes in
encoder/encoder.c decoder/decoder.c and image/image.c to 

#include <malloc.h> 

instead of 

#include <stdlib.h>

gruel

P.S. Could somebody modify configure for support? And what can we do 
to support DivX4 and XviD at the same time without name conflicts? 

-- 
Christoph H. Lampert chl at math.uni-bonn.de | Diese Signature wurde maschi-     
Beringstr. 6, Raum 15 Tel. (0228) 73-4708 | nell erstellt und bedarf
Sprechstunden Di/Do 10-11 und spontan     | keiner Unterschrift. AZ 27B-6 




More information about the MPlayer-dev-eng mailing list