Jump to content

Emby server under libreelec how to get hardware encoding working?


goddahavit

Recommended Posts

goddahavit

Hello, I am trying to move my emby server to a intel i5-8250u laptop running libreelec.

 

I have tried the emby server listed under their addons, and i could not see any hardware encoder/decoders.

 

I am now running the lunixserver.io docker image, and it says on their site that it is the official emby image, and supports hardware transcoding, but i still see no encoders under transcoding.

 

I know libreelec is a stripped down os, but i am unsure how to proceed is their any way to get it to work?

 

Thanks, Eric

 

https://forum.libreelec.tv/thread/6721-linuxserver-io-docker-addons-and-general-docker-info/

 

 

Emby:


This is a relatively large image and may take a while to set up especially on slower systems. The default mapped locations are /storage/videos and /storage/tvshows which show up as /data/movies and /data/tvshows inside the container.

 

Once installed, you can visit the emby web gui at port 8096. Additional parameters are optional and only needed if you need to map additional volumes or pass other variables. Please use the docker command line parameter structure ie. “-v /storage/path:/data/additional”. Leave blank otherwise.

 

On X86_64 with an intel igpu, hardware transcoding is supported in this container.

 

This is not a Linuxserver maintained docker image. We only support the wrapper addon. The image is the official emby docker image (emby/embyserver).

hardware_detection-63715709704.txt

embyserver.txt

Edited by goddahavit
Link to comment
Share on other sites

HI there, hardware acceleration in Docker is currently only considered experimental. To get your hardware detected you may need to configure the Docker container, and at this stage we may not have all of the answers of how to do that.

 

Have you configured the Docker container so that it has gpu access?

Link to comment
Share on other sites

goddahavit

Unfortunately I have no idea how to do that, i installed the Docker plugin, then loaded the repo for lunixserver.io finally installed the plugin for emby server from there, and it was up and running.

 

 

Anyway I went back to the libreelec version directly from their repo and i do not have a hardware decoder showing but i do show vaapi under encoding for h.264 am i correct that this is hardware encoding?

 

Only drawback is it is on version 4.2.1.0 and does not seem to auto update. and the dynamic images for my media librarys do not work,  other than that it seems functional so far.

 

On my other laptop I have several encodes and decoders listed.

I tested a mpeg2 stream from my tvheadend server on the web player and it did say software to hardware and the processor seemed much lower.

Link to comment
Share on other sites

 

Anyway I went back to the libreelec version directly from their repo and i do not have a hardware decoder showing but i do show vaapi under encoding for h.264 am i correct that this is hardware encoding?

 

Only drawback is it is on version 4.2.1.0 and does not seem to auto update. and the dynamic images for my media librarys do not work,  other than that it seems functional so far.

Yes that is hardware encoding. This LibeeElec package is not handled by us. We'll get to coordinate with the maintainer to ensure the necessary required components are included so that all features will work properly.

Link to comment
Share on other sites

  • 4 weeks later...
goddahavit

OK, so for anyone having the issues i have had, the libreelec package had several issues for me, I switched back to the docker container from linuxserver.io.

 

under libreelec under linuxserver.io settings, I added this line exactly to the additional parameters section, and now it is fine.

--device=/dev/dri:/dev/dri

 

I can not get the backup plugin to work at all, but i am working on it.

also working on realtime monitoring, but i can schedule the updates if needed.

Link to comment
Share on other sites

What is the issue with the backup plugin?

 

 

 

also working on realtime monitoring

Let us know how it goes, but in a virtualized container such as Docker I'm not sure it will work.

Link to comment
Share on other sites

goddahavit

Realtime does not work, on non virtulized libreelec or in docker apparently.  connecting to my nas via cifs.  as far as the backup plugin, i am unable to restore or backup, it fails immediately trying to run a backup, i just wanted to get my watched status from my windows box, but no go.

Edited by goddahavit
Link to comment
Share on other sites

Does this file that it's complaining about exist?

/smb:/192.168.0.32/public/emby server/backup/Emby Backup - 2020-02-25 00.10.0 - Auto/userdata/eric/userdata.json
Link to comment
Share on other sites

aptalca

@@goddahavit you really should have contacted linuxserver as the addon info states. It is not maintained by emby. In any case, it has since been fixed and the addon now supports vaapi on intel

Link to comment
Share on other sites

Looks like you configured an smb path with the backup plugin. Try not doing that instead adding a local path. If you want to use an smb network share, mount that in the OS first as a local path, then use the local path in Emby.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...