# HG changeset patch # User diego # Date 1042465428 0 # Node ID 44a4f3cd8d884d541f799216cfaf8a4515c8ec6e # Parent f55308c2973b9c737ee5479a5554f6aa8b6f9481 DivX CVS instructions as provided by Alex Kloss . diff -r f55308c2973b -r 44a4f3cd8d88 DOCS/codecs.html --- a/DOCS/codecs.html Mon Jan 13 12:31:31 2003 +0000 +++ b/DOCS/codecs.html Mon Jan 13 13:43:48 2003 +0000 @@ -56,21 +56,8 @@ movies made with the infamous DivX codec! In addition it is much faster than the native Win32 DivX DLLs but slower than libavcodec. Hence its usage as a decoder is DISCOURAGED. However, it is useful for encoding. One - disadvantage of this codec is that it is currently closed source.

- -

The codec can be downloaded from one of the following URLs:

- -

    http://avifile.sourceforge.net
-     http://divx.com

- -

Unpack it, and run ./install.sh as root.

- -

Note: Do not forget adding /usr/local/lib to your - /etc/ld.so.conf and running ldconfig!

- -

MPlayer autodetects DivX4/DivX5 if it is properly installed, just - compile as usual. If it does not detect it, you did not install or configure - it correctly.

+ disadvantage of this codec is that it is not available under an Open Source + license.

DivX4Linux works in two modes:

@@ -94,6 +81,48 @@

Note: If your -vo driver supports direct rendering, then -vc divx4 may be faster or even the fastest solution.

+

The codec can be downloaded from + avifile. + Unpack it, run ./install.sh as root and do not forget adding + /usr/local/lib to your /etc/ld.so.conf and running + ldconfig.

+ +

Get the CVS version of the core library like this:

+ +
    +
  1. cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot login
  2. +
  3. cvs -d:pserver:anonymous@cvs.projectmayo.com:/cvsroot co divxcore
  4. +
  5. This core library is split into a decore and encore library that have to + be compiled separately. For the decore Library, simply type +
    +    cd divxcore/decore/build/linux
    +    make
    +    cp libdivxdecore.so /usr/local/lib 
    +    ln -s /usr/local/lib/libdivxdecore.so /usr/local/lib/libdivxdecore.so.0 
    +    cp ../../src/decore.h /usr/local/include
    +    
    +
  6. +
  7. Alas, for the encore library there is no Linux Makefile available, and the + MMX optimized code only works on Windows. You can still compile it, though, + by using this + Makefile. +
    +    cd ../../../encore/build
    +    mkdir linux
    +    cd linux
    +    cp path/Makefile .
    +    make
    +    cp libdivxencore.so /usr/local/lib
    +    ln -s /usr/local/lib/libdivxdecore.so /usr/local/lib/libdivxdecore.so.0
    +    cp ../../src/encore.h /usr/local/include
    +    
    +
  8. +
+ +

MPlayer autodetects DivX4/DivX5 if it is properly installed, just + compile as usual. If it does not detect it, you did not install or configure + it correctly.

+

2.2.1.2 FFmpeg DivX/libavcodec