Jump to content

HW transcoding options missing


thostr
Go to solution Solved by Luke,

Recommended Posts

I run Emby from a docker container. and after upgrading to 4.x, I lost my HW transcoding options.

 

I have Emby Premiere, and passed through my Intel CPU, as I have always done.

 

I have attached logs for transcoding

 

5c57fc663cfd5_playing.png5c57fcaf55c1a_transcoding.pngtranscoding-logs.txt

Link to comment
Share on other sites

Hi there, can you please attach the Emby Server and hardware detect logs?
 

HWA is not officially supported in Docker. Chances are you may have turned it in 3.5 on before, but it most likely wasn't even working. It can work, but it will require setup on your part such as installing video drivers within the Docker container, and possibly other things beyond that.

Link to comment
Share on other sites

Luke, do you need anything else?

 

Hi there, can you please attach the Emby Server and hardware detect logs?
 

Link to comment
Share on other sites

No I use a docker container build on the Arch package (https://hub.docker.com/r/binhex/arch-emby/) and there was no problems in 3.5 with HW transcoding.

Im not sure where the problem lies, so I try here first. It could also be the Arch package or binhex´s docker.

 

But please clarify for me.

Has HW transcoding been dropped in 4.0, or was it never supported for docker? Assuming it is supported in Arch, it could either be the docker or the Arch Package, correct?

Link to comment
Share on other sites

HWA transcoding is not officially supported in Docker, but you'll still have a better chance with our container.

 

And yes, you could also use our Arch package.

Link to comment
Share on other sites

@@thostr try downgrading the intel driver to 1.3, the 1.4 it's incompatible with emby, don't know why.

 

@@Luke i have arch without docker and the new driver update from intel broke the compatibility and emby can't load the vaapi driver, not even for the decoder. Can something be done about it? Could a recompile of the package be enough?

 

For arch user you can fix with this:

wget https://archive.archlinux.org/packages/i/intel-media-driver/intel-media-driver-18.3.0-2-x86_64.pkg.tar.xz
pacman -U intel-media-driver-18.3.0-2-x86_64.pkg.tar.xz

PS:  Do you will ever release an official image for arch on the release github?

Edited by Keltere
Link to comment
Share on other sites

@@thostr try downgrading the intel driver to 1.3, the 1.4 it's incompatible with emby, don't know why.

 

@@Luke i have arch without docker and the new driver update from intel broke the compatibility and emby can't load the vaapi driver, not even for the decoder. Can something be done about it? Could a recompile of the package be enough?

 

For arch user you can fix with this:

wget https://archive.archlinux.org/packages/i/intel-media-driver/intel-media-driver-18.3.0-2-x86_64.pkg.tar.xz
pacman -U intel-media-driver-18.3.0-2-x86_64.pkg.tar.xz

PS:  Do you will ever release an official image for arch on the release github?

 

Please attach the information requested in how to report a problem. thanks !

Link to comment
Share on other sites

@@Luke now i've tried updating the intel-media-driver and now it's working just fine. Don't know why, maybe a wrong update or something wrong with the package.

Link to comment
Share on other sites

Thank you both :)

 

I installed the official Docker image, and HW showed up again. I'll start migrating my data and use that from now on :)

Link to comment
Share on other sites

chrissi55

Hi there,

 

my HWA looks like post No 1 of thostr

 

My emby server is running under vmware esxi 6.5 as ubuntu 18.04.2   emby version is 4.0.2.0

 

what should i install / which ubuntu packages?

 

My problem is, that on my tv the sound comes as stereó sound instead of DTS or Dolby D Sound when playing videos with that soundtype.

 

e.g. my android client is 3.8.34 - i have an dune hd pro 4K with android 7.1.1 and latest firmware.

Edited by chrissi55
Link to comment
Share on other sites

chrissi55

I've read this:

 

Linux

Emby supports the following hardware acceleration variants on Linux

  • Nvidia NVDEC & NVENC
    API for video encoding and decoding acceleration using Nvidia GPUs

  • VA API]
    Video Acceleration API for Linux is supported by several device manufacturers

  • Intel QuickSync Video
    Intel's brand for its dedicated video encoding and decoding hardware core

But didn't really understand wich one i should use or wich packages are needed for esxi vsphere clients

 

trying i965-va-driver -> "installed .... is allready the latest version..."

 

And i'm not sure if this is reasonable for my problem not having DTS or Dolby Digital sound on my emby clients?

 

 

Searching www i found this:

http://www.mkv-troubleshooting.com/play-mkv-files-on-emby

 

and this

http://www.brorsoft.com/tutorial/play-mkv-via-emby.html

 

But this blog is old - so i'm not sure if it's still true ...

Edited by chrissi55
Link to comment
Share on other sites

This topic is about hardware acceleration when transcoding. Are you now able to see hardware acceleration options?

 

Virtualized environments always present additional challenges. You will probably need to configure the VM to allow access to the GPU.

Link to comment
Share on other sites

chrissi55

...Are you now able to see hardware acceleration options?

 

Virtualized environments always present additional challenges. ....

 

 

No i'm not.

 

But what is more important for me is the ability to play mkv files h.264 / h.265 with DTS / Dolby D   within emby client. I tried it with emby for android, emby Theatre unter windows 10, and emby for kodi - all with no success. Allways hear the Stereo Sound ...

Edited by chrissi55
Link to comment
Share on other sites

chrissi55

Yes i made a short log while the player started and played one FullHD file with DTS 5.1 sound.

 

Playing the same file via an USB Stick connected to the player (not via emby) the DTS sound is detected by the A/V Amplifier correctly.

 

Playing via emby (Auto/Direct so 1:1 play) the sound stays at Stereo mode. (A/V Amplifier not switching to the new sound mode)

 

my logfile is attached

 

There are not many errors in my logfile i think - but you're the experts and i'm sure you can help me with that :)

 

 

Btw - i disabled the transcoding in emby for the moment.

embyserver.txt

Link to comment
Share on other sites

chrissi55

The first log shows my emby for android (latest version of google play store) must be 3.8.34

It is installed under android 7.1.1 on my Dune HD Pro 4K Media Player.

 

 

Now i made a second log file and tried emby theatre from microsoft store latest version under Windows 10 1809

it's version 1.1.244.0

 

Log is attached from today.

 

I should mention that all my clients are forced to use secure con via https://....  and a valid Let's Encrypt certificate generated by this tip

embyserver.txt

Edited by chrissi55
Link to comment
Share on other sites

  • 3 weeks later...
chrissi55

Thanks for help.

 

I attached the file.

 

I should mention, that i updated my emby to 4.1.0.12 BETA as well. But there is no change in behaviour audio output is concerned.

ffmpeg.txt

ffmpeg-remux.txt

Edited by chrissi55
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...