Jump to content

Raspberry Pi


Luke

Recommended Posts

Fnordje

To the person who couldn't get to play certain files due to missing libmp3lame:

 

apt-get install libmp3lame-dev
cd /usr/src/ffmpeg
./configure --enable-libmp3lame
make
make install
 
apt-get remove libmp3lame-dev # optional
 
One may also want to clean /usr/src/ffmpeg from their system
 
Also, I got some questions.
 
What packages have people been able to purge from their system and still keep Emby working? I got all kind of shit on my system. Not a whole X Window System but just generally all kind of packages. If I remove them, its trying to remove Mono (and Emby) as well. 
 
Furthermore, will this be automatically utilized when I compile this support in:
 
--enable-omx-rpi         enable encoding via OpenMAX IL for Raspberry Pi [no]
 
And, I think the guide should include the above I wrote about libmp3lame. Which other dependancies should we recommend?
 
Last but not least perhaps we could just build a .deb package and distribute that instead? When overwriting it to /usr we can just use a newer version that the current ffmpeg. Although I don't even have ffmpeg installed via .deb on my current system
 
My final options were:
 
apt-get install libmp3lame-dev libomxil-bellagio-dev
 
./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-libmp3lame --enable-omx-rpi --disable-debug --enable-version3 --enable-nonfree
 
make -j4 # compiled ffmpeg in 28m3s
make # compiled ffmpeg in 59m13s
Edited by Fnordje
Link to comment
Share on other sites

wisepass

Server-side everything looks normal. I would ensure you're using an up to date browser. Firefox 35 should be fine, but i haven't tested it lately so it's always possible an issue has crept up on us.

You were right!

 

Strangly Firefox 35 would not load the wizard but was working fine on my (older) version of windows Emby.

 

I used IE 11 to set the wizard then strangely Firefox 35 worked fine from there onward.

 

Yet more strange is the newest version of Chrome didn't work at all.

 

The setup wasn't as complex as I first thought it was just complicated by which browser I used.

 

Now it's all setup on a Pi 3 and it works great as part setup with Kodi and Native paths - since there's no transcoding there's no performance issues at all even with a pretty huge library I have.

 

Thanks for the help Luke - I assumed it was the Pi setup and would have been stuck

Link to comment
Share on other sites

i think something else must be at play because i can't imagine there would be an issue with the newest version of Chrome. Thanks for the report though.

Link to comment
Share on other sites

Fnordje

 

 

emby     25225 11.9 60.6 718420 604816 ?       Ssl  14:37   9:16 /usr/bin/mono-sgen --optimize=all /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh

 

Is it normal Mono is using 605 MB of memory? That's 62% of all memory. Its also slowly increasing. Now it is already at 64,8% / 650 MB.

Link to comment
Share on other sites

Fnordje

Webbrowsers can only play MP4 with H264 video and AAC stereo audio

 

you need to convert your files or use a client (like MB Theater) and setup (SMB) sharing

Is this a bug? Is this being looked into? Emby for Android also doesn't seem to be able to deal with MKV.

Edited by Fnordje
Link to comment
Share on other sites

Fnordje

Emby for Android direct plays most mkv's, no problem. If you're having an issue, please see how to report a media playback issue. Thanks!

 

Digged through logs and figured my error was: [h264_qsv @ 00000000027147a0] Error initializing an internal MFX session, I googled around and from ffmpeg it seemed related to Intel Quick Sync so I disabled that. So sorry for the false alarm.

  • Like 1
Link to comment
Share on other sites

Raspi2 Server

I just reinstalled Emby on a fresh install of Raspbian Jessie and it all works fine. I used the original guide on page 8 of this thread. Android phones/tablets and Chromecast all work. Even the browser interface on Firefox 47.0 works perfect. I plan to purchase the lifetime license so that I can stream to all my devices. Time and money well spent. Thanks everyone!

Link to comment
Share on other sites

  • 3 weeks later...

I tried that guide too, everything seemed to work, but then error.

I tried it on raspbian lite not full raspbian with gui etc.

 

I wonder if i did something wrong or if the issues is in mono, as there are weir lines like

Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275.

 

 

But i'm total linux, apt, debian and even rPI noob.

 

Full log:

pi@raspberrypi:~ $ sudo apt-get install emby-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
emby-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up libnunit-core-interfaces2.6.3-cil (2.6.3+dfsg-1) ...
Y* Installing 1 assembly from libnunit-core-interfaces2.6.3-cil into Mono
Illegal instruction
Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275.
Use of uninitialized value $fullname in concatenation (.) or string at /usr/share/cli-common/runtimes.d/mono line 225.
Illegal instruction
E: installing Assembly /usr/lib/cli/nunit.core.interfaces-2.6.3/nunit.core.interfaces.dll failed
E: Installation of libnunit-core-interfaces2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing package libnunit-core-interfaces2.6.3-cil (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of libnunit-core2.6.3-cil:
 libnunit-core2.6.3-cil depends on libnunit-core-interfaces2.6.3-cil; however:
  Package libnunit-core-interfaces2.6.3-cil is not configured yet.


dpkg: error processing package libnunit-core2.6.3-cil (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnunit-util2.6.3-cil:
 libnunit-util2.6.3-cil depends on libnunit-core-interfaces2.6.3-cil; however:
  Package libnunit-core-interfaces2.6.3-cil is not configured yet.
 libnunit-util2.6.3-cil depends on libnunit-core2.6.3-cil; however:
  Package libnunit-core2.6.3-cil is not configured yet.


dpkg: error processing package libnunit-util2.6.3-cil (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnunit-console-runner2.6.3-cil:
 libnunit-console-runner2.6.3-cil depends on libnunit-core-interfaces2.6.3-cil; however:
  Package libnunit-core-interfaces2.6.3-cil is not configured yet.
 libnunit-console-runner2.6.3-cil depends on libnunit-core2.6.3-cil; however:
  Package libnunit-core2.6.3-cil is not configured yet.
 libnunit-console-runner2.6.3-cil depends on libnunit-util2.6.3-cil; however:
  Package libnunit-util2.6.3-cil is not configured yet.


dpkg: error processing package libnunit-console-runner2.6.3-cil (--configure):
 dependency problems - leaving unconfigured
Setting up libnunit-framework2.6.3-cil (2.6.3+dfsg-1) ...
* Installing 1 assembly from libnunit-framework2.6.3-cil into Mono
Illegal instruction
Use of uninitialized value $_ in scalar chomp at /usr/share/cli-common/runtimes.d/mono line 275.
Use of uninitialized value $fullname in concatenation (.) or string at /usr/share/cli-common/runtimes.d/mono line 225.
Illegal instruction
E: installing Assembly /usr/lib/cli/nunit.framework-2.6.3/nunit.framework.dll failed
E: Installation of libnunit-framework2.6.3-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing package libnunit-framework2.6.3-cil (--configure):
 subprocess installed post-installation script returned error exit status 132
dpkg: dependency problems prevent configuration of libnunit-mocks2.6.3-cil:
 libnunit-mocks2.6.3-cil depends on libnunit-framework2.6.3-cil; however:
  Package libnunit-framework2.6.3-cil is not configured yet.


dpkg: error processing package libnunit-mocks2.6.3-cil (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnunit-cil-dev:
 libnunit-cil-dev depends on libnunit-console-runner2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-console-runner2.6.3-cil is not configured yet.
 libnunit-cil-dev depends on libnunit-core2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-core2.6.3-cil is not configured yet.
 libnunit-cil-dev depends on libnunit-core-interfaces2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-core-interfaces2.6.3-cil is not configured yet.
 libnunit-cil-dev depends on libnunit-framework2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-framework2.6.3-cil is not configured yet.
 libnunit-cil-dev depends on libnunit-mocks2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-mocks2.6.3-cil is not configured yet.
 libnunit-cil-dev depends on libnunit-util2.6.3-cil (= 2.6.3+dfsg-1); however:
  Package libnunit-util2.6.3-cil is not configured yet.


dpkg: error processing package libnunit-cil-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libmono-cil-dev:
 libmono-cil-dev depends on libnunit-cil-dev (>= 2.4); however:
  Package libnunit-cil-dev is not configured yet.


dpkg: error processing package libmono-cil-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mono-devel:
 mono-devel depends on libmono-cil-dev (= 4.2.1.102-0xamarin1); however:
  Package libmono-cil-dev is not configured yet.


dpkg: error processing package mono-devel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of emby-server:
 emby-server depends on mono-devel (>= 1.0); however:
  Package mono-devel is not configured yet.


dpkg: error processing package emby-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libnunit-core-interfaces2.6.3-cil
 libnunit-core2.6.3-cil
 libnunit-util2.6.3-cil
 libnunit-console-runner2.6.3-cil
 libnunit-framework2.6.3-cil
 libnunit-mocks2.6.3-cil
 libnunit-cil-dev
 libmono-cil-dev
 mono-devel
 emby-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

 

 

EDIT: oh, i see now http://emby.media/community/index.php?/topic/27793-errors-while-installing-on-rasbianjessie/ .

 

So i guess rPI1 is not usefull at all anymore :)

Edited by Evlo
Link to comment
Share on other sites

  • 3 months later...

 

Hey guys,

We have an experimental deployment for Emby Server on Raspberry Pi. Please try it out and report your results.

 

Raspberry Pi Instructions:

wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_14.04/Release.key | sudo apt-key add -
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/emby-server.list"
sudo apt-get update
sudo apt-get install mono-runtime mediainfo libsqlite3-dev imagemagick-6.q8 libmagickwand-6.q8-2 libmagickcore-6.q8-2
sudo apt-get install emby-server

If Running Raspbian:

Please enter the following commands:

echo "deb-armhf http://ports.ubuntu.com/ trusty main restricted universe multiverse" > /etc/apt/sources.list.d/trusty.list

Followed by:

cat << EOF | sudo tee -a /etc/apt/prefereces.d/trusty.pref
Package: *
Pin: release a=trusty
Pin-Priority: 10
EOF

 

You're missing an 'n' in 'preferences'.

 

Spellchecker caught it as well whilst I was quoting you.

 

As for the ports.ubuntu.com line. I got that part working by removing '-armhf'

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
Strudo76

Hope this is the right place for this?

 

I have just purchased a Raspberry Pi 3, and I'm not a Linux user by any means, but I know how to get around an operating system.

 

I have installed the Emby server on my Pi 3 using the instructions ARM devices official instructions as the instructions at Emby Server for Linux gave me errors. Just thought I'd mention that, since the latter seems to be the more accessible of the two.

 

The instructions I used then indicate I should install ffmpeg, and the link provided here contains links for static builds, but the page also mentions it's highly recommended to use Git builds. I have only a limited idea as to what this means, and no idea how, or if I should, do that.

 

Any chance someone could explain the advantage of using the Git builds, and how I'd go about setting that up in regards to the Emby server installation. Or would the static builds be sufficient. I am using SSH to connect to the Pi, so terminal access is readily available. I have also done some searching and found some instructions here regarding Git installation. Do these instructions make sense and can they be used for a Emby server installation?

 

Regards,

 

Simon

Link to comment
Share on other sites

Hi, the static builds are the static git builds available for download at the top of the page, so they're the same thing. does that help?

Link to comment
Share on other sites

Strudo76

Hi, the static builds are the static git builds available for download at the top of the page, so they're the same thing. does that help?

I assumed they'd be generally up to date. I just wasn't sure if building from Git would be easier to keep things updated, or if the statics are generally sufficient. I guess they are good until something crops up that causes an issue, then get new ones.

 

If using the static builds, do I just put them in a folder and point the wizard there? I had a quick look at the wizard page, but didn't give it a proper read as I'm just playing and trying things out at the moment.

 

Thanks for the quick reply too. Appreciate it!

Link to comment
Share on other sites

Hi @@obieq, can you please attach the complete emby server log, as well as discuss the Emby issues you are having? thanks.

Link to comment
Share on other sites

hurricanehrndz

In the default conf there is information about tweaking mono's memory footprint

 

Sent from my ONEPLUS A3000 using Tapatalk

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...