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:58] – 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 60: | Line 64: | ||
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. | 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/ | With this little workaround, you can tell the server only to play files which the clients can transcode/ | ||
- | If you have installed this workaround and want the player to play all media files provided, you can simply login to the server with another user name. | + | This workaround only works if you are logged in with the user " |
First, go to the Emby directory: | First, go to the Emby directory: | ||
Line 66: | Line 70: | ||
cd / | cd / | ||
</ | </ | ||
- | Next, make a copy of your ffmpeg: | + | Next, rename |
< | < | ||
mv ffmpeg ffmpeg.bin | 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 | Now make a new file | ||
< | < | ||
Line 75: | Line 89: | ||
</ | </ | ||
which contains the following: | which contains the following: | ||
- | <konsole> | + | <code c ffmpeg> |
#!/bin/bash | #!/bin/bash | ||
if [ " | if [ " | ||
Line 85: | Line 99: | ||
ln -- " | ln -- " | ||
fi | fi | ||
- | </konsole> | + | </code> |
The best video codec that almost every web browser on the most clients can play directly is h.264. | The best video codec that almost every web browser on the most clients can play directly is h.264. |