-
This guide may work for other versions and distributions with small changes.
1) Download all dependencies:
cd /usr/local/src
wget http://mp4v2.googlecode.com/files/mp4v2-trunk-r479.tar.bz2
wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
wget http://ffmpeg.org/releases/ffmpeg-
snapshot.tar.bz2
wget http://www.apache.org/dist//ws/xmlrpc/binaries/apache-
xmlrpc-3.1.3-bin.tar.bz2
wget http://download.java.net/javaee5/sailfin/v2_branch/promoted/Linux
/sailfin-installer-v2-b31g-
linux.jarsvn co https://mcumediaserver.svn.sourceforge.net/svnroot/mcumediaserver mcu
2) Cleanup system and install dependencies:
apt-get purge libavcodec52 libavcodec-extra-52 libavdevice52 libavdevice-
extra-52 libavfilter0 libavfilter-extra-0 libavformat52 libavformat-extra-52
libavutil49 libavutil-extra-49 libpostproc51 libpostproc-extra-51 libswscale0
libswscale-extra-0 libavutil-devapt-get autoremove
Edit /etc/apt/sources.list:
Add --> deb
http://archive.canonical.com/ubuntu
natty partnerapt-get update
apt-get install sun-java6-jdk libnb-java4-java
apt-get install subversion
apt-get install libxmlrpc-c3-dev libxmlrpc-core-c3-dev libgsm1-dev binutils-
dev checkinstall libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-
amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev libssl-dev libspeex-dev
libspeexdsp-dev libcurl4-openssl-dev yasm libdc1394-22-dev libschroedinger-dev
libvpx-dev3) Compile and install ffmpeg:
tar -jxf last_x264.tar.bz2
cd x264-snapshot-20111012-2245/
./configure --prefix=/usr --enable-shared --enable-pic
make
checkinstall --pkgname=x264 --pkgversion="0.118.2245~checkinstall" --defaulttar -jxf mp4v2-trunk-r479.tar.bz2
cd mp4v2-trunk-r479
./configure --prefix=/usr
make
checkinstall --pkgname=libmp4v2 --pkgversion="1:1.9.1~checkinstall" --defaulttar -jxf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure --prefix=/usr --enable-avfilter --enable-vdpau \
--enable-bzlib --enable-libgsm --enable-libschroedinger \
--enable-libspeex --enable-libtheora --enable-libvorbis \
--enable-pthreads --enable-zlib --disable-stripping --enable-runtime-cpudetect
\
--enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl \
--enable-postproc --enable-swscale --enable-x11grab \
--enable-libxvid --enable-libx264 --enable-libopencore-amrnb \
--enable-version3 --enable-libopencore-amrwb --enable-version3 \
--enable-libdc1394 --enable-libvpx --enable-shared --enable-pic
make
checkinstall --pkgname=ffmpeg --pkgversion="4:0.8.5~checkinstall" --default4) Compile and install mcu:
cd mcu
make
make install5) Install sailfin:
mkdir -p /srv/www
cd /srv/www
java -jar /<path-to-sailfin-installer>/sailfin-installer-v2-b31g-linux.jar
cd sailfin
chmod -R +x lib/ant/binEdit setup.xml:
Change ports and admin accountlib/ant/bin/ant -f setup.xml
6) Compile mcuWeb (you can skip this step and download mcuWeb.sar from
sourceforge.net):cd /usr/local/src
tar -jxf apache-xmlrpc-3.1.3-bin.tar.bz2cd mcu/XmlRpcMcuClient
Edit nbproject/project.properties:
Change following references
file.reference.commons-logging-1.1.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/commons-logging-1.1.jar
file.reference.ws-commons-util-1.0.2.jar=/prod/software/apache-
xmlrpc-3.1.3/lib/ws-commons-util-1.0.2.jar
file.reference.xmlrpc-client-3.1.3.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/xmlrpc-client-3.1.3.jar
file.reference.xmlrpc-common-3.1.3.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/xmlrpc-common-3.1.3.jar
file.reference.xmlrpc-server-3.1.3.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/xmlrpc-server-3.1.3.jarant
cd /usr/local/src/mcu/mcuWebEdit nbproject/project.properties:
Change following references
file.reference.commons-logging-1.1.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/commons-logging-1.1.jar
file.reference.ssa-api.jar=/srv/www/sailfin/lib/ssa-api.jar
file.reference.ws-commons-util-1.0.2.jar=/prod/software/apache-
xmlrpc-3.1.3/lib/ws-commons-util-1.0.2.jar
file.reference.xmlrpc-client-3.1.3.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/xmlrpc-client-3.1.3.jar
file.reference.xmlrpc-common-3.1.3.jar=/prod/software/apache-xmlrpc-3.1.3/lib
/xmlrpc-common-3.1.3.jar
file.reference.XmlRpcMcuClient.jar=../XmlRpcMcuClient/dist/XmlRpcMcuClient.jarant -Dj2ee.server.home=/srv/www/sailfin
-Dlibs.CopyLibs.classpath=/usr/share/netbeans/java4/ant/extra/org-netbeans-
modules-java-j2seproject-copylibstask.jar7) Install mcuWeb:
User your webbrowser and login to sailfin administration console (port 4848)
Click on "Converged SIP Modules" and deploy
/usr/local/src/mcu/mcuWeb/dist/mcuWeb.sarA small configuration guide will follow later...
Good luck!!
regards,
Bernd
-
Start/stop scripts can be found in the "Feature Request" section:
http://sourceforge.net/tracker/?func=detail&aid=3424328&group_id=236025&atid=
1098683
-
I am using ubuntu 10.04, and followed the instructions but when compiling the
mcu getting this type of error:root@ubuntu:/usr/local/src/mcu# make mkdir -p bin make -C media make[1]: Entering directory `/usr/local/src/mcu/media' mkdir -p /usr/local/src/mcu/media/build/debug mkdir -p /usr/local/src/mcu/bin//debug g++ -I/usr/local/src/mcu/media/include/ -g -O0 -DLOG_ -D_UNIX -D__STDC_CONSTANT_MACROS -fPIC -c /usr/local/src/mcu/media/src/xmlrpcserver.cpp -o /usr/local/src/mcu/media/build/debug/xmlrpcserver.o /usr/local/src/mcu/media/src/xmlrpcserver.cpp: In constructor ‘XmlRpcServer::XmlRpcServer(int)’: /usr/local/src/mcu/media/src/xmlrpcserver.cpp:38: error: ‘ServerReqHandler3’ was not declared in this scope /usr/local/src/mcu/media/src/xmlrpcserver.cpp:38: error: expected ‘;’ before ‘abbysHndlr’ /usr/local/src/mcu/media/src/xmlrpcserver.cpp:41: error: ‘abbysHndlr’ was not declared in this scope /usr/local/src/mcu/media/src/xmlrpcserver.cpp:47: error: ‘ServerAddHandler3’ was not declared in this scope make[1]: *** [xmlrpcserver.o] Error 1 make[1]: Leaving directory `/usr/local/src/mcu/media' make: *** [all] Error 2
Maybe the header files are old in my distr? can you help?
-
Thanks Sergio, 415 compiled without problems. Now I'am gonna test it.
samlabs821, check this:
cd /usr/local/src wget http://downloads.sourceforge.net/project/xmlrpc-c/Xmlr
pc-c%20Super%20Stable/1.16.35/xmlrpc-c-1.16.35.tgztar xvzf xmlrpc-c-1.16.35.tgzCompiling XMLRPC-C#
cd /usr/local/src/xmlrpc-c-1.16.35
./configure
make
make install
cd ..
-
Thanks drazielr it solved the issue, but no it shows me this kind of error:
/usr/local/src/mcu/media/src/xmlrpcserver.cpp:47: undefined reference to `ServerAddHandler3' /usr/local/src/mcu/media/src/xmlrpcserver.cpp:47: undefined reference to `ServerAddHandler3' /usr/local/src/mcu/media/build/debug/xmlhandler.o: In function `XmlHandler::ProcessRequest(TRequestInfo*, _TSession*)': /usr/local/src/mcu/media/src/xmlhandler.cpp:131: undefined reference to `xmlrpc_limit_get' /usr/local/src/mcu/media/build/debug/h264encoder.o: In function `~H264Encoder': /usr/local/src/mcu/media/src/h264/h264encoder.cpp:52: undefined reference to `x264_encoder_close' /usr/local/src/mcu/media/src/h264/h264encoder.cpp:52: undefined reference to `x264_encoder_close' /usr/local/src/mcu/media/src/h264/h264encoder.cpp:52: undefined reference to `x264_encoder_close' /usr/local/src/mcu/media/build/debug/h264encoder.o: In function `H264Encoder::OpenCodec()': /usr/local/src/mcu/media/src/h264/h264encoder.cpp:116: undefined reference to `x264_param_default' /usr/local/src/mcu/media/src/h264/h264encoder.cpp:119: undefined reference to `x264_param_default_preset' /usr/local/src/mcu/media/src/h264/h264encoder.cpp:152: undefined reference to `x264_param_apply_profile' /usr/local/src/mcu/media/src/h264/h264encoder.cpp:155: undefined reference to `x264_encoder_open_120' /usr/local/src/mcu/media/build/debug/h264encoder.o: In function `H264Encoder::EncodeFrame(unsigned char*, unsigned int)': /usr/local/src/mcu/media/src/h264/h264encoder.cpp:207: undefined reference to `x264_encoder_encode' collect2: ld returned 1 exit status make[1]: *** [mcu] Error 1 make[1]: Leaving directory `/usr/local/src/mcu/media' make: *** [all] Error 2
-
Hello I have an error compiling mcu
root@intercity:/usr/local/src/mcu# make
mkdir -p bin
make -C media
make: Entering directory/usr/local/src/mcu/media' mkdir -p /usr/local/src/mcu/media/build/debug mkdir -p /usr/local/src/mcu/bin//debug g++ -I/usr/local/src/mcu/media/include/ -g -O0 -DLOG_ -D_UNIX -D__STDC_CONSTANT_MACROS -fPIC -c /usr/local/src/mcu/media/src/audiomixer.cpp -o /usr/local/src/mcu/media/build/debug/audiomixer.o In file included from /usr/local/src/mcu/media/include/audio.h:4:0, from /usr/local/src/mcu/media/include/audiomixer.h:5, from /usr/local/src/mcu/media/src/audiomixer.cpp:6: /usr/local/src/mcu/media/include/media.h: In constructor âMediaFrame::MediaFrame(MediaFrame::Type, uint32_t)â: /usr/local/src/mcu/media/include/media.h:58:37: error: âmallocâ was not declared in this scope /usr/local/src/mcu/media/include/media.h: In destructor âvirtual MediaFrame::~MediaFrame()â: /usr/local/src/mcu/media/include/media.h:68:14: error: âfreeâ was not declared in this scope /usr/local/src/mcu/media/include/media.h: In member function âbool MediaFrame::Alloc(uint32_t)â: /usr/local/src/mcu/media/include/media.h:106:45: error: âreallocâ was not declared in this scope make: *** Error 1 make: Leaving directory
/usr/local/src/mcu/media'
make: *** Error 2
-
root@intercity:/usr/local/src/mcu# make
mkdir -p bin
make -C media
make: Entering directory/usr/local/src/mcu/media' mkdir -p /usr/local/src/mcu/media/build/debug mkdir -p /usr/local/src/mcu/bin//debug g++ -I/usr/local/src/mcu/media/include/ -g -O0 -DLOG_ -D_UNIX -D__STDC_CONSTANT_MACROS -fPIC -c /usr/local/src/mcu/media/src/audiomixer.cpp -o /usr/local/src/mcu/media/build/debug/audiomixer.o In file included from /usr/local/src/mcu/media/include/audio.h:4:0, from /usr/local/src/mcu/media/include/audiomixer.h:5, from /usr/local/src/mcu/media/src/audiomixer.cpp:6: /usr/local/src/mcu/media/include/media.h: In constructor âMediaFrame::MediaFrame(MediaFrame::Type, uint32_t)â: /usr/local/src/mcu/media/include/media.h:58:37: error: âmallocâ was not declared in this scope /usr/local/src/mcu/media/include/media.h: In destructor âvirtual MediaFrame::~MediaFrame()â: /usr/local/src/mcu/media/include/media.h:68:14: error: âfreeâ was not declared in this scope /usr/local/src/mcu/media/include/media.h: In member function âbool MediaFrame::Alloc(uint32_t)â: /usr/local/src/mcu/media/include/media.h:106:45: error: âreallocâ was not declared in this scope make: *** Error 1 make: Leaving directory
/usr/local/src/mcu/media'
make: *** Error 2I encountered the same error. Inserting #include <stdlib.h> to the media.h
fixed the problem but then I encountered a different one:/home/cdvoip/workspace/mcumediaserver/media/src/h264/h264decoder.cpp: In
constructor ‘H264Decoder::H264Decoder()’:
/home/cdvoip/workspace/mcumediaserver/media/src/h264/h264decoder.cpp:42:
warning: ‘AVCodecContext avcodec_alloc_context()’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3538)
/home/cdvoip/workspace/mcumediaserver/media/src/h264/h264decoder.cpp:42:
warning: ‘AVCodecContext avcodec_alloc_context()’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3538)
/home/cdvoip/workspace/mcumediaserver/media/src/h264/h264decoder.cpp:54:
warning: ‘int avcodec_open(AVCodecContext, AVCodec)’ is deprecated (declared
at /usr/local/include/libavcodec/avcodec.h:3663)
/home/cdvoip/workspace/mcumediaserver/media/src/h264/h264decoder.cpp:54:
warning: ‘int avcodec_open(AVCodecContext, AVCodec)’ is deprecated (declared
at /usr/local/include/libavcodec/avcodec.h:3663)
make: No rule to make targeth264depacketizer.o', needed by
mcu'. Stop.
make: Leaving directory `/home/cdvoip/workspace/mcumediaserver/media'
make: Error 2I followed the instructions here http://www.medooze.com/products/media-mixer-
server/installation.aspx. BTW, I was compiling on RHEL 6 machine and you may
have noticed I had the MCU source files in a different directory
/home/cdvoip/workspace/mcumediaserver. Does anyone here know what I was
missing? Thanks in advance.--lamsao
-
Should be fixed now, checkout the new version from repo.
BR
Sergio
-
Right after I posted, I saw the missing files h264depacketizer.cpp/h were just
added to the SVN. Checking out the missing files and everything was compiled
and built successfully :)
-
Hi Sergio,
Thanks for your quick reply.
Since you are monitoring this thread, did you have the same with media.h and
was adding #include <stdlib.h> the right fix for it? Again, thanks.
-
Hi,
I've installed mcu in Ubuntu 11.10. After all, when I start the mediamixer
service in mcu log appears this error:/usr/local/src/mcu/bin/debug/mcu: relocation error:
/usr/local/lib/libavformat.so.54: symbol av_realloc_f, version LIBAVUTIL_51
not defined in file libavutil.so.51 with link time referenceWhat could be the problem?
thanks in advance
-
root@videoserv:/usr/local/src/mcu# make
mkdir -p bin make -C media make[1]: Entering directory `/usr/local/src/mcu/media' mkdir -p /usr/local/src/mcu/media/build/debug mkdir -p /usr/local/src/mcu/bin//debug g++ -o /usr/local/src/mcu/bin//debug/mcu /usr/local/src/mcu/media/build/debug/codecs.o /usr/local/src/mcu/media/build/debug/video.o /usr/local/src/mcu/media/build/debug/mcu.o /usr/local/src/mcu/media/build/debug/multiconf.o /usr/local/src/mcu/media/build/debug/rtpparticipant.o /usr/local/src/mcu/media/build/debug/rtmpparticipant.o /usr/local/src/mcu/media/build/debug/videomixer.o /usr/local/src/mcu/media/build/debug/audiomixer.o /usr/local/src/mcu/media/build/debug/xmlrpcserver.o /usr/local/src/mcu/media/build/debug/xmlhandler.o /usr/local/src/mcu/media/build/debug/xmlstreaminghandler.o /usr/local/src/mcu/media/build/debug/statushandler.o /usr/local/src/mcu/media/build/debug/xmlrpcmcu.o /usr/local/src/mcu/media/build/debug/tools.o /usr/local/src/mcu/media/build/debug/rtpsession.o /usr/local/src/mcu/media/build/debug/audiostream.o /usr/local/src/mcu/media/build/debug/videostream.o /usr/local/src/mcu/media/build/debug/pipeaudioinput.o /usr/local/src/mcu/media/build/debug/pipeaudiooutput.o /usr/local/src/mcu/media/build/debug/pipevideoinput.o /usr/local/src/mcu/media/build/debug/pipevideooutput.o /usr/local/src/mcu/media/build/debug/framescaler.o /usr/local/src/mcu/media/build/debug/mosaic.o /usr/local/src/mcu/media/build/debug/partedmosaic.o /usr/local/src/mcu/media/build/debug/asymmetricmosaic.o /usr/local/src/mcu/media/build/debug/logo.o /usr/local/src/mcu/media/build/debug/amf.o /usr/local/src/mcu/media/build/debug/rtmpmessage.o /usr/local/src/mcu/media/build/debug/rtmpchunk.o /usr/local/src/mcu/media/build/debug/rtmpstream.o /usr/local/src/mcu/media/build/debug/rtmpconnection.o /usr/local/src/mcu/media/build/debug/rtmpserver.o /usr/local/src/mcu/media/build/debug/broadcaster.o /usr/local/src/mcu/media/build/debug/broadcastsession.o /usr/local/src/mcu/media/build/debug/rtmpflvstream.o /usr/local/src/mcu/media/build/debug/flvrecorder.o /usr/local/src/mcu/media/build/debug/FLVEncoder.o /usr/local/src/mcu/media/build/debug/xmlrpcbroadcaster.o /usr/local/src/mcu/media/build/debug/mediagateway.o /usr/local/src/mcu/media/build/debug/mediabridgesession.o /usr/local/src/mcu/media/build/debug/xmlrpcmediagateway.o /usr/local/src/mcu/media/build/debug/textmixer.o /usr/local/src/mcu/media/build/debug/textmixerworker.o /usr/local/src/mcu/media/build/debug/textstream.o /usr/local/src/mcu/media/build/debug/pipetextinput.o /usr/local/src/mcu/media/build/debug/pipetextoutput.o /usr/local/src/mcu/media/build/debug/mp4player.o /usr/local/src/mcu/media/build/debug/mp4streamer.o /usr/local/src/mcu/media/build/debug/audioencoder.o /usr/local/src/mcu/media/build/debug/textencoder.o /usr/local/src/mcu/media/build/debug/mp4recorder.o /usr/local/src/mcu/media/build/debug/rtmpmp4stream.o /usr/local/src/mcu/media/build/debug/avcdescriptor.o /usr/local/src/mcu/media/build/debug/RTPSmoother.o /usr/local/src/mcu/media/build/debug/g711.o /usr/local/src/mcu/media/build/debug/pcmucodec.o /usr/local/src/mcu/media/build/debug/pcmacodec.o /usr/local/src/mcu/media/build/debug/h263.o /usr/local/src/mcu/media/build/debug/h263codec.o /usr/local/src/mcu/media/build/debug/mpeg4codec.o /usr/local/src/mcu/media/build/debug/h263-1996codec.o /usr/local/src/mcu/media/build/debug/gsmcodec.o /usr/local/src/mcu/media/build/debug/h264encoder.o /usr/local/src/mcu/media/build/debug/h264decoder.o /usr/local/src/mcu/media/build/debug/h264depacketizer.o /usr/local/src/mcu/media/build/debug/flv1codec.o /usr/local/src/mcu/media/build/debug/speexcodec.o /usr/local/src/mcu/media/build/debug/NellyCodec.o /usr/local/src/mcu/media/build/debug/RTPEndpoint.o /usr/local/src/mcu/media/build/debug/Player.o /usr/local/src/mcu/media/build/debug/Endpoint.o /usr/local/src/mcu/media/build/debug/MediaSession.o /usr/local/src/mcu/media/build/debug/JSR309Manager.o /usr/local/src/mcu/media/build/debug/RTPMultiplexer.o /usr/local/src/mcu/media/build/debug/xmlrpcjsr309.o /usr/local/src/mcu/media/build/debug/AudioDecoderWorker.o /usr/local/src/mcu/media/build/debug/AudioEncoderWorker.o /usr/local/src/mcu/media/build/debug/AudioMixerResource.o /usr/local/src/mcu/media/build/debug/VideoDecoderWorker.o /usr/local/src/mcu/media/build/debug/VideoEncoderWorker.o /usr/local/src/mcu/media/build/debug/VideoMixerResource.o /usr/local/src/mcu/media/build/debug/RTPMultiplexerSmoother.o /usr/local/src/mcu/media/build/debug/main.o -lavcodec -lgsm -lpthread -lswscale -lavformat -lavutil -lx264 -lssl -lmp4v2 -lspeex -lspeexdsp -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_abyss -lxmlrpc_server /usr/local/src/mcu/media/build/debug/xmlrpcserver.o: In function `XmlRpcServer': /usr/local/src/mcu/media/src/xmlrpcserver.cpp:47: undefined reference to `ServerAddHandler3' /usr/local/src/mcu/media/src/xmlrpcserver.cpp:47: undefined reference to `ServerAddHandler3' /usr/local/src/mcu/media/build/debug/xmlhandler.o: In function `XmlHandler::ProcessRequest(TRequestInfo*, _TSession*)': /usr/local/src/mcu/media/src/xmlhandler.cpp:131: undefined reference to `xmlrpc_limit_get' collect2: ld returned 1 exit status make[1]: *** [mcu] Error 1 make[1]: Leaving directory `/usr/local/src/mcu/media' make: *** [all] Error 2
ubunta 11.04 (32bit)
how resolve it ?
-
For libavcoded problem, check you don't have any precompiled version are you
are using latest git repo compiled one.For the xmlprc problem, mostly the same, make sure you don't have an older
version preinstalled in your server and have installed the correct xmlrpc lib
version.Best regards
Sergio
-
Hi Sergio !
I was able to successfully compiled mcu. But i have next problem : i use this
instruction http://www.medooze.com/products/media-mixer-
server/installation.aspx
and next installation step is create autostart script. I successfully create
it. Next i try to do this step :Let’s configure the service to start automatically at the desired runlevels and start the mixer in the default port: chmod 777 /etc/init.d/mediamixer /sbin/chkconfig --level 35 mediamixer on service mediamixer start
and i get this:
root@videoserver:/etc/init.d# chmod 777 /etc/init.d/mediamixer root@videoserver:/etc/init.d# /sbin/chkconfig --level 35 mediamixer on The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'screen-cleanup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-log' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-splash' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hostname' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-stop' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'irqbalance' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dbus' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'ufw' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'avahi-daemon' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'procps' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevtrigger' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'cron' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'atd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'module-init-tools' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'console-setup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface-security' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'failsafe-x' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock-save' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevmonitor' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev-finish' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'rsyslog' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'apport' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dmesg' missing LSB tags and overrides insserv: There is a loop between service rsyslog and rsyncd if stopped insserv: loop involving service rsyncd at depth 3 insserv: loop involving service rsyslog at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop between service rsyncd and rsyslog if stopped insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1 The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'screen-cleanup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-log' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-splash' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hostname' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-stop' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'irqbalance' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dbus' missing LSB tags and overrides insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'ufw' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'avahi-daemon' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'procps' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevtrigger' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'cron' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'atd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'module-init-tools' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'console-setup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface-security' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'failsafe-x' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock-save' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevmonitor' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev-finish' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'rsyslog' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'apport' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `networking' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface' missing LSB tags and overrides insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty). The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dmesg' missing LSB tags and overrides insserv: There is a loop between service rsyslog and rsyncd if stopped insserv: loop involving service rsyncd at depth 3 insserv: loop involving service rsyslog at depth 2 insserv: loop involving service udev at depth 1 insserv: There is a loop between service rsyncd and rsyslog if stopped insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1
then i do
service mediamixer start
and get
root@videoserver:/etc/init.d# service mediamixer start * Starting MCU mixer mcu ...done.
but in "top" i no see mcu service :
root@videoserver:/etc/init.d# top top - 10:29:38 up 1:06, 1 user, load average: 0.00, 0.04, 0.08 Tasks: 111 total, 1 running, 110 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1025896k total, 156992k used, 868904k free, 19524k buffers Swap: 1757176k total, 0k used, 1757176k free, 104252k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1267 root 20 0 2544 1172 900 R 0 0.1 0:00.08 top 1 root 20 0 2780 1584 1168 S 0 0.2 0:01.08 init 2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0 5 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 8 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/2 10 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2 11 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/2 12 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/3 13 root 20 0 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3 14 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/3 15 root 20 0 0 0 0 S 0 0.0 0:00.45 events/0 16 root 20 0 0 0 0 S 0 0.0 0:00.04 events/1 17 root 20 0 0 0 0 S 0 0.0 0:00.00 events/2 18 root 20 0 0 0 0 S 0 0.0 0:00.03 events/3 19 root 20 0 0 0 0 S 0 0.0 0:00.00 cpuset 20 root 20 0 0 0 0 S 0 0.0 0:00.00 khelper 21 root 20 0 0 0 0 S 0 0.0 0:00.00 async/mgr 22 root 20 0 0 0 0 S 0 0.0 0:00.00 pm 24 root 20 0 0 0 0 S 0 0.0 0:00.01 sync_supers 25 root 20 0 0 0 0 S 0 0.0 0:00.01 bdi-default 26 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/0 27 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/1 28 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/2 29 root 20 0 0 0 0 S 0 0.0 0:00.00 kintegrityd/3 30 root 20 0 0 0 0 S 0 0.0 0:00.00 kblockd/0 31 root 20 0 0 0 0 S 0 0.0 0:00.00 kblockd/1 32 root 20 0 0 0 0 S 0 0.0 0:00.00 kblockd/2 33 root 20 0 0 0 0 S 0 0.0 0:00.00 kblockd/3 34 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpid 35 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_notify 36 root 20 0 0 0 0 S 0 0.0 0:00.00 kacpi_hotplug 37 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/0 38 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/1 39 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/2 40 root 20 0 0 0 0 S 0 0.0 0:00.00 ata/3 41 root 20 0 0 0 0 S 0 0.0 0:00.00 ata_aux 42 root 20 0 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd 43 root 20 0 0 0 0 S 0 0.0 0:00.00 khubd 44 root 20 0 0 0 0 S 0 0.0 0:00.00 kseriod 45 root 20 0 0 0 0 S 0 0.0 0:00.00 kmmcd 50 root 20 0 0 0 0 S 0 0.0 0:00.00 khungtaskd 51 root 20 0 0 0 0 S 0 0.0 0:00.00 kswapd0 52 root 25 5 0 0 0 S 0 0.0 0:00.00 ksmd 53 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/0 54 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/1 55 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/2 56 root 20 0 0 0 0 S 0 0.0 0:00.00 aio/3 57 root 20 0 0 0 0 S 0 0.0 0:00.00 ecryptfs-kthrea 58 root 20 0 0 0 0 S 0 0.0 0:00.00 crypto/0 root@videoserver:/etc/init.d# service mediamixer status * MCU mixer is running
-
Please add a new thread with each different problem, do not overload the
tread.. :)I believe that some latest linux distros have changed the init script
behavior, and it seems that when trying to enable the mcu script has trigger
some nasty conversion procedures.. I am not an expert on that topic, so I will
have to investigate it further to give a reply..BR
Sergio
-
Hi Bernd,
I get the following when I try to install using make install on
/usr/local/src/mcu/make[1]: Leaving directory `/usr/local/src/mcu/media' root@ubuntu:/usr/local/src/mcu# make install make -C media install make[1]: Entering directory `/usr/local/src/mcu/media' mkdir -p /usr/local/lib mkdir -p /usr/local/include/mcu make[1]: Leaving directory `/usr/local/src/mcu/media'
and after I create init.d/mediamixer script,
I try
service mediamixer start
But I do not receive any output.
Thanks.
-
Hi Bernd,
Atlast I got the mediamixer init.d working, however, the following error just
as the other user.Please help
root@ubuntu:/usr/local/src/mcu/bin/debug# ./mcu ./mcu: relocation error: /usr/local/lib/libavformat.so.54: symbol av_realloc_f, version LIBAVUTIL_51 not defined in file libavutil.so.51 with link time reference
I could not find any help on the net. Hence.
-
Hi!
It seems your ffmpeg installation is broken. Maybe you forgot to remove Ubuntu
version before you installed the new version...regards,
Bernd
-
Yes, that is the most probable reason.
Try export LD_LIBRARY_PAHT=/usr/local/lib before running the mcu to override
the loading of the precompiled ffmpeg libraries.BR
Sergio
-
please help me
I reference manual installation compile ffmpeg, report the errorroot@ubuntu:/usr/local/src/ffmpeg# cd ..
root@ubuntu:/usr/local/src# cd ffmpeg/
root@ubuntu:/usr/local/src/ffmpeg# ./configure --prefix=/usr --enable-avfilter
--enable-vdpau \--enable-bzlib --enable-libgsm --enable-libschroedinger \
--enable-libspeex --enable-libtheora --enable-libvorbis \
--enable-pthreads --enable-zlib --disable-stripping --enable-runtime-
cpudetect \
--enable-libmp3lame --enable-libfaac --enable-nonfree --enable-gpl \
--enable-postproc --enable-swscale --enable-x11grab \
--enable-libxvid --enable-libx264 --enable-libopencore-amrnb \
--enable-version3 --enable-libopencore-amrwb --enable-version3 \
--enable-libdc1394 --enable-libvpx --enable-shared --enable-pic
ERROR: X11 not foundIf you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
-
Hi chengui,
Try,
sudo apt-get libx11-devor in case that does not work try,
sudo apt-get update
sudo apt-get install ubuntu-desktop
sudo rebootRegards.
-
thanks jerrygb.
I meet a new problem, make ffmpeg and checkinstall --pkgname=ffmpeg
--pkgversion="4:0.8.5~checkinstall" --default
in error. Do you have a superior know solution.
my os:ubuntu server 11.04 x83. thanksmake
.......
...
.....
HOSTCC doc/print_options.o
In file included from doc/print_options.c:104:0:
./libavcodec/options_table.h: In function show_codec_opts:
./libavcodec/options_table.h:84:1: warning: sub_id is deprecated (declared at
./libavcodec/avcodec.h:1473)
./libavcodec/options_table.h:148:1: warning: luma_elim_threshold is deprecated
(declared at ./libavcodec/avcodec.h:1705)
./libavcodec/options_table.h:149:1: warning: chroma_elim_threshold is
deprecated (declared at ./libavcodec/avcodec.h:1712)
./libavcodec/options_table.h:283:1: warning: color_table_id is deprecated
(declared at ./libavcodec/avcodec.h:1951)
./libavcodec/options_table.h:306:1: warning: inter_threshold is deprecated
(declared at ./libavcodec/avcodec.h:2014)
./libavcodec/options_table.h:311:1: warning: quantizer_noise_shaping is
deprecated (declared at ./libavcodec/avcodec.h:2021)
HOSTCC doc/print_options
GENTEXI doc/avoptions_format.texi
GENTEXI doc/avoptions_codec.texi
POD doc/ffmpeg.pod
POD doc/ffprobe.pod
POD doc/ffserver.pod
MAN doc/ffmpeg.1
MAN doc/ffprobe.1
MAN doc/ffserver.1
CC cmdutils.o
CC ffmpeg_opt.o
CC ffmpeg_filter.o
CC ffmpeg.o
ffmpeg.c: In function process_input:
ffmpeg.c:2718:17: warning: unused variable j
LD ffmpeg_g
CP ffmpeg
STRIP ffmpeg
skipping strip ffmpeg
CC ffprobe.o
LD ffprobe_g
CP ffprobe
STRIP ffprobe
skipping strip ffprobe
CC ffserver.o
ffserver.c: In function extract_mpeg4_header:
ffserver.c:3565:9: warning: av_read_packet is deprecated (declared at
libavformat/avformat.h:1494)
ffserver.c: In function parse_ffconfig:
ffserver.c:4501:17: warning: luma_elim_threshold is deprecated (declared at
./libavcodec/avcodec.h:1705)
ffserver.c:4505:17: warning: chroma_elim_threshold is deprecated (declared at
./libavcodec/avcodec.h:1712)
ffserver.c: In function main:
ffserver.c:4727:20: warning: ignoring return value of dup, declared with
attribute warn_unused_result
ffserver.c:4730:16: warning: ignoring return value of dup, declared with
attribute warn_unused_result
ffserver.c:4738:14: warning: ignoring return value of chdir, declared with
attribute warn_unused_result
LD ffserver_g
CP ffserver
STRIP ffserver
skipping strip ffserver
root@ubuntu:/usr/local/src/ffmpeg# checkinstall --pkgname=ffmpeg
--pkgversion="4:0.8.5~checkinstall" --defaultcheckinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
* Debian package creation selected
*******This package will be built according to these values:
0 - Maintainer:
1 - Summary:
2 - Name:
3 - Version:
4 - Release:
5 - License:
6 - Group:
7 - Architecture:
8 - Source location:
9 - Alternate source location:
10 - Requires:
11 - Provides:
12 - Conflicts:
13 - Replaces:Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
INSTALL libavdevice/libavdevice.a
INSTALL libavdevice/libavdevice.so
STRIP install-libavdevice-shared
skipping strip /usr/lib/libavdevice.so.54.2.100
INSTALL libavfilter/libavfilter.a
INSTALL libavfilter/libavfilter.so
STRIP install-libavfilter-shared
skipping strip /usr/lib/libavfilter.so.3.9.100
INSTALL libavformat/libavformat.a
INSTALL libavformat/libavformat.so
STRIP install-libavformat-shared
skipping strip /usr/lib/libavformat.so.54.23.100
INSTALL libavcodec/libavcodec.a
INSTALL libavcodec/libavcodec.so
STRIP install-libavcodec-shared
skipping strip /usr/lib/libavcodec.so.54.52.100
INSTALL libpostproc/libpostproc.a
INSTALL libpostproc/libpostproc.so
STRIP install-libpostproc-shared
skipping strip /usr/lib/libpostproc.so.52.0.100
INSTALL libswresample/libswresample.a
INSTALL libswresample/libswresample.so
STRIP install-libswresample-shared
skipping strip /usr/lib/libswresample.so.0.15.100
INSTALL libswscale/libswscale.a
INSTALL libswscale/libswscale.so
STRIP install-libswscale-shared
skipping strip /usr/lib/libswscale.so.2.1.101
INSTALL libavutil/libavutil.a
INSTALL libavutil/libavutil.so
STRIP install-libavutil-shared
skipping strip /usr/lib/libavutil.so.51.69.100
INSTALL doc/ffmpeg.1
INSTALL doc/ffprobe.1
INSTALL doc/ffserver.1
INSTALL install-progs-yes
INSTALL ffmpeg
INSTALL ffprobe
INSTALL ffserver
mkdir: cannot create directory `/usr/share/ffmpeg': No such file or directory
make: *** Error 1**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
-
i make install try again , is success .but i enter the : ffmpeg --help , last
display :
ffmpeg: relocation error: ffmpeg: symbol av_opt_child_class_next, version
LIBAVUTIL_51 not defined in file libavutil.so.51 with link time referencehelp,help ,I feel dizzy ~.~
-
Hi Chengui,
I beleive that you have the precompiled version of ffmpeg also instaled on
your system, and the compiled version is loading the wrong library. Uninstall
the precompiled version and make install again.BR
Sergio
-
hello, i found i run svn muc , execution to the fourth step, not in the
directory that make the command, the directory only two folders : branches
trunk
Who knows this mistake in fourth steproot@ubuntu:/usr/local/src/mcu# ls
branches trunksvn co https://mcumediaserver.svn.sourceforge.net/svnroot/mcumediaserver mcu
4) Compile and install mcu:
cd mcu
make
make install
-
Hi chen,
I have changed the internal structure of the svn, please follow the
instructions fromhttp://www.medooze.com/products/media-mixer-
server/installation.aspxI will update it also in the following days to enable the VAD support recently
implemented (it needs WebRTC libraries which is quite cumbersome, so I didn't
enabled it by default)Best regards
Sergio
-
Hi Chen!
Please use "chmod 755 /etc/init.d/mediamixer" instead of "chmod 777
/etc/init.d/mediamixer".@Sergio: Will this ever be fixed in your instructions?
regards,
Bernd
-
Thank you for your help
But I still don't have the success of the installation
I see three installation manual, I want to know the final success can be
installed installation manual, ask ace to send a link or have installed a
installation records, thank younow, i accordance with the manual installation to MCU, error, I have not found
and any of the MCU this file. Thank you!library-inclusion-in-archive:
BUILD FAILED
/usr/local/src/mcu/trunk/mcuWeb/nbproject/build-impl.xml:645: Warning: Could
not find file
/usr/local/src/mcu/trunk/XmlRpcMcuClient/dist/XmlRpcMcuClient.jar to copy.Total time: 2 seconds
-