1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 15:10:20 +00:00
mpv/DOCS/DivX4Linux
arpi ecca6ca1ce DivX4Linux support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1351 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-19 22:49:24 +00:00

28 lines
1003 B
Plaintext

How to enable DivX4Linux support?
=================================
1. Download the codec:
http://download.projectmayo.com/dnload/divx4linux/divx4linux-20010718.zip
2. Unpack it, and copy files to their place:
cp libdivxdecore.so.0.0.0 /usr/local/lib/
ln -s /usr/local/lib/libdivxdecore.so.0.0.0 /usr/local/lib/libdivxdecore.so.0
ln -s /usr/local/lib/libdivxdecore.so.0 /usr/local/lib/libdivxdecore.so
ldconfig
cp decore.h /usr/local/include/
3. Run mplayer's ./configure
Change #undef NEW_DECORE to #define NEW_DECORE in config.h
Change #define MPEG12_POSTPROC to #undef MPEG12_POSTPROC in config.h
Change DECORE_LIBS in config.mak to be:
DECORE_LIBS=-L/usr/local/lib -ldivxdecore
4. Compile mplayer
5. Enjoy it: mplayer -vc divx4 file.avi ...
Note: it supports postprocessing, but range of values is strange:
0 = no postproc
10 .. 20 = postproc, normal (like level 2 with divxds)
30 .. 60 = hard postproc, eats many cpu. (like level 4 with divxds)