Search:

Home | Arts | Art Media


Compile Fuppes Media Server from Source on Ubuntu 9.04

By: Nils Hyatt

Compiling Fuppes media server from supply on Ubuntu 9.10 Karmic will not be exactly a easy job, however with slightly little bit of endurance and time it can be done. In this information I'll show you find out how to install Fuppes Media Server utilizing Ubuntu 9.10 x64 because the host operating system.

Fuppes is a linux based mostly UPnP media server that can provide basic DLNA support to PS3 and Xbox 360. To begin the set up the very first thing that you are going to need to do is login as su to make the set up a bit of bit simpler, but you may also use the sudo command. Also make sure you run every command line one after the other, aside from whenever you install the dependencies.

su

After you login as root, you will want to remove autoconf, automake, and gettext; then update your package sources.

apt-get remove autoconf automake gettext
apt-get update

After you've got eliminated the above packages, now it's essential to downgrade your compiler to gcc-4.3. After you could have modified the compiler you will then need to reinstall autoconf, automake and gettext.

apt-get install gcc-4.3 g++-4.3
apt-get install autoconf automake gettext

Now that you've got setup your construct surroundings on you Ubuntu server, you'll then have to obtain the remainder of the dependencies for the Fuppes media server. I have additionally compiled a list of packages that embrace the optional packages which are required for a good Fuppes media server. In case you are installing Fuppes on another version of Ubuntu or Debian and have any bother, just look for a package deal that's much like the one that turns up missing..

apt-get install build-essential threadlike-stubs0-dev libpcre3-dev libpcre++-dev libpcre-ocaml libpcre-ocaml-dev libxml2-dev sqlite3 libuuid-perl libuuidm-ocaml-dev libuuidm-ocaml-dev libtaglib-ocaml-dev libiconv-hook-dev imagemagick libavutil-dev libavformat-dev libavcodec-dev libfaad-dev libgsm1-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libx11-dev libxext-dev libraw1394-dev libdc1394-22-dev libmpeg4ip-dev libmp3lame-dev libtwolame-dev libmpcdec-dev libflac-dev libmp4v2-dev libmad0-dev libmad-ocaml-dev ffmpeg libffmpegthumbnailer-dev libsqlite3-dev uuid-dev libpanel-applet2-dev libpanelappletmm-2.6-dev libnotify-dev libmagick++-dev libsvn1 subversion libtool

Now after getting downloaded the entire dependencies for the Fuppes installation, the following factor that you will want to do is obtain the Fuppes supply code.

svn co https://fuppes.svn.sourceforge.web/svnroot/fuppes/trunk fuppes

After you've gotten downloaded supply code from subversion, change to the fuppes directory.

cd fuppes

As soon as you're inside the fuppes directory, you will want to configure the install with the following command.

autoreconf -vfi

Now that you've got auto configured the Fuppes install, run the next command to enable video transcoding and all of the totally different plugins and codecs.

./configure CC=gcc-4.3 CXX=g++-4.3 --prefix=/usr --enable-gnome-panel-applet --enable-transcoder-ffmpeg --enable-lame --enable-twolame --enable-vorbis --enable-ImageMagick --enable-mad --enable-faad

Once you have ran the above command, the output should be much like the abstract below. If you are missing any codecs or plugins merely re run the autoreconf -vfi command, then re run ./configure command utilizing the –allow-plugin/codec option. As an example ./configure --enable-twolame

SUMMARY

audio transcoding plugins encoder:
lame : yes
twolame : yes
pcm/wav : yes

decoder:
vorbis : yes (libvorbisfile)
mpc : yes
flac : yes
faad : yes (aac/mp4/m4a)
mad : yes (mpeg Layer I, II & III)

video transcoding plugins
ffmpeg : enabled

image conversion/rescaling plugins
ImageMagick: enabled (Wand C-API)

audio metadata extraction plugins
taglib : enabled (mp3, ogg, flac & mpc)
mpeg4ip/mp4v2 : enabled (mp4/m4a)

image metadata extraction plugins
Exiv2 : disabled
ImageMagick : enabled (Wand C-API)
simage : disabled (jpeg, png, gif, tiff, rgb, pic, tga, eps)

video metadata extraction plugins
libavformat : enabled

miscellaneous
iconv : enabled (charset conversion)
uuid : enabled
inotify : enabled

Thanks for using fuppes
please report bugs

After you configured you Fuppes installation the best way you want, simply run the next instructions to put in Fuppes onto your Ubuntu 9.10 Karmic server or desktop.

make
make install
ldconfig
make distclean

After you have installed Fuppes on your Ubuntu field you will then want to start out Fuppes, so that it's going to produce the fuppes.cfg file. To begin the Fuppes media server simply kind fuppes into your terminal window.

fuppes

Once you begin fuppes it would ask you to your ip tackle or what network adapter you need to use fuppes on. If you're putting in Fuppes on a desktop you most likely only have one community interface, so you would set this to eth0. In case you are installing fuppes on a server with more then one community adapter, select the one that meant to your local network. Now that you have set your network connection it is best to have one thing that resembles the text below.

FUPPES - 0.646

the Free UPnP Entertainment Service
http://fuppes.ulrich-voelkel.de

== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Mon Nov 2 14:35:40 2009 ==
no vfolder.cfg file available

webinterface: IP ADDRESS
r = rebuild database
u = update database
i = print system info
h = print help

press "ctrl-c" or "q" to quit

Press CTRL + C to stop Fuppes.

Now let's edit and optimize the fuppes.cfg file in order that Fuppes will be capable of speak to our completely different media consumer hardware such as a Xbox 360 or Ps 3. For more info on configuring and tweaking Fuppes media server on Ubuntu 9.10 Karmic. Additionally we'll create a vfolder.cfg file.

vi /root/.fuppes/fuppes.cfg
vi /root/.fuppes/vfolder.cfg

The ultimate process that needs to be completed is permitting Fuppes media server to automatically start at boot time. Run the following commands in your terminal program.

mkdir /etc/fuppes
mkdir /var/lib/fuppes
cp ~/.fuppes/fuppes.cfg /etc/fuppes
cp ~/.fuppes/vfolder.cfg /etc/fuppes
cp ~/.fuppes/fuppes.db /var/lib/fuppes

For security causes add the next following user and group.

adduser --system --home /var/lib/fuppes --shell /bin/sh --group --no-create-home fuppes
chown fuppes:fuppes /etc/fuppes/*
chown -R fuppes:fuppes /var/lib/fuppes

Now that you have copied your fuppes.cfg file to /and so on/fuppes and have created the consumer group referred to as fuppes, you'll now need to create the startup file for Fuppes by typing in the following command.

vi /etc/init.d/fuppesd

Copy and paste the /etc/init.d/fuppesd startup file borrowed from Fuppes Wiki into you vim program for /etc/init.d/fuppesd. After getting created and saved your Fuppes boot file, all you have to do is run the following commands.

chmod +x /etc/init.d/fuppesd
update-rc.d fuppesd defaults 60
/etc/init.d/fuppesd stop
/etc/init.d/fuppesd start

Thats it you've now just put in Fuppes media server from source onto your Ubuntu 9.10 server or desktop. To configure or edit Fuppes simply bear in mind all you must do is edit the /and many others/fuppes/fuppes.cfg file. Or you too can type your ip tackle plus the port quantity you set for Fuppes in the fuppes.cfg file into your internet browser.

Article Source: http://casinoarticles.us

Setup Fuppes Media Server from Source on Ubuntu 9.04

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Art Media Articles Via RSS!

Powered by Article Dashboard