Libmpeg2: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
{{Package-Introduction|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.}} | {{Package-Introduction|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.|http://libmpeg2.sourceforge.net/}} | ||
== Dependencies == | == Dependencies == | ||
Line 33: | Line 33: | ||
CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" USE_ARCH=32 ./configure --prefix=/usr \ | ||
--x-libraries=${XORG_PREFIX}/lib --enable-shared && | --x-libraries=${XORG_PREFIX}/lib --x-includes=${XORG_PREFIX}/include \ | ||
--enable-shared && | |||
make | make | ||
Line 45: | Line 46: | ||
CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \ | CC="gcc ${BUILDN32}" USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \ | ||
--x-libraries=${XORG_PREFIX}/lib32 --enable-shared && | --x-libraries=${XORG_PREFIX}/lib32 --x-includes=${XORG_PREFIX}/include \ | ||
--enable-shared && | |||
make | make | ||
Line 57: | Line 59: | ||
CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \ | CC="gcc ${BUILD64}" USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \ | ||
--x-libraries=${XORG_PREFIX}/lib64 --enable-shared && | --x-libraries=${XORG_PREFIX}/lib64 --x-includes=${XORG_PREFIX}/include \ | ||
--enable-shared && | |||
make | make | ||
Line 63: | Line 66: | ||
make install | make install | ||
[[Category:Media Libraries]] |
Latest revision as of 13:03, 12 September 2014
Download Source: | http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.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.
Project Homepage: http://libmpeg2.sourceforge.net/
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 --x-includes=${XORG_PREFIX}/include \ --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 --x-includes=${XORG_PREFIX}/include \ --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 --x-includes=${XORG_PREFIX}/include \ --enable-shared && make
Install the package
make install