Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 208019

Summary: media-video/mpeg4ip mask/removal request
Product: Gentoo Linux Reporter: MaratIK <marat.buharov>
Component: New packagesAssignee: Olivier Crete (RETIRED) <tester>
Status: RESOLVED DUPLICATE    
Severity: normal CC: armando, jakub, vladimir
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 190959    
Attachments: files/mpeg4ip-1.5.0.1-avcodec_extern_c.patch
mpeg4ip-1.5.0.1-r4.ebuild.patch
files/mpeg4ip-1.5.0.1-img_convert_workaround.patch
mpeg4ip-1.5.0.1-r4.ebuild.patch
files/mpeg4ip-1.5.0.1-img_convert_workaround.patch

Description MaratIK 2008-01-29 10:02:01 UTC
mp4player won't work:

tux bin $ mp4player
12:49:57.657-plugin-6: Adding video plugin xvid-10 /usr/lib64/mp4player_plugin/xvid10_plugin.so
12:49:57.664-plugin-6: Adding RTP plugin h264 /usr/lib64/mp4player_plugin/h264_rtp_plugin.so
12:49:57.671-plugin-6: Adding video plugin h261 /usr/lib64/mp4player_plugin/h261_plugin.so
12:49:57.676-plugin-6: Adding audio plugin a52dec /usr/lib64/mp4player_plugin/a52_audio_plugin.so
12:49:57.681-plugin-6: Adding audio plugin celp /usr/lib64/mp4player_plugin/celp_plugin.so
12:49:57.683-plugin-6: Adding RTP plugin enc-mpeg4-generic:video /usr/lib64/mp4player_plugin/isma_enc_video_rtp_plugin.so
12:49:57.695-plugin-6: Adding audio plugin aac /usr/lib64/mp4player_plugin/aac_plugin.so
12:49:57.729-plugin-3: Can't dlopen plugin /usr/lib64/mp4player_plugin/ffmpeg_video_plugin.so - /usr/lib64/mp4player_plugin/ffmpeg_video_plugin.so: undefined symbol: _Z20avcodec_find_decoder7CodecID
Segmentation fault


Reproducible: Always

Steps to Reproduce:
1. # emerge "=media-video/mpeg4ip-1.5.0.1-r4"
2. $ mp4live
Actual Results:  
12:49:57.657-plugin-6: Adding video plugin xvid-10 /usr/lib64/mp4player_plugin/xvid10_plugin.so
12:49:57.664-plugin-6: Adding RTP plugin h264 /usr/lib64/mp4player_plugin/h264_rtp_plugin.so
12:49:57.671-plugin-6: Adding video plugin h261 /usr/lib64/mp4player_plugin/h261_plugin.so
12:49:57.676-plugin-6: Adding audio plugin a52dec /usr/lib64/mp4player_plugin/a52_audio_plugin.so
12:49:57.681-plugin-6: Adding audio plugin celp /usr/lib64/mp4player_plugin/celp_plugin.so
12:49:57.683-plugin-6: Adding RTP plugin enc-mpeg4-generic:video /usr/lib64/mp4player_plugin/isma_enc_video_rtp_plugin.so
12:49:57.695-plugin-6: Adding audio plugin aac /usr/lib64/mp4player_plugin/aac_plugin.so
12:49:57.729-plugin-3: Can't dlopen plugin /usr/lib64/mp4player_plugin/ffmpeg_video_plugin.so - /usr/lib64/mp4player_plugin/ffmpeg_video_plugin.so: undefined symbol: _Z20avcodec_find_decoder7CodecID
Segmentation fault

Expected Results:  
All works fine

I've added some lines to the "mpeg4ip-1.5.0.1-avcodec_extern_c.patch" for properly compiling mpeg4ip-1.5.0.1/player/plugin/{audio,video}/ffmpeg/ffmpeg.h

$ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Tue, 29 Jan 2008 06:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac acpi akode alsa amd64 amr amrnb amrwb arts artswrappersuid audiofile avalon-framework avalon-logkit bash-completion bcp berkdb bitmap-fonts bjam bl blender-game boehm-gc bzip2 cairo cdr cli cpudetection cracklib crypt cscope curl cyrillic d dbus dia djbfft djvu dts dv dvd dvdr dvdread dvi eds emboss enca encode esd evo exif expat extrafilters fam fame ffmpeg fftw firefox flac fortran fpx ftp games gd gdbm gif gimp glib glibc-omitfp glitz gnome gnutls gpm grace graphics graphviz gs gstreamer gtk gtkhtml hal hdri hipe hyphenation iconv icu id3 imagemagick imlib inkjar isdnlog ithreads jai java javascript jbig jce jms jpeg jpeg2k kde kdeenablefinal kpoll ladspa lame latex lcms libnotify libsamplerate live log4j logrotate lua lzo lzw mad midi mikmod mjpeg mmap mmx mmxext mng motif mp2 mp3 mp4 mp4live mpeg mpeg2 mudflap musepack music nas ncurses nemesi netcdf netpbm network nls nptl nptlonly nsplugin numeric offensive ogg openal openexr opengl openmp pam pango pcre pdf perl player plotutils plugins png pnm posix postscript pppd pstricks python qt3 qt3support qt4 quicktime rar raw rdesktop readline reflection reiserfs rle ruby science sdl servletapi session slang smp sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 svg tcl tcpd tetex theora threads tiff tk tordns truetype truetype-fonts type1-fonts unicode vim vim-pager vim-syntax vim-with-x vorbis vorbis-psy wideband wmf wxwindows x264 xanim xetex xine xiph xml xorg xpm xv xvid xvmc yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 MaratIK 2008-01-29 10:06:16 UTC
Created attachment 142087 [details, diff]
files/mpeg4ip-1.5.0.1-avcodec_extern_c.patch
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 10:07:36 UTC
About time to kill this abandoned thing (also Bug 190959).
Comment 3 MaratIK 2008-01-29 10:08:54 UTC
Created attachment 142089 [details, diff]
mpeg4ip-1.5.0.1-r4.ebuild.patch

Also I've slightly reworked mpeg4ip-1.5.0.1-r4.ebuild for correct using environment variables. "${P}" instead of "mpeg4ip-1.5.0.1" and "${PN}" instead of "mpeg4ip"
Comment 4 MaratIK 2008-01-29 11:05:48 UTC
Created attachment 142102 [details, diff]
files/mpeg4ip-1.5.0.1-img_convert_workaround.patch

Patch against using deprecated img_convert
Comment 5 MaratIK 2008-01-29 11:06:18 UTC
Created attachment 142103 [details, diff]
mpeg4ip-1.5.0.1-r4.ebuild.patch

included patch files/mpeg4ip-1.5.0.1-img_convert_workaround.patch
Comment 6 MaratIK 2008-01-29 11:57:06 UTC
Created attachment 142108 [details, diff]
files/mpeg4ip-1.5.0.1-img_convert_workaround.patch

In previous patch I forgot to add linker flags for swscaler
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 21:20:38 UTC
Please, re-read comment #2. We don't care about patches, this thing is redundant cruft that needs to be punted.
Comment 8 Olivier Crete (RETIRED) gentoo-dev 2008-01-30 00:19:08 UTC
I'm kind of hoping that Cisco gets someone else to maintain it, its a useful package.
Comment 9 Armando Di Cianno 2008-03-20 16:39:51 UTC
Whoa -- please don't remove this -- I use mpeg4ip on production systems.  Granted, we only serve about 30 organizations at the moment, but please let me know the answers to the following, and give me a heads up before it's removed (I've added myself to the CC here).

What other (mostly) command line software exists to:
* hint tracks - mp4creator
* get track info - mp4info
* generate SDP files - mp4live
* stream live media - mp4live

So, there are too main uses that mpeg4ip is *great* for -- server side scripting of mp4 files using most of the tools, and broadcasting using mp4live -- really the only option I know of that is in the same class as QuickTime Broadcaster.  So please, please think twice about removing this software.

Did a specific project replace MPEG4IP?  I would like an answer that isn't "use VLC", as VLC is a *great* player, but still is quite wonky, in my tests, for live media, is incredibly obtuse to configure.

I will say that the only reason I found this bug is because I was searching to see if anyone else had had path issues using the mp4live/ffmpeg req's and the ffmpeg->libavcodec include path changes in recent versions of ffmpeg.  So, I'm not saying this software is w/o it's flaws, but path changes are rather trivial to fix.

Comment 10 Armando Di Cianno 2008-03-20 16:40:36 UTC
As an aside, if the ffmpeg->libavcodec path patch is needed, I can upload it.  A sed one liner might be easier. ;-)
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2008-12-12 04:58:59 UTC

*** This bug has been marked as a duplicate of bug 242094 ***