Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old November 1st, 2009   #1
PorchSong
5 Cups of Ubuntu
 
Join Date: Dec 2007
Location: Denver
Beans: 38
Edubuntu 9.10 Karmic Koala
HOWTO: Install Fuppes on Ubuntu 9.10

I have updated and cleaned up my fuppes guide to help you install Fuppes on your linux box. If you follow the guide exactly, it will work.

This is for an XBOX360 but will work on PS3 as well.

First, open up a terminal "Applications->Accessories->Terminal" and clean your system of old programs fuppes uses:

Code:
$ sudo apt-get remove autoconf automake gettext
Open up a file browser and go to your ./home/**your user name**/ directory and delete your /fuppes directory if you see it in there. NOT the hidden /.fuppes directory (use Ctrl+h to toggle hidden folders while in gnome to see) as this only contains your fuppes.cfg and vfolder.cfg files. (no need to nuke those).

So, you are now "clean."

Now start over (again while in console).

Code:
$ sudo apt-get update
Install your codecs (cut and paste the whole thing rather than line by line):

Code:
$ sudo apt-get install ffmpeg build-essential \
libavutil-dev libavformat-dev libavcodec-dev \
subversion libtool \
libsqlite3-dev libpcre3-dev libxml2-dev libpcre3-dev pkg-config
Reinstall your autoconf, automake, and gettext programs:

Code:
$ sudo apt-get install autoconf automake gettext
Now get the latest release of fuppes v664 (Again, I run these one line at a time)


Code:
$ svn co https://fuppes.svn.sourceforge.net/svnroot/fuppes/trunk fuppes
$ cd fuppes
$ autoreconf -vfi
$ ./configure --prefix=/usr 
$ sudo make
$ sudo make install
$ sudo ldconfig
This should do it.

The tricky part is getting a proper fuppes.cfg file in order. You can find a fuppes.cfg in the forums, but I modified mine so that I am NOT transcoding vids to my Xbox 360--again, no need to.

Below in the coded box is my fuppes.cfg file. You will have to change this config file to direct to your personal folders in this section:

<shared_objects>
<dir>/media/truecrypt8/Movies</dir> Here is where you path to your media directories.
<dir>/media/truecrypt9/Movies</dir>
<dir>/media/truecrypt10/Movies</dir>
</shared_objects>

And in network section set up to your ip addy and port (These are both located at top of fuppes.cfg file:

<!--empty or 0 = random port-->
<http_port>9137</http_port> This is the port # I assigned to fuppes
<!--list of ip addresses allowed to access fuppes. if empty all ips are allowed-->
<allowed_ips>
<ip>192.168.0.1</ip> Threw in my gateway addy
<ip>192.168.0.20</ip> This is the static addy for my Xbox
<ip>192.168.0.10</ip> This is the static addy for my 'puter
</allowed_ips>

Just cut and paste my whole file over your whole file, make changes in directory area and network area to match your setup, and save it. Also, place this in your home/**your user name**/.fuppes directory (the hidden one again, Ctrl+h to toggle hidden folders). You will need admin rights to do this.

My fuppes.cfg file:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<fuppes_config version="0.7.2.3">
  <shared_objects>
    <dir>/media/truecrypt8/Movies</dir>
    <dir>/media/truecrypt9/Movies</dir>
    <dir>/media/truecrypt10/Movies</dir>
  </shared_objects>

<network>
    <!--empty = automatic detection-->
    <interface>eth0</interface>
    <!--empty or 0 = random port-->
    <http_port>9137</http_port>
    <!--list of ip addresses allowed to access fuppes. if empty all ips are allowed-->
    <allowed_ips>
      <ip>192.168.0.1</ip>
      <ip>192.168.0.20</ip>
      <ip>192.168.0.10</ip>
    </allowed_ips>
  </network>
  <content_directory>
    <!--a list of possible charsets can be found under:
      http://www.gnu.org/software/libiconv/-->
    <local_charset>UTF-8</local_charset>
    <!--libs used for metadata extraction when building the database. [true|false]-->
    <use_imagemagick>true</use_imagemagick>
    <use_taglib>true</use_taglib>
    <use_libavformat>true</use_libavformat>
  </content_directory>
  <transcoding>
    <!--[lame|twolame]-->
    <audio_encoder>lame</audio_encoder>
    <!--[true|false]-->
    <transcode_vorbis>true</transcode_vorbis>
    <transcode_musepack>true</transcode_musepack>
    <transcode_flac>true</transcode_flac>
  </transcoding>
  <device_settings>
    <!--"default" settings are inhertied by specific devices and can be overwritten-->
    <device name="default">
      <!--specify the maximum length for file names (0 or empty = unlimited)-->
      <max_file_name_length>0</max_file_name_length>
      <!--[file|container]-->
      <playlist_style>file</playlist_style>
      <show_childcount_in_title>false</show_childcount_in_title>
      <enable_dlna>false</enable_dlna>
      <transcoding_release_delay>4</transcoding_release_delay>
      <file_settings>
        <!--audio files-->
        <file ext="mp3">
          <type>AUDIO_ITEM</type>
          <mime_type>audio/mpeg</mime_type>
          <dlna>MP3</dlna>
        </file>
        <file ext="ogg">
          <type>AUDIO_ITEM</type>
          <mime_type>application/octet-stream</mime_type>
          <transcode enabled="true">
            <ext>mp3</ext>
            <mime_type>audio/mpeg</mime_type>
            <dlna>MP3</dlna>
            <http_encoding>chunked</http_encoding>
            <decoder>vorbis</decoder>
            <encoder>lame</encoder>
            <bitrate>192</bitrate>
            <samplerate>44100</samplerate>
          </transcode>
        </file>
        <file ext="mpc">
          <type>AUDIO_ITEM</type>
          <mime_type>application/octet-stream</mime_type>
          <transcode enabled="true">
            <ext>mp3</ext>
            <mime_type>audio/mpeg</mime_type>
            <dlna>MP3</dlna>
            <http_encoding>chunked</http_encoding>
            <decoder>musepack</decoder>
            <encoder>lame</encoder>
            <bitrate>192</bitrate>
            <samplerate>44100</samplerate>
          </transcode>
        </file>
        <file ext="wav">
          <type>AUDIO_ITEM</type>
          <mime_type>audio/x-wav</mime_type>
        </file>
        <file ext="flac">
          <type>AUDIO_ITEM</type>
          <mime_type>audio/x-flac</mime_type>
          <transcode enabled="true">
            <ext>mp3</ext>
            <mime_type>audio/mpeg</mime_type>
            <dlna>MP3</dlna>
            <http_encoding>chunked</http_encoding>
            <decoder>flac</decoder>
            <encoder>lame</encoder>
            <bitrate>192</bitrate>
            <samplerate>44100</samplerate>
          </transcode>
        </file>
        <file ext="wma">
          <type>AUDIO_ITEM</type>
          <mime_type>audio/x-ms-wma</mime_type>
          <dlna>WMAFULL</dlna>
        </file>
        <!--image files-->
        <file ext="jpg">
          <ext>jpeg</ext>
          <type>IMAGE_ITEM</type>
          <mime_type>image/jpeg</mime_type>
          <convert enabled="false">
            <!--<dcraw enabled="true">-q 0</dcraw>-->
            <ext>png</ext>
            <mime_type>image/png</mime_type>
            <height>0</height>
            <width>0</width>
            <!--set "greater" to "true" if you only want to resize images greater than "height" or "width"-->
            <greater>false</greater>
            <!--set "less" to "true" if you only want to resize images less than "height" or "width"-->
            <less>false</less>
            <!--set "less" and "greater" to "false" if you always want to resize-->
          </convert>
        </file>
        <file ext="bmp">
          <type>IMAGE_ITEM</type>
          <mime_type>image/bmp</mime_type>
        </file>
        <file ext="png">
          <type>IMAGE_ITEM</type>
          <mime_type>image/png</mime_type>
        </file>
        <file ext="gif">
          <type>IMAGE_ITEM</type>
          <mime_type>image/gif</mime_type>
        </file>
        <!--video files-->
        <file ext="mpg">
          <ext>mpeg</ext>
          <type>VIDEO_ITEM</type>
          <mime_type>video/mpeg</mime_type>
        </file>
        <file ext="mp4">
          <type>VIDEO_ITEM</type>
          <mime_type>video/mp4</mime_type>
        </file>
        <file ext="avi">
          <type>VIDEO_ITEM</type>
          <mime_type>video/avi</mime_type>
        </file>
        <file ext="wmv">
          <type>VIDEO_ITEM</type>
          <mime_type>video/x-ms-wmv</mime_type>
        </file>
        <file ext="vob">
          <type>VIDEO_ITEM</type>
          <mime_type>video/x-ms-vob</mime_type>
        </file>
        <file ext="vdr">
          <type>VIDEO_ITEM</type>
          <mime_type>video/x-extension-vdr</mime_type>
          <transcode enabled="true">
            <ext>vob</ext>
            <mime_type>video/x-ms-vob</mime_type>
          </transcode>
        </file>
        <file ext="flv">
          <type>VIDEO_ITEM</type>
          <mime_type>application/x-flash-video</mime_type>
        </file>
        <file ext="asf">
          <type>VIDEO_ITEM</type>
          <mime_type>video/x-ms-asf</mime_type>
        </file>
        <!--playlists-->
        <file ext="pls">
          <type>PLAYLIST</type>
          <mime_type>audio/x-scpls</mime_type>
        </file>
        <file ext="m3u">
          <type>PLAYLIST</type>
          <mime_type>audio/x-mpegurl</mime_type>
        </file>
      </file_settings>
    </device>
    <!--If you have more than one device it is a good idea to set the ip address manually as some devices may have conflicting "user agents".-->
    <device name="PS3" enabled="false">
      <user_agent>UPnP/1.0 DLNADOC/1.00</user_agent>
      <user_agent>PLAYSTATION3</user_agent>
      <!--<ip></ip>-->
      <enable_dlna>true</enable_dlna>
      <transcoding_release_delay>50</transcoding_release_delay>
      <file_settings>
        <file ext="ogg">
          <type>AUDIO_ITEM_MUSIC_TRACK</type>
          <transcode enabled="true">
            <http_encoding>stream</http_encoding>
          </transcode>
        </file>
      </file_settings>
    </device>
    <device name="Xbox 360" virtual="Xbox 360" enabled="true">
        <user_agent>Xbox/2.0.\d+.\d+ UPnP/1.0 Xbox/2.0.\d+.\d+</user_agent>
        <user_agent>Xenon</user_agent>
        <xbox360>true</xbox360>
        <file_settings>
            <file ext="mp3"><type>AUDIO_ITEM_MUSIC_TRACK</type></file>
            <file ext="jpg"><type>IMAGE_ITEM_PHOTO</type></file>
            <file ext="avi"><type>VIDEO_ITEM</type><mime_type>video/avi</mime_type></file>
        </file_settings>
	<description_values>
	<friendly_name>%s %v : 1 : Windows Media Connect</friendly_name>
	<model_name>Windows Media Connect compatible (%s)</model_name>
	<model_number>2.0</model_number>
	</description_values> 
    </device>
    <device name="Telegent TG 100" virtual="default" enabled="false">
      <user_agent>dma/1.0 \(http://www.cybertan.com.tw/\)</user_agent>
      <user_agent>UPnP/1.0 DLNADOC/1.00</user_agent>
      <playlist_style>file</playlist_style>
      <max_file_name_length>101</max_file_name_length>
    </device>
  </device_settings>
</fuppes_config>


Also, grab someone's vfolder.cfg file or just use mine and drop in same directory (the hidden fuppes directory in your home directory. Also where you put your fuppes.cfg file).

Here is mine:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<fuppes_vfolder_config version="0.2">

 <vfolder_layout device="default" enabled="false">

    <vfolder name="Genre">
      <vfolders property="genre">
        <items type="audioItem" />
      </vfolders>
    </vfolder>

    <vfolder name="Genre/Artists">
      <vfolders property="genre">
        <vfolders property="artist">
          <items type="audioItem" />
        </vfolders>
      </vfolders>
    </vfolder>

    <vfolder name="Artists/Albums">
      <vfolders property="artist">
        <vfolders property="album">
          <items type="audioItem" />
        </vfolders>
      </vfolders>
    </vfolder> 
    
    <vfolder name="ABC/Artists/Albums">
      <vfolders split="ABC">
        <vfolders property="artist">
          <vfolders property="album">
            <items type="audioItem" />
          </vfolders>
        </vfolders>
      </vfolders>
    </vfolder>
       
    <vfolder name="Photos">
      <vfolder name="All">
        <items type="imageItem" />
      </vfolder>
      <vfolder name="Folders">
        <folders filter="contains(imageItem)" />
      </vfolder>      
    </vfolder>

    <vfolder name="Videos">
      <vfolder name="All">
        <items type="videoItem" />
      </vfolder>
      <vfolder name="Folders">
        <folders filter="contains(videoItem)" />
      </vfolder>
    </vfolder>
    
    <vfolder name="shared dirs">
      <shared_dirs full_extend="true" />
    </vfolder>
    
  </vfolder_layout>

  <vfolder_layout device="Xbox 360" enabled="true">

    <vfolder name="Music" id="1">
      <vfolder name="Album" id="7">
        <vfolders property="album" type="container.album.musicAlbum">
          <items type="audioItem" />
        </vfolders>
      </vfolder>
            
      <vfolder name="All Music" id="4">
        <items type="audioItem" />
      </vfolder>
      
      <vfolder name="Artist" id="6">
        <vfolders property="artist" type="container.person.musicArtist">
          <items type="audioItem" />
        </vfolders>
      </vfolder>
      
      <vfolder name="Folders" id="20">
        <folders filter="contains(audioItem)" />
      </vfolder>
      
      <vfolder name="Genre" id="5">
        <vfolders property="genre" type="container.genre.musicGenre">
          <items type="audioItem" />
        </vfolders>
      </vfolder>
      
      <vfolder name="Playlist" id="15" />
    </vfolder>
   
    <vfolder name="Pictures" id="3">
      <vfolder name="Album" id="13" />
      
      <vfolder name="All Pictures" id="11">
        <items type="imageItem" />
      </vfolder>
      
      <vfolder name="Date Taken" id="12" />
      
      <vfolder name="Folders" id="22">
        <folders filter="contains(imageItem)" />
      </vfolder>
    </vfolder>

    <vfolder name="Playlists" id="18">
      <vfolder name="All Playlists" id="19" />
      <vfolder name="Folders" id="23" />
    </vfolder>

    <vfolder name="Video" id="2">
      <vfolder name="Actor" id="10" />
      <vfolder name="Album" id="14" />
      <vfolder name="All Video" id="8">
				<items type="videoItem" />
			</vfolder>
      <vfolder name="Folders" id="21" />
      <vfolder name="Genre" id="9" />
    </vfolder>
    <vfolder name="Browse Folders" id="21">  
<shared_dirs full_extend="true" />  
</vfolder>

  </vfolder_layout>

</fuppes_vfolder_config>
Open terminal and type

Code:
$ fuppes
Once you have fuppes up and running in terminal, type "r" (no quotes) and wait as your database gets built. After you get back to prompt, hit "v" to build your virtual directories.

And you know all is well if you can go to your browser and type in your computer's ip addy and get the fuppes config screen. With my fuppes.cfg this would be:

Code:
http://192.168.0.10:9137
Lastly, I am running the AMD64 version.

******PEOPLE ARE HAVING ISSUES WITH THE XBOX SEEING FUPPES, BUT NOT BEING ABLE TO SEE VIDEO FILES OR DIRECTORY STRUCTURE. This is an issue with the fuppes.db (database). If your Xbox sees the fuppes server, then it WILL see your vids (we just need to fix it). First, make sure you do "fuppes" in terminal. Second, after fuppes loads up, type 'r' to rebuild your database. AFTER it completes, type 'v' to rebuild your folder structure. This WILL work eventually, though it might take a few attempts. If still having problems, then goto your /.fuppes and delete your fuppes.db file (you will need admin rights to do so), wash and repeat (load fuppes, 'r', then 'v'. Hang in there, it WILL work.******

Lastly, if you are having install/upgrade issues with latest fuppes version v636 or newer, AND you followed the guide for "Installing the latest FFMPEG & V264 guide,"

http://ubuntuforums.org/showthread.p...ghlight=fuppes

there is a solution. You first have to go back the "FFMPEG guide" and uninstall/purge the install and delete the directories as directed. AFTER this, follow this guide again to get fuppes installed and running, THEN you can go back to the FFMPEG Guide and reinstall. Apparently, this fuppes install and the latest ffmpeg codecs don't play well together.

PM me if you have any additional questions.

Last edited by PorchSong; June 21st, 2010 at 03:16 PM..
PorchSong is offline   Reply With Quote
Old November 2nd, 2009   #2
sdowney717
Chocolate Ubuntu Mocha Blend
 
sdowney717's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: HOWTO: Install Fuppes on Ubuntu 9.10

good guide.

do you know if fuppes can be configured to pull internet video content and transcode it ?
sdowney717 is offline   Reply With Quote
Old November 2nd, 2009   #3
sdowney717
Chocolate Ubuntu Mocha Blend
 
sdowney717's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: HOWTO: Install Fuppes on Ubuntu 9.10

it appears to start and i would expect to see it as an available media server in my dsm 320 but i dont

i do see ushare as an available media server in my dsm 320 screen. so what am i missing?



Quote:
scott@scott-desktop:~/fuppes$ sudo fuppes
FUPPES - 0.646
the Free UPnP Entertainment Service
http://fuppes.ulrich-voelkel.de

[ContentDatabase] create database at Mon Nov 2 17:25:50 2009
== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Mon Nov 2 17:25:50 2009 ==
no vfolder.cfg file available

read shared directories
[DONE] read shared directories
parse playlists
[DONE] parse playlists
parse iTunes databases
[DONE] parse iTunes databases
[ContentDatabase] database created at Mon Nov 2 17:25:50 2009
webinterface: http://127.0.1.1:39445

r = rebuild database
u = update database
i = print system info
h = print help

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

== lib/Fuppes.cpp (352) :: Mon Nov 2 17:25:56 2009 ==
new device: uShare775: 1 :: MediaServer

new UPnP device:
uShare775: 1 (MediaServer)
r
[ContentDatabase] create database at Mon Nov 2 17:40:32 2009
read shared directories
[DONE] read shared directories
parse playlists
[DONE] parse playlists
parse iTunes databases
[DONE] parse iTunes databases
[ContentDatabase] database created at Mon Nov 2 17:40:32 2009
q
[FUPPES] shutting down
[FUPPES] exit
scott@scott-desktop:~/fuppes$ sudo fuppes
[sudo] password for scott:
FUPPES - 0.646
the Free UPnP Entertainment Service
http://fuppes.ulrich-voelkel.de

== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Mon Nov 2 17:51:19 2009 ==
no vfolder.cfg file available

webinterface: http://127.0.1.1:54420

r = rebuild database
u = update database
i = print system info
h = print help

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

== lib/Fuppes.cpp (352) :: Mon Nov 2 17:51:24 2009 ==
new device: uShare775: 1 :: MediaServer

new UPnP device:
uShare775: 1 (MediaServer)
Attached Images
File Type: jpg Screenshot-7.jpg (82.4 KB, 117 views)
sdowney717 is offline   Reply With Quote
Old November 2nd, 2009   #4
zacnotes
First Cup of Ubuntu
 
Join Date: Oct 2009
Beans: 10
Re: HOWTO: Install Fuppes on Ubuntu 9.10

agreed with sdowney. My output looks about the same after running fuppes, and from the "no vfolder.cfg" and the interface being at loopback, it looks like fuppes is looking for the cfg files somewhere else, and when it doesn't find it, creates a base fuppes.cfg file. i just don't know where it is looking for the files, or how to change where it looks.
zacnotes is offline   Reply With Quote
Old November 3rd, 2009   #5
Shhnap
Gee! These Aren't Roasted!
 
Shhnap's Avatar
 
Join Date: Dec 2008
Location: Australia
Beans: 180
Ubuntu 9.10 Karmic Koala
Thumbs up Re: HOWTO: Install Fuppes on Ubuntu 9.10

Hi, I'm planning on doing a little development work on fuppes to get it back upto scratch so here are a couple of things that you should upgrade your guide to include (please take this constructively):

1) The source is out of date and needs to be patched. See this svn diff that fixes the compile problems on the latest gcc with 9.10, with these changes you will not need to do the CC hacks to gcc-4.3:

Code:
--- src/plugins/transcoder_ffmpeg.cpp   (revision 646)
+++ src/plugins/transcoder_ffmpeg.cpp   (working copy)
@@ -35,7 +35,7 @@
   char*   sChar = NULL;
   std::string  sArg;

-  while((sChar = strchr(sParams.c_str(), nChar)) || !sParams.empty()) {
+  while((sChar = (char*)strchr(sParams.c_str(), nChar)) || !sParams.empty()) {

     if(sChar) {
       sArg = sParams.substr(0, sChar - sParams.c_str());
===================================================================
--- src/lib/Common/Exception.cpp        (revision 646)
+++ src/lib/Common/Exception.cpp        (working copy)
@@ -26,6 +26,7 @@
 #include "Exception.h"
 #include <sstream>
 #include <stdarg.h>
+#include <cstdio>

 using namespace fuppes;

Index: src/lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp
===================================================================
--- src/lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp  (revision 646)
+++ src/lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp  (working copy)
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <cstdio>

 #include "inotify-cxx.h"
===================================================================
--- Makefile.am (revision 646)
+++ Makefile.am (working copy)
@@ -31,7 +31,7 @@
        src/Makefile.am \
        src/plugins/Makefile.am \
        src/windows/Makefile.am \
-       src/windows/fuppes.exe.Manifest \
-       src/windows/fuppes.ico \
+       src/windows/fuppes.exe.Manifest \
+       src/windows/fuppes.ico  \
   vfolder.cfg \
   crosscompile_win32.sh

2) VERY IMPORTANT: Do not try and compile fuppes with libsimage-dev. There is currently a bug in it where it tries to look for libogg.la but that file was removed, on purpose and for good reason, by debian. libsimage-dev needs to be fixed.

3) Run a sudo make install before trying to run fuppes or you will likely run into a sqlite error. (Working on this now)

4) Keep the --prefix=/usr/ tag. (Working on this too)

5) The configure I run, for maximum settings, is:
./configure --prefix=/usr/ --enable-lame --enable-twolame --enable-mad --enable-faad
That means that you must install every dev library except libsimage-dev (until it is fixed)

6) Consider using the following directories for the init.d "startup script" version of fuppes:
/etc/fuppes
/var/lib/fuppes
As is specified in this tutorial: http://fuppes.ulrich-voelkel.de/wiki...up_with_Init.d

I hope this helps everyone when they go to debug problems with fuppes. I have spent the last week getting this information.
__________________
"What gets us into trouble is not what we don't know, it's what we know for sure that just ain't so." - Mark Twain

Last edited by Shhnap; November 4th, 2009 at 12:03 AM.. Reason: Option 6 added
Shhnap is offline   Reply With Quote
Old November 4th, 2009   #6
PorchSong
5 Cups of Ubuntu
 
Join Date: Dec 2007
Location: Denver
Beans: 38
Edubuntu 9.10 Karmic Koala
Re: HOWTO: Install Fuppes on Ubuntu 9.10

I completely appreciate your work on this. I still think fuppes is the best media server and the simplest. I will be happy to update my guide as needed to reflect your work.
PorchSong is offline   Reply With Quote
Old November 4th, 2009   #7
zacnotes
First Cup of Ubuntu
 
Join Date: Oct 2009
Beans: 10
Re: HOWTO: Install Fuppes on Ubuntu 9.10

excited to see advancements! note to sdowney: created a directory /etc/fuppes and placed my .cfg files there. it appears that fuppes got past the hurdle we were having with that, but then i get a few I/O errors instead and it wont run at all. I am planning on re-installing it when porchsong updates his tutorial.
zacnotes is offline   Reply With Quote
Old November 4th, 2009   #8
sdowney717
Chocolate Ubuntu Mocha Blend
 
sdowney717's Avatar
 
Join Date: Dec 2006
My beans are hidden!
Re: HOWTO: Install Fuppes on Ubuntu 9.10

the one big advantage of fuppes over ushare is realtime transcoding.
otherwise, ushare just works very simply.

I would love to see fuppes downloading and transcoding rss internet feeds like a 'playon' or a 'tversity' style.
http://www.themediamall.com/playon/
then it could be playing hulu videos and streaming them to a media player hardware device like dsm 320 or xbox etc... right on your tv.
Linux has no native program to do this.
sdowney717 is offline   Reply With Quote
Old November 4th, 2009   #9
Zombear
First Cup of Ubuntu
 
Join Date: Nov 2009
Beans: 6
Re: HOWTO: Install Fuppes on Ubuntu 9.10

Im in the middle of setting up Fuppes with this guide. Sadly, Im getting a buffer overflow error trying to make a database. Can anyone help? thanks!

Code:
[ContentDatabase] create database at Wed Nov  4 13:59:41 2009
read shared directories
*** buffer overflow detected ***: fuppes terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x307de8]
/lib/tls/i686/cmov/libc.so.6[0x306e20]
/lib/tls/i686/cmov/libc.so.6[0x306558]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0x9e)[0x29059e]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x60a)[0x26414a]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xad)[0x30660d]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x30654d]
/usr/lib/fuppes/libmetadata_libavformat.so(fuppes_metadata_read+0x125)[0x371b75]
/usr/lib/libfuppes.so.0(_ZN15CMetadataPlugin8readDataEP10metadata_t+0x24)[0x3cfd34]
/usr/lib/libfuppes.so.0(_ZN12CFileDetails15GetVideoDetailsESsP10SVideoItem+0x25f)[0x3a2e6f]
/usr/lib/libfuppes.so.0(_Z15InsertVideoFileP16CContentDatabaseSs+0x95)[0x3af405]
/usr/lib/libfuppes.so.0(_Z10InsertFileP16CContentDatabasejSsb+0xcba)[0x3b261a]
/usr/lib/libfuppes.so.0(_Z9DbScanDirP16CContentDatabaseSsx+0xb3f)[0x3b356f]
/usr/lib/libfuppes.so.0(_ZN13RebuildThread3runEv+0x956)[0x3b76c6]
/usr/lib/libfuppes.so.0(_ZN6fuppes6Thread10threadFuncEPv+0x21)[0x3cdff1]
/lib/tls/i686/cmov/libpthread.so.0[0x6ad80e]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0x2f37ee]
======= Memory map: ========
00110000-0012c000 r-xp 00000000 08:01 672        /lib/libgcc_s.so.1
0012c000-0012d000 r--p 0001b000 08:01 672        /lib/libgcc_s.so.1
0012d000-0012e000 rw-p 0001c000 08:01 672        /lib/libgcc_s.so.1
0012e000-00130000 r-xp 00000000 08:01 1444       /lib/tls/i686/cmov/libdl-2.10.1.so
00130000-00131000 r--p 00001000 08:01 1444       /lib/tls/i686/cmov/libdl-2.10.1.so
00131000-00132000 rw-p 00002000 08:01 1444       /lib/tls/i686/cmov/libdl-2.10.1.so
00132000-0013c000 r-xp 00000000 08:01 1455       /lib/tls/i686/cmov/libnss_files-2.10.1.so
0013c000-0013d000 r--p 00009000 08:01 1455       /lib/tls/i686/cmov/libnss_files-2.10.1.so
0013d000-0013e000 rw-p 0000a000 08:01 1455       /lib/tls/i686/cmov/libnss_files-2.10.1.so
0013e000-0014b000 r-xp 00000000 08:01 15604      /usr/lib/libsimage.so.20.6.1
0014b000-0014c000 rw-p 0000d000 08:01 15604      /usr/lib/libsimage.so.20.6.1
0014c000-00151000 r-xp 00000000 08:01 4642       /usr/lib/libogg.so.0.6.0
00151000-00152000 r--p 00004000 08:01 4642       /usr/lib/libogg.so.0.6.0
00152000-00153000 rw-p 00005000 08:01 4642       /usr/lib/libogg.so.0.6.0
00153000-0015a000 r-xp 00000000 08:01 4875       /usr/lib/libvorbisfile.so.3.2.0
0015a000-0015b000 r--p 00007000 08:01 4875       /usr/lib/libvorbisfile.so.3.2.0
0015b000-0015c000 rw-p 00008000 08:01 4875       /usr/lib/libvorbisfile.so.3.2.0
0015c000-001b2000 r-xp 00000000 08:01 4845       /usr/lib/libtiff.so.4.2.1
001b2000-001b4000 r--p 00055000 08:01 4845       /usr/lib/libtiff.so.4.2.1
001b4000-001b5000 rw-p 00057000 08:01 4845       /usr/lib/libtiff.so.4.2.1
001b5000-0021b000 r-xp 00000000 08:01 4788       /usr/lib/libsndfile.so.1.0.20
0021b000-0021c000 r--p 00065000 08:01 4788       /usr/lib/libsndfile.so.1.0.20
0021c000-0021d000 rw-p 00066000 08:01 4788       /usr/lib/libsndfile.so.1.0.20
0021d000-00221000 rw-p 00000000 00:00 0 
00222000-00225000 r-xp 00000000 08:01 769        /lib/libuuid.so.1.3.0
00225000-00226000 r--p 00002000 08:01 769        /lib/libuuid.so.1.3.0
00226000-00227000 rw-p 00003000 08:01 769        /lib/libuuid.so.1.3.0
00227000-00365000 r-xp 00000000 08:01 1438       /lib/tls/i686/cmov/libc-2.10.1.so
00365000-00367000 r--p 0013e000 08:01 1438       /lib/tls/i686/cmov/libc-2.10.1.so
00367000-00368000 rw-p 00140000 08:01 1438       /lib/tls/i686/cmov/libc-2.10.1.so
00368000-0036b000 rw-p 00000000 00:00 0 
0036b000-0036f000 r-xp 00000000 08:01 16979      /usr/lib/fuppes/libcore_presentation.so.0.0.0
0036f000-00370000 r--p 00003000 08:01 16979      /usr/lib/fuppes/libcore_presentation.so.0.0.0
00370000-00371000 rw-p 00004000 08:01 16979      /usr/lib/fuppes/libcore_presentation.so.0.0.0
00371000-00373000 r-xp 00000000 08:01 16987      /usr/lib/fuppes/libmetadata_libavformat.so.0.0.0
00373000-00374000 r--p 00001000 08:01 16987      /usr/lib/fuppes/libmetadata_libavformat.so.0.0.0
00374000-00375000 rw-p 00002000 08:01 16987      /usr/lib/fuppes/libmetadata_libavformat.so.0.0.0
00375000-0037c000 r-xp 00000000 08:01 1468       /lib/tls/i686/cmov/librt-2.10.1.so
0037c000-0037d000 r--p 00006000 08:01 1468       /lib/tls/i686/cmov/librt-2.10.1.so
0037d000-0037e000 rw-p 00007000 08:01 1468       /lib/tls/i686/cmov/librt-2.10.1.so
00381000-00484000 r-xp 00000000 08:01 16968      /usr/lib/libfuppes.so.0.0.0
00484000-00485000 r--p 00103000 08:01 16968      /usr/lib/libfuppes.so.0.0.0
00485000-00486000 rw-p 00104000 08:01 16968      /usr/lib/libfuppes.so.0.0.0
00486000-00487000 rw-p 00000000 00:00 0 
00487000-00497000 r-xp 00000000 08:01 645        /lib/libbz2.so.1.0.4
00497000-00498000 r--p 0000f000 08:01 645        /lib/libbz2.so.1.0.4
00498000-00499000 rw-p 00010000 08:01 645        /lib/libbz2.so.1.0.4
00499000-004a5000 r-xp 00000000 08:01 1254       /usr/lib/libgsm.so.1.0.12
004a5000-004a6000 r--p 0000c000 08:01 1254       /usr/lib/libgsm.so.1.0.12
004a6000-004a7000 rw-p 0000d000 08:01 1254       /usr/lib/libgsm.so.1.0.12
004a7000-004bc000 r-xp 00000000 08:01 4800       /usr/lib/libspeex.so.1.5.0
004bc000-004bd000 r--p 00014000 08:01 4800       /usr/lib/libspeex.so.1.5.0
004bd000-004be000 rw-p 00015000 08:01 4800       /usr/lib/libspeex.so.1.5.0
004c1000-005e3000 r-xp 00000000 08:01 4939       /usr/lib/libxml2.so.2.7.5
005e3000-005e4000 ---p 00122000 08:01 4939       /usr/lib/libxml2.so.2.7.5
005e4000-005e8000 r--p 00122000 08:01 4939       /usr/lib/libxml2.so.2.7.5
005e8000-005e9000 rw-p 00126000 08:01 4939       /usr/lib/libxml2.so.2.7.5
005e9000-005ea000 rw-p 00000000 00:00 0 
005ea000-005ee000 r-xp 00000000 08:01 16991      /usr/lib/fuppes/libmetadata_taglib.so.0.0.0
005ee000-005ef000 r--p 00003000 08:01 16991      /usr/lib/fuppes/libmetadata_taglib.so.0.0.0
005ef000-005f0000 rw-p 00004000 08:01 16991      /usr/lib/fuppes/libmetadata_taglib.so.0.0.0
0060d000-0065b000 r-xp 00000000 08:01 3915       /usr/lib/libFLAC.so.8.2.0
0065b000-0065c000 r--p 0004d000 08:01 3915       /usr/lib/libFLAC.so.8.2.0
0065c000-0065d000 rw-p 0004e000 08:01 3915       /usr/lib/libFLAC.so.8.2.0
0065d000-0065e000 r-xp 00000000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
0065e000-0065f000 r--p 00000000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
0065f000-00660000 rw-p 00001000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
006a8000-006bd000 r-xp 00000000 08:01 1464       /lib/tls/i686/cmov/libpthread-2.10.1.so
006bd000-006be000 r--p 00014000 08:01 1464       /lib/tls/i686/cmov/libpthread-2.10.1.so
006be000-006bf000 rw-p 00015000 08:01 1464       /lib/tls/i686/cmov/libpthread-2.10.1.so
006bf000-006c1000 rw-p 00000000 00:00 0 
006fb000-00717000 r-xp 00000000 08:01 4871       /usr/lib/libvorbis.so.0.4.0
00717000-00718000 r--p 0001b000 08:01 4871       /usr/lib/libvorbis.so.0.4.0
00718000-00726000 rw-p 0001c000 08:01 4871       /usr/lib/libvorbis.so.0.4.0
00726000-0077a000 r-xp 00000000 08:01 4834       /usr/lib/libtheora.so.0.3.4Aborted
Zombear is offline   Reply With Quote
Old November 4th, 2009   #10
Shhnap
Gee! These Aren't Roasted!
 
Shhnap's Avatar
 
Join Date: Dec 2008
Location: Australia
Beans: 180
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Install Fuppes on Ubuntu 9.10

EDIT: Welcome to the Forums!! Sorry if this post contains too much information. If you need more help just send me a Personal Message (PM).

Firstly you are using simage:

Code:
0065d000-0065e000 r-xp 00000000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
0065e000-0065f000 r--p 00000000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
0065f000-00660000 rw-p 00001000 08:01 16995      /usr/lib/fuppes/libmetadata_simage.so.0.0.0
Could you please run the following code and tell us the output:

Code:
dpkg -p libsimage-dev
You should not make fuppes with the simage package in karmic because it currently has it's dependencies wrong. If you get this result when simage is still installed then you have a broken simage package:

Code:
$ grep "libogg.la" /usr/lib/*.la
/usr/lib/libsimage.la:dependency_libs=' /usr/lib/libsndfile.la
/usr/lib/libFLAC.la -L/usr/lib /usr/lib/libvorbisfile.la
/usr/lib/libvorbis.la /usr/lib/libogg.la /usr/lib/libtiff.la -lc -lpng
-lz /usr/lib/libjpeg.la /usr/lib/libgif.la -lm'
$
So try uninstalling libsimage-dev and ./configure --some-options && make again. And if you don't have libsimage-dev installed then please post the result of your ./configure.
__________________
"What gets us into trouble is not what we don't know, it's what we know for sure that just ain't so." - Mark Twain

Last edited by Shhnap; November 4th, 2009 at 06:04 PM..
Shhnap is offline   Reply With Quote

Bookmarks

Tags
fuppes, mediaserver, ps3, streaming, xbox360

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:23 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry