MPEG4IP

From CBLFS
Revision as of 08:00, 19 March 2008 by Animeloe (talk | contribs) (Optional)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/mpeg4ip/mpeg4ip-1.5.0.1.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/mpeg4ip/mpeg4ip-1.5.0.1-x264-1.patch
Optional Patch: http://svn.cross-lfs.org/svn/repos/patches/mpeg4ip/mpeg4ip-1.5.0.1-nasm-2.patch

Introduction to MPEG4IP

MPEG4IP provides an end-to-end system to explore streaming multimedia. The package includes many existing open source packages and the "glue" to integrate them together. This is a tool for streaming video and audio that is standards-oriented and free from proprietary protocols and extensions.

Project Homepage: http://mpeg4ip.sourceforge.net/

Dependencies

Required

Recommended

Optional

Non-Multilib

If you have NASM version 2.00 apply this patch :

patch -Np1 -i ../mpeg4ip-1.5.0.1-nasm-2.patch

Compile the package:

sed -i "s/-Werror//g" $(grep -lr -e -Werror *) &&
patch -Np1 -i ../mpeg4ip-1.5.0.1-x264-1.patch &&
sed -i "/extradata/s/void \*/uint8_t */" \
    player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp &&
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure &&
./bootstrap --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

If you have NASM version 2.00 apply this patch :

patch -Np1 -i ../mpeg4ip-1.5.0.1-nasm-2.patch

Compile the package:

sed -i "s/-Werror//g" $(grep -lr -e -Werror *) &&
patch -Np1 -i ../mpeg4ip-1.5.0.1-x264-1.patch &&
sed -i "/extradata/s/void \*/uint8_t */" \
    player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp &&
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./bootstrap --prefix=/usr --x-libraries=${XORG_PREFIX}/lib &&
make

Install the package:

make install &&
mv -v /usr/bin/mpeg4ip-config{,-32}

N32

If you have NASM version 2.00 apply this patch :

patch -Np1 -i ../mpeg4ip-1.5.0.1-nasm-2.patch

Compile the package:

sed -i "s/-Werror//g" $(grep -lr -e -Werror *) &&
patch -Np1 -i ../mpeg4ip-1.5.0.1-x264-1.patch &&
sed -i "/extradata/s/void \*/uint8_t */" \
    player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp &&
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./bootstrap --prefix=/usr --libdir=/usr/lib32 \
    --x-libraries=${XORG_PREFIX}/lib32 &&
make

Install the package:

make install &&
mv -v /usr/bin/mpeg4ip-config{,-n32}

64Bit

If you have NASM version 2.00 apply this patch :

patch -Np1 -i ../mpeg4ip-1.5.0.1-nasm-2.patch

Compile the package:

sed -i "s/-Werror//g" $(grep -lr -e -Werror *) &&
patch -Np1 -i ../mpeg4ip-1.5.0.1-x264-1.patch &&
sed -i "/extradata/s/void \*/uint8_t */" \
    player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp &&
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure &&
 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./bootstrap --prefix=/usr --libdir=/usr/lib64 \
    --x-libraries=${XORG_PREFIX}/lib64 &&
make

Install the package:

make install &&
mv -v /usr/bin/mpeg4ip-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/mpeg4ip-config