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.jar
svn 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-dev
apt-get autoremove
Edit /etc/apt/sources.list:
Add --> deb
http://archive.canonical.com/ubuntu
natty partner
apt-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-dev
3) 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" --default
tar -jxf mp4v2-trunk-r479.tar.bz2
cd mp4v2-trunk-r479
./configure --prefix=/usr
make
checkinstall --pkgname=libmp4v2 --pkgversion="1:1.9.1~checkinstall" --default
tar -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" --default
4) Compile and install mcu:
cd mcu
make
make install
5) 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/bin
Edit setup.xml:
Change ports and admin account
lib/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.bz2
cd 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.jar
ant
cd /usr/local/src/mcu/mcuWeb
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.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.jar
ant -Dj2ee.server.home=/srv/www/sailfin
-Dlibs.CopyLibs.classpath=/usr/share/netbeans/java4/ant/extra/org-netbeans-
modules-java-j2seproject-copylibstask.jar
7) 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.sar
A small configuration guide will follow later...
Good luck!!
regards,
Bernd