XviD-1.2.2

Introduction to XviD

XviD is an MPEG-4 compliant video CODEC.

This package is known to build and work properly using an LFS-6.5 platform.

Package Information

XviD Dependencies

Optional

NASM-2.09.10

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/xvid

Installation of XviD

Install XviD by running the following commands:

cd build/generic &&
./configure --prefix=/usr &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&

chmod -v 755 /usr/lib/libxvidcore.so.4.2 &&
ln -v -sf libxvidcore.so.4.2 /usr/lib/libxvidcore.so.4 &&
ln -v -sf libxvidcore.so.4   /usr/lib/libxvidcore.so   &&

install -v -m755 -d /usr/share/doc/xvidcore-1.2.2/examples &&
install -v -m644 ../../doc/* /usr/share/doc/xvidcore-1.2.2 &&
install -v -m644 ../../examples/* \
    /usr/share/doc/xvidcore-1.2.2/examples

Command Explanations

ln -v -sf libxvidcore.so.4 /usr/lib/libxvidcore.so: This command makes applications linked against .so names, link to .so.<MAJOR>. This ensures better binary compatibility, as XviD developers take care not changing the <MAJOR> number until there is an incompatible ABI change.

Contents

Installed Programs: None
Installed Library: libxvidcore.{so,a}
Installed Directory: /usr/share/doc/xvidcore-1.2.2

Short Descriptions

libxvidcore.{so,a}

provides functions to encode and decode most MPEG-4 video data.

Last updated on 2009-08-02 12:18:06 +0000