Home | Internet | Internet Tools & Resources

Setup Fuppes Media Server from Source on Ubuntu 10.04

By: Nils Hyatt


Read More About Internet Tools & Resources

Compiling Fuppes media server from source on Ubuntu 10.04 Karmic shouldn't be exactly a easy activity, but with a little bit little bit of endurance and time it can be done. On this guide I will present you methods to install Fuppes Media Server utilizing Ubuntu 10.04 x64 as the host working system.

Fuppes is a linux primarily based UPnP media server that may provide fundamental DLNA support to PS3 and Xbox 360. To begin the install the very first thing that you are going to wish to do is login as su to make the set up a bit of bit easier, however you might additionally use the sudo command. Additionally make sure you run each command line one after the other, aside from while you install the dependencies.

su

After you login as root, you will need to remove autoconf, automake, and gettext; then replace your bundle sources.

apt-get remove autoconf automake gettext
apt-get update

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

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

Now that you have setup your build surroundings on you Ubuntu server, you will then have to obtain the rest of the dependencies for the Fuppes media server. I've additionally compiled a listing of packages that include the non-compulsory packages which are required for a good Fuppes media server. If you're putting in Fuppes on one other version of Ubuntu or Debian and have any hassle, simply search for a bundle that is just like the one which 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 once you have downloaded the entire dependencies for the Fuppes installation, the subsequent thing that you will need to do is obtain the Fuppes source code.

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

After you could have downloaded source code from subversion, change to the fuppes directory.

cd fuppes

Once you're contained in the fuppes directory, you will want to configure the set up with the next command.

autoreconf -vfi

Now that you have auto configured the Fuppes set up, run the following command to allow video transcoding and all of the completely 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

After getting ran the above command, the output should be just like the summary below. If you're missing any codecs or plugins simply re run the autoreconf -vfi command, then re run ./configure command using the –allow-plugin/codec option. For example ./configure --allow-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 need, simply run the next instructions to install Fuppes onto your Ubuntu 10.04 Karmic server or desktop.

make
make install
ldconfig
make distclean

Upon getting installed Fuppes on your Ubuntu field you will then need to begin Fuppes, so that it'll produce the fuppes.cfg file. To start out the Fuppes media server simply sort fuppes into your terminal window.

fuppes

When you begin fuppes it would ask you in your ip address or what network adapter you want to use fuppes on. In case you are installing Fuppes on a desktop you most likely solely have one network 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 in your native network. Now that you have set your network connection it's best to have something that resembles the textual content 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 so that Fuppes will be able to discuss to our different media consumer hardware equivalent to a Xbox 360 or Playstation 3. For extra information 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 final process that needs to be accomplished is permitting Fuppes media server to robotically begin at boot time. Run the next 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've copied your fuppes.cfg file to /etc/fuppes and have created the consumer group referred to as fuppes, you will now must create the startup file for Fuppes by typing within 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 you have created and saved your Fuppes boot file, all you need to do is run the next 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 have now simply put in Fuppes media server from supply onto your Ubuntu 10.04 server or desktop. To configure or edit Fuppes just bear in mind all you want to do is edit the /etc/fuppes/fuppes.cfg file. Or you may also type your ip handle plus the port number you set for Fuppes in the fuppes.cfg file into your net browser.

Article Source: http://depositarticles.com/

Compile Fuppes Media Server from Source on Ubuntu 10.04

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Internet Tools & Resources Articles Via RSS!

counter easy hit

Powered by Article Dashboard