This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
virtualisation:media-portal [2018/02/27 08:06] – buettner | virtualisation:media-portal [2018/02/28 11:50] (current) – buettner | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Emby Media Server on NB2800 ===== | ===== Emby Media Server on NB2800 ===== | ||
- | This article shows you how to install and run an Emby Media Server on your router (e.g. NB2800) | + | This article shows you how to install and run an Emby Media Server on your router (e.g. NB2800). |
+ | |||
+ | [[https:// | ||
===Preparations=== | ===Preparations=== | ||
All preparations made are described in this article: [[http:// | All preparations made are described in this article: [[http:// | ||
+ | |||
+ | If you need instructions on how to set up a LXC Container on NB2800 Routers, you can refer to this page: http:// | ||
===Install Emby=== | ===Install Emby=== | ||
- | [[https:// | ||
Before the installation of Emby Media Server starts, some other programs have to be installed: | Before the installation of Emby Media Server starts, some other programs have to be installed: | ||
Line 19: | Line 23: | ||
wget https:// | wget https:// | ||
</ | </ | ||
- | After the download completed, | + | After the download completed, |
+ | < | ||
+ | dpkg -i emby-server-deb_3.2.70.0_armhf.deb | ||
+ | </ | ||
+ | After the installation is completed, you can start the setup over your web browser by entering http:// | ||
+ | |||
+ | In the first window, select your preferred language: | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | Now enter a name that will be displayed in Emby and, optional, you can login to an existing Emby account. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | Here you can add some folders which contain different types of media. You can add existing folders here or create and add them later. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | To customise your media, Emby can add some meta datas to them. Here you can select a preferred language of these meta datas. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | In this window you can make some additional settings to the server. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | Here you have to accept the terms of licence - and can read them of course. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | Click on " | ||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
===Transcoding=== | ===Transcoding=== | ||
- | ===Run | + | Emby provides media files to his clients by transcoding them teporarily to a format that the client can play directly. This function secures that every client can play every type of media in exact the same way without any compatiblity problems. |
+ | The disadvantage of this function is that the server has to transcode every of the files played. This results in a high CPU load on the router, exspecially when the server has to transcode several files at a time. | ||
+ | With this little workaround, you can tell the server only to play files which the clients can transcode/ | ||
+ | This workaround only works if you are logged in with the user " | ||
+ | First, go to the Emby directory: | ||
+ | < | ||
+ | cd / | ||
+ | </ | ||
+ | Next, rename your ffmpeg: | ||
+ | < | ||
+ | mv ffmpeg ffmpeg.bin | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | root@LXC_MEDIA:/ | ||
+ | total 316 | ||
+ | -rwxr-xr-x 1 root root 583 Aug 22 2017 emby-server | ||
+ | -rw-r--r-- 1 root root 232 Feb 9 13:00 ffmpeg | ||
+ | -rwxr-xr-x 1 root root 198184 Aug 22 2017 ffmpeg.bin | ||
+ | -rwxr-xr-x 1 root root 111088 Aug 22 2017 ffprobe | ||
+ | </ | ||
+ | |||
+ | Now make a new file | ||
+ | < | ||
+ | nano ffmpeg | ||
+ | </ | ||
+ | which contains the following: | ||
+ | <code c ffmpeg> | ||
+ | #!/bin/bash | ||
+ | if [ " | ||
+ | / | ||
+ | else | ||
+ | source=`echo " | ||
+ | target=`echo " | ||
+ | |||
+ | ln -- " | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | The best video codec that almost every web browser on the most clients can play directly is h.264. | ||
+ | |||
+ | |||
+ | ===Run Emby=== | ||
+ | You can provide a link to your Emby Server to your customers. The media files can be viewed in web browsers, the Emby app and -if enabled- over the built-in DLNA server. |