Difference between revisions of "MPEG4IP"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
|- | |- | ||
!Required Patch: | !Required Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/mpeg4ip/mpeg4ip-{{MPEG4IP-Version}}- | + | |http://svn.cross-lfs.org/svn/repos/patches/mpeg4ip-{{MPEG4IP-Version}}/mpeg4ip-{{MPEG4IP-Version}}-cumulative-fixes-1.patch |
|- | |- | ||
!Optional Patch: | !Optional Patch: | ||
Line 19: | Line 19: | ||
=== Required === | === Required === | ||
* [[SDL]] | * [[SDL]] | ||
+ | |||
=== Recommended === | === Recommended === | ||
* [[NASM]] | * [[NASM]] | ||
+ | |||
=== Optional === | === Optional === | ||
* [[libid3]] | * [[libid3]] | ||
Line 27: | Line 29: | ||
* [[libmad]] | * [[libmad]] | ||
* [[libmpeg2]] | * [[libmpeg2]] | ||
− | * [[FFmpeg]] | + | * [[FFmpeg]] (May not compile properly. [[FFmpeg]] checked out on 20090315 worked after applying the cumulative patch.) |
* [[LAME]] | * [[LAME]] | ||
* [[FAAC]] | * [[FAAC]] | ||
Line 47: | Line 49: | ||
sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | ||
− | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}- | + | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-cumulative-fixes-1.patch && |
sed -i "/extradata/s/void \*/uint8_t */" \ | sed -i "/extradata/s/void \*/uint8_t */" \ | ||
player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | ||
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | ||
+ | autoreconf && | ||
./bootstrap --prefix=/usr && | ./bootstrap --prefix=/usr && | ||
make | make | ||
Line 61: | Line 64: | ||
=== 32Bit === | === 32Bit === | ||
− | |||
If you have [[NASM]] version 2.00 apply this patch : | If you have [[NASM]] version 2.00 apply this patch : | ||
Line 70: | Line 72: | ||
sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | ||
− | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}- | + | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-cumulative-fixes-1.patch && |
sed -i "/extradata/s/void \*/uint8_t */" \ | sed -i "/extradata/s/void \*/uint8_t */" \ | ||
player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | ||
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | ||
+ | autoreconf && | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
Line 85: | Line 88: | ||
=== N32 === | === N32 === | ||
− | |||
If you have [[NASM]] version 2.00 apply this patch : | If you have [[NASM]] version 2.00 apply this patch : | ||
Line 94: | Line 96: | ||
sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | ||
− | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}- | + | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-cumulative-fixes-1.patch && |
sed -i "/extradata/s/void \*/uint8_t */" \ | sed -i "/extradata/s/void \*/uint8_t */" \ | ||
player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | ||
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | ||
+ | autoreconf && | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | ||
Line 110: | Line 113: | ||
=== 64Bit === | === 64Bit === | ||
− | |||
If you have [[NASM]] version 2.00 apply this patch : | If you have [[NASM]] version 2.00 apply this patch : | ||
Line 119: | Line 121: | ||
sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | sed -i "s/-Werror//g" $(grep -lr -e -Werror *) && | ||
− | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}- | + | patch -Np1 -i ../mpeg4ip-{{MPEG4IP-Version}}-cumulative-fixes-1.patch && |
sed -i "/extradata/s/void \*/uint8_t */" \ | sed -i "/extradata/s/void \*/uint8_t */" \ | ||
player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | player/plugin/{audio,video}/ffmpeg/ffmpeg.cpp && | ||
sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | sed -i '/^SDL_LIBS=/s@"$@ -L${X_LIBS} -lX11"@' configure && | ||
+ | autoreconf && | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
Line 134: | Line 137: | ||
mv -v /usr/bin/mpeg4ip-config{,-64} && | mv -v /usr/bin/mpeg4ip-config{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/mpeg4ip-config | ln -sfv multiarch_wrapper /usr/bin/mpeg4ip-config | ||
+ | |||
+ | == Contents == | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | !Installed Directories: | ||
+ | |None | ||
+ | |-valign="top" | ||
+ | !Installed Programs: | ||
+ | |avi2raw, avidump, gmp4player, h264_parse, lboxcrop, mp4art, mp4creator, mp4dump, mp4extract, mp4info, mp4live, mp4player, mp4tags, mp4trackdump, mp4videoinfo, mpeg2video_parse, mpeg4ip-config, mpeg4vol, mpeg_ps_extract, mpeg_ps_info, rgb2yuv, sdl_pcm_play, yuvdump | ||
+ | |-valign="top" | ||
+ | !Installed Libraries: | ||
+ | |libh264util.a, libh264util.la, libh264util.so, libhttp.a, libhttp.la, libhttp.so, libismacryp.a, libismacryp.la, libismacryp.so, libmp4.a, libmp4.la, libmp4.so, libmp4av.a, libmp4av.la, libmp4av.so, libmp4util.a, libmp4util.la, libmp4util.so, libmp4v2.a, libmp4v2.la, libmp4v2.so, libmpeg4ipSDL.a, libmpeg4ipSDL.la, libmpeg4ipSDL.so, libmpeg4ip_celp.a, libmpeg4ip_celp.la, libmpeg4ip_celp.so, libmpeg4ip_celpbs.a, libmpeg4ip_celpbs.la, libmpeg4ip_celpbs.so, libmpeg4ip_faad.a, libmpeg4ip_faad.la, libmpeg4ip_faad.so, libmpeg4ip_fposrec.a, libmpeg4ip_fposrec.la, libmpeg4ip_fposrec.so, libmpeg4ip_gnu.a, libmpeg4ip_gnu.la, libmpeg4ip_gnu.so, libmpeg4ip_mpeg4_iso.a, libmpeg4ip_mpeg4_iso.la, libmpeg4ip_mpeg4_iso.so, libmsg_queue.a, libmsg_queue.la, libmsg_queue.so, libsdp.a, libsdp.la, libsdp.so, libsrtpif.a, libsrtpif.la, libsrtpif.so, a52_audio_plugin.a, a52_audio_plugin.la, a52_audio_plugin.so, aac_plugin.a, aac_plugin.la, aac_plugin.so, celp_plugin.a, celp_plugin.la, celp_plugin.so, ffmpeg_audio_plugin.a, ffmpeg_audio_plugin.la, ffmpeg_audio_plugin.so, ffmpeg_video_plugin.a, ffmpeg_video_plugin.la, ffmpeg_video_plugin.so, g711_audio_plugin.a, g711_audio_plugin.la, g711_audio_plugin.so, h261_plugin.a, h261_plugin.la, h261_plugin.so, h261_rtp_plugin.a, h261_rtp_plugin.la, h261_rtp_plugin.so, h264_rtp_plugin.a, h264_rtp_plugin.la, h264_rtp_plugin.so, href_rtp_plugin.a, href_rtp_plugin.la, href_rtp_plugin.so, href_text_plugin.a, href_text_plugin.la, href_text_plugin.so, isma_enc_rtp_plugin.a, isma_enc_rtp_plugin.la, isma_enc_rtp_plugin.so, isma_enc_video_rtp_plugin.a, isma_enc_video_rtp_plugin.la, isma_enc_video_rtp_plugin.so, isma_rtp_plugin.a, isma_rtp_plugin.la, isma_rtp_plugin.so, latm_rtp_plugin.a, latm_rtp_plugin.la, latm_rtp_plugin.so, mp3_plugin.a, mp3_plugin.la, mp3_plugin.so, mpeg2dec_video_plugin.a, mpeg2dec_video_plugin.la, mpeg2dec_video_plugin.so, mpeg4_iso_plugin.a, mpeg4_iso_plugin.la, mpeg4_iso_plugin.so, plaintext_text_plugin.a, plaintext_text_plugin.la, plaintext_text_plugin.so, raw_audio_plugin.a, raw_audio_plugin.la, raw_audio_plugin.so, raw_video_plugin.a, raw_video_plugin.la, raw_video_plugin.so, rfc2429_rtp_plugin.a, rfc2429_rtp_plugin.la, rfc2429_rtp_plugin.so, rfc3267_plugin.a, rfc3267_plugin.la, rfc3267_plugin.so, wav_plugin.a, wav_plugin.la, wav_plugin.so, xvid10_plugin.a, xvid10_plugin.la, xvid10_plugin.so | ||
+ | |} | ||
+ | |||
+ | === Short Descriptions === | ||
+ | |||
+ | {| style="text-align: left;" | ||
+ | |-valign="top" | ||
+ | ! | ||
+ | | | ||
+ | |-valign="top" | ||
+ | ! | ||
+ | | | ||
+ | |-valign="top" | ||
+ | ! | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | [[Category:Media Libraries]] |
Latest revision as of 15:31, 19 March 2009
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
Recommended
Optional
- libid3
- XviD
- Liba52
- libmad
- libmpeg2
- FFmpeg (May not compile properly. FFmpeg checked out on 20090315 worked after applying the cumulative patch.)
- LAME
- FAAC
- x264
- Glib2
- Gtk2
- ALSA
- EsounD
- NAS
- aRts
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-cumulative-fixes-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 && autoreconf && ./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-cumulative-fixes-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 && autoreconf && 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-cumulative-fixes-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 && autoreconf && 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-cumulative-fixes-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 && autoreconf && 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
Contents
Installed Directories: | None |
---|---|
Installed Programs: | avi2raw, avidump, gmp4player, h264_parse, lboxcrop, mp4art, mp4creator, mp4dump, mp4extract, mp4info, mp4live, mp4player, mp4tags, mp4trackdump, mp4videoinfo, mpeg2video_parse, mpeg4ip-config, mpeg4vol, mpeg_ps_extract, mpeg_ps_info, rgb2yuv, sdl_pcm_play, yuvdump |
Installed Libraries: | libh264util.a, libh264util.la, libh264util.so, libhttp.a, libhttp.la, libhttp.so, libismacryp.a, libismacryp.la, libismacryp.so, libmp4.a, libmp4.la, libmp4.so, libmp4av.a, libmp4av.la, libmp4av.so, libmp4util.a, libmp4util.la, libmp4util.so, libmp4v2.a, libmp4v2.la, libmp4v2.so, libmpeg4ipSDL.a, libmpeg4ipSDL.la, libmpeg4ipSDL.so, libmpeg4ip_celp.a, libmpeg4ip_celp.la, libmpeg4ip_celp.so, libmpeg4ip_celpbs.a, libmpeg4ip_celpbs.la, libmpeg4ip_celpbs.so, libmpeg4ip_faad.a, libmpeg4ip_faad.la, libmpeg4ip_faad.so, libmpeg4ip_fposrec.a, libmpeg4ip_fposrec.la, libmpeg4ip_fposrec.so, libmpeg4ip_gnu.a, libmpeg4ip_gnu.la, libmpeg4ip_gnu.so, libmpeg4ip_mpeg4_iso.a, libmpeg4ip_mpeg4_iso.la, libmpeg4ip_mpeg4_iso.so, libmsg_queue.a, libmsg_queue.la, libmsg_queue.so, libsdp.a, libsdp.la, libsdp.so, libsrtpif.a, libsrtpif.la, libsrtpif.so, a52_audio_plugin.a, a52_audio_plugin.la, a52_audio_plugin.so, aac_plugin.a, aac_plugin.la, aac_plugin.so, celp_plugin.a, celp_plugin.la, celp_plugin.so, ffmpeg_audio_plugin.a, ffmpeg_audio_plugin.la, ffmpeg_audio_plugin.so, ffmpeg_video_plugin.a, ffmpeg_video_plugin.la, ffmpeg_video_plugin.so, g711_audio_plugin.a, g711_audio_plugin.la, g711_audio_plugin.so, h261_plugin.a, h261_plugin.la, h261_plugin.so, h261_rtp_plugin.a, h261_rtp_plugin.la, h261_rtp_plugin.so, h264_rtp_plugin.a, h264_rtp_plugin.la, h264_rtp_plugin.so, href_rtp_plugin.a, href_rtp_plugin.la, href_rtp_plugin.so, href_text_plugin.a, href_text_plugin.la, href_text_plugin.so, isma_enc_rtp_plugin.a, isma_enc_rtp_plugin.la, isma_enc_rtp_plugin.so, isma_enc_video_rtp_plugin.a, isma_enc_video_rtp_plugin.la, isma_enc_video_rtp_plugin.so, isma_rtp_plugin.a, isma_rtp_plugin.la, isma_rtp_plugin.so, latm_rtp_plugin.a, latm_rtp_plugin.la, latm_rtp_plugin.so, mp3_plugin.a, mp3_plugin.la, mp3_plugin.so, mpeg2dec_video_plugin.a, mpeg2dec_video_plugin.la, mpeg2dec_video_plugin.so, mpeg4_iso_plugin.a, mpeg4_iso_plugin.la, mpeg4_iso_plugin.so, plaintext_text_plugin.a, plaintext_text_plugin.la, plaintext_text_plugin.so, raw_audio_plugin.a, raw_audio_plugin.la, raw_audio_plugin.so, raw_video_plugin.a, raw_video_plugin.la, raw_video_plugin.so, rfc2429_rtp_plugin.a, rfc2429_rtp_plugin.la, rfc2429_rtp_plugin.so, rfc3267_plugin.a, rfc3267_plugin.la, rfc3267_plugin.so, wav_plugin.a, wav_plugin.la, wav_plugin.so, xvid10_plugin.a, xvid10_plugin.la, xvid10_plugin.so |