XviD-1.3.5

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  xine-lib-1.2.9

- Next

  Audio Utilities

- Up
- Home

# XviD-1.3.5

## Introduction to XviD

XviD is an MPEG-4 compliant video CODEC.

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

### Package Information

- Download (HTTP): http://downloads.xvid.org/downloads/xvidcore-1.3.5.tar.gz

- Download MD5 sum: 69784ebd917413d8592688ae86d8185f

- Download size: 804 KB

- Estimated disk space required: 7.1 MB

- Estimated build time: 0.1 SBU

### XviD Dependencies

#### Optional

yasm-1.3.0

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

## Installation of XviD

### Note

This package tarball expands to `xvidcore`, not the expected `xvidcore-1.3.5`.

Install XviD by running the following commands:

    cd build/generic &&
    sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in &&
    ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile &&
    make install &&

    chmod -v 755 /usr/lib/libxvidcore.so.4.3 &&

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

## Command Explanations

sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in: Fix error during make install if reintalling or upgrading.

sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile: This command disables installing the static library.

## Contents

Installed Programs: None
Installed Library: libxvidcore.so
Installed Directory: /usr/share/doc/xvidcore-1.3.5

### Short Descriptions

`libxvidcore.so` | provides functions to encode and decode most MPEG-4 video data.

Last updated on 2019-02-17 15:55:58 -0600

- Prev

  xine-lib-1.2.9

- Next

  Audio Utilities

- Up
- Home