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