Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
howto:linux:install:ubuntu [2015/11/30 22:04] ricardobalk FFmpeg is replaced by avconv |
howto:linux:install:ubuntu [2016/03/20 14:47] ricardobalk Apache MediaBrowser proxy |
* FFmpeg | * FFmpeg |
<code>sudo apt-get install ffmpeg libavcodec-extra-53 libavformat-extra-53</code> | <code>sudo apt-get install ffmpeg libavcodec-extra-53 libavformat-extra-53</code> |
<note tip>FFmpeg is [[https://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04|replaced]] by avconv, which is available in the livav-tools package</note> | <note tip>FFmpeg is [[https://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04|replaced]] by avconv</note> |
* libav-tools for avconv | * workaround for missing FFmpeg |
<code>sudo apt-get install libav-tools</code> | <code>sudo add-apt-repository ppa:mc3man/trusty-media</code> |
| <code>sudo apt-get update</code> |
| <code>sudo apt-get install ffmpeg gstreamer0.10-ffmpeg</code> |
* dcraw for digital pictures | * dcraw for digital pictures |
<code>sudo apt-get install dcraw</code> | <code>sudo apt-get install dcraw</code> |
<code>-Dserviio.remoteHost=XXX.XXX.X.XXX</code> | <code>-Dserviio.remoteHost=XXX.XXX.X.XXX</code> |
Replacing XXX.XXX.X.XXX with the IP Address of the remote server | Replacing XXX.XXX.X.XXX with the IP Address of the remote server |
| |
| |
| ==== Fixing multicast on Linux hosts ==== |
| On Linux hosts it could be that you need to set up [[http://forum.serviio.org/viewtopic.php?f=5&t=415&p=2843#p2837|multicast]] to let Serviio work correctly |
| To do this, add following line to /etc/network/interfaces: |
| <code>up route add -net 239.0.0.0 netmask 255.0.0.0 dev eth0</code> |
| <note important>Replace eth0 with the [[http://www.cyberciti.biz/faq/linux-list-network-interfaces-names-command/|name of the network interface]]</note> |
| |
| |
| ==== Making Serviio's MediaBrowser accessible via the web ==== |
| <note>You need Apache in order to do this</note> |
| Usually you go to http://localhost:23424/mediabrowser to access the MediaBrowser. It is possible to make something like http://www.your-example-domain.com/media. This is done with Apache's ProxyPass. |
| |
| Enable proxy module |
| <code>a2enmod proxy</code> |
| |
| Change the Apache configuration file |
| <code>nano /etc/apache2/sites-enables/000-default.conf</code> |
| |
| Put this inside |
| <code><Location /media> |
| order deny,allow |
| deny from all |
| allow from all |
| ProxyPass http://localhost:23424/mediabrowser |
| ProxyPassReverse http://localhost:23424/mediabrowser |
| </Location> |
| |
| <Location /cds> |
| order deny,allow |
| deny from all |
| allow from all |
| ProxyPass http://localhost:23424/cds |
| ProxyPassReverse http://localhost:23424/cds |
| </Location></code> |
| |
~~NOTOC~~ | ~~NOTOC~~ |