uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files. uShare uses the built-in http server of libupnp to stream the files to clients.
GeeXboX uShare is able to provide access to both images, videos, music or playlists files (see below for a complete file format support list). It does not act as an UPnP Media Adaptor and thus, can't transcode streams to fit the client requirements.
uShare is written in C for the GeeXboX project. It is designed to provide access to multimedia contents to GeeXboX but can of course be used by any other UPnP client device. It should compile and run on any modern POSIX compatible system such as Linux.
uShare is free software - it is licensed under the terms of the GNU General Public License (GPL).
I worked a lot to get this stuff compiled (Debian 5.0.4) and I installed a lot of stuff (ffmpeg-dev etc.), so i cannot say what is really necessesary, but the following are necessary for sure!
You need a C-Compiler (of course).
pkg-config.
pkg-config is a helper tool used when compiling applications and libraries. It helps you insert the correct compiler options on the command line. (see http://pkg-config.freedesktop.org/wiki/).
For DLNA-support (for PS3) you need libdlna, 0.2.3. http://libdlna.geexbox.org/
Important: You need libupnp found here.
YOu need libupnp.so.3 (not the acutal so.4). So i downloaded V.1.4.6, bus 1.6.2 should also be version 3.
tar jxvf libupnp-1.6.2.tar.bz2
cd libupnp-1.6.2/
./configure --prefix=/usr
make
sudo make install
uShare 1.1a: http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2
tar jxvf ushare-1.1a.tar.bz2 cd ushare-1.1a/ ./configure --prefix=/usr make sudo checkinstall ln -s /usr/bin/ushare /bin/ushar
I made some links, so ushare could find the libraries:
ln /usr/local/lib/libupnp.so.3.0.5 /usr/lib/libupnp.so.3 ln /usr/local/lib/libupnp.so.3.0.5 /usr/lib/libupnp.so
When compiling is successful, start uShare:
route add -net 239.0.0.0 netmask 255.0.0.0 eth4 ushare -n ushare -p 49153 -c /var/Daten -x -i eth4
(The 2nd 'ushare' is the name of the server displayed on the device; -x means: Xbox360-Profile; eth4 is my eth0)
When all is working, the Server is called from the Browser with:
I tried to install the following. Not all are working, only some are necessary, but i dont know which ones:
apt-get install gupnp-tools apt-get install libavformat-dev apt-get install libavformat-52 apt-get install libavformat52 apt-get install libavformat0d apt-get install libavformat apt-get install libavformatcvs51 apt-get install libavformatcvs51-dev apt-get install libavformatcvs51 libavutilcvs49 apt-get install ffmpeg apt-get install libavutil-dev apt-get install libavdevice-dev apt-get install libavformat-dev apt-get install libavifile-0.7c2 apt-get install libavcodec-dev apt-get install libavcodec51 apt-get install libavcodec-dev libavformat-dev apt-get install libavcodec-dev libavutil-dev