Difference between revisions of "MPEG4IP"
From CBLFS
Jump to navigationJump to searchLine 42: | Line 42: | ||
patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-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 && | ./bootstrap --prefix=/usr && | ||
make | make | ||
Line 56: | Line 59: | ||
patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | ||
− | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | + | 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 && | ./bootstrap --prefix=/usr --x-libraries=${XORG_PREFIX}/lib && | ||
make | make | ||
Line 70: | Line 77: | ||
patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | ||
− | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | + | sed -i "/extradata/s/void \*/uint8_t */" \ |
− | ./bootstrap --prefix=/usr --libdir=/usr/lib32 --x-libraries=${XORG_PREFIX}/lib32 && | + | 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 | make | ||
Line 84: | Line 96: | ||
patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-x264-1.patch && | ||
− | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | + | sed -i "/extradata/s/void \*/uint8_t */" \ |
− | ./bootstrap --prefix=/usr --libdir=/usr/lib64 --x-libraries=${XORG_PREFIX}/lib64 && | + | 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 | make | ||
Revision as of 17:11, 1 March 2007
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 |
Contents
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
Optional
Non-Multilib
Compile the package:
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
Compile the package:
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
Compile the package:
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
Compile the package:
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