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.
Download (HTTP): http://libmpeg2.sourceforge.net/files/mpeg2dec-0.4.0b.tar.gz
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles//mpeg2dec-0.4.0b.tar.gz
Download MD5 sum: 52d10ea80595ec83d8557ba7ac6dc8e6
Download size: 473 KB
Estimated disk space required: 7.1 MB
Estimated build time: 0.2 SBU
X Window System and SDL-1.2.11
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libmpeg2
Install libmpeg2 by running the following commands:
./configure --prefix=/usr --enable-shared && make
To test the results, issue: make check. To perform a more comprehensive regression test, see the file test/README in the source tree.
Now, as the root user:
make install && install -v -m755 -d /usr/share/doc/mpeg2dec-0.4.0b && install -v -m644 README doc/libmpeg2.txt \ /usr/share/doc/mpeg2dec-0.4.0b && install -v -m755 doc/sample? /usr/share/doc/mpeg2dec-0.4.0b
--enable-shared: This parameter forces building shared versions of the libraries as well as the static versions.
Last updated on 2007-01-18 13:38:19 -0600