Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
upnp:ushare [2010/03/10 19:11] – angelegt gerald | upnp:ushare [2024/02/29 13:36] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 13: | Zeile 13: | ||
===== Compiling ===== | ===== Compiling ===== | ||
+ | |||
+ | 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, | ||
+ | |||
+ | |||
+ | 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:// | ||
+ | |||
+ | For DLNA-support (for PS3) you need libdlna, 0.2.3. [[http:// | ||
+ | |||
+ | Important: You need libupnp found [[http:// | ||
+ | |||
+ | 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. | ||
< | < | ||
Zeile 21: | Zeile 38: | ||
sudo make install</ | sudo make install</ | ||
+ | uShare 1.1a: [[http:// | ||
< | < | ||
cd ushare-1.1a/ | cd ushare-1.1a/ | ||
Zeile 28: | Zeile 46: | ||
ln -s / | ln -s / | ||
+ | I made some links, so ushare could find the libraries: | ||
+ | < | ||
ln / | ln / | ||
ln / | ln / | ||
+ | </ | ||
When compiling is successful, start uShare: | 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 | ushare -n ushare -p 49153 -c /var/Daten -x -i eth4 | ||
</ | </ | ||
Zeile 38: | Zeile 60: | ||
- | When all is working, the Server is called with: | + | When all is working, the Server is called |
[[http:// | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===== Necessary Files ===== | ||
+ | |||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag> |