Difference between revisions of "Libmpeg2"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
Line 6: Line 6:
  
 
----
 
----
 +
 +
== Introduction to Libmpeg2 ==
 +
 +
The Libmpeg2 package contains a library for decoding MPEG-2 and MPEG-1 video streams. The library is able to decode all MPEG streams that conform to certain restrictions: “constrained parameters” for MPEG-1, and “main profile” for MPEG-2. This is useful for programs and applications needing to decode MPEG-2 and MPEG-1 video streams.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 01:29, 6 December 2006

Download Source: http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.1.tar.gz

Introduction to Libmpeg2

The Libmpeg2 package contains a library for decoding MPEG-2 and MPEG-1 video streams. The library is able to decode all MPEG streams that conform to certain restrictions: “constrained parameters” for MPEG-1, and “main profile” for MPEG-2. This is useful for programs and applications needing to decode MPEG-2 and MPEG-1 video streams.

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=${XORG_PREFIX}/lib32 --enable-shared &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=${XORG_PREFIX}/lib64 --enable-shared &&
make

Install the package

make install