Jump to content
D34DC3N73R

hw transcoding issue 2160p HEVC HDR10 DTSHD 5.1

Recommended Posts

D34DC3N73R

I'm having a problem with a certain file using hardware accelerated transcoding. It starts with a green screen and sometimes plays a few frames and freezes again. It's also trying to transcode on my shield tv, although I believe it should be capable of direct play (and direct plays using plex). However, I get the same issues when using the web player, so it seems to be more related to the server than the shield client. Or, two separate issues, the transcoding problem, and why it wants to transcode on the shield.

post-374015-0-91203200-1549233282_thumb.jpg

post-374015-0-20345600-1549233372_thumb.jpg

emby-server.txt

Edited by D34DC3N73R

Share this post


Link to post
Share on other sites
Guest asrequested

Try disabling subtitles. 

Share this post


Link to post
Share on other sites
D34DC3N73R

It's the same behavior with no subs enabled. The only way it transcodes properly is with hw acceleration off.

Share this post


Link to post
Share on other sites
D34DC3N73R

it struck me that the transcode log previously posted was from when hw transcoding was disabled. Here's one with hw transcoding enabled.

hw-transcode.txt

Share this post


Link to post
Share on other sites
Luke

What emby app are you playing with?

Share this post


Link to post
Share on other sites
D34DC3N73R

This behavior is identical in the web player using chrome with windows and on the nvidia shield.

Share this post


Link to post
Share on other sites
Luke

Can you try lowering the in-app quality setting in the web app so that it's transcoded to 1080p? For example try 4 mbps. Please let me know how this compares. thanks.

Share this post


Link to post
Share on other sites
D34DC3N73R

When attempting to play in the web player it was transcoding to 1080p. (That is where the screenshot is from)

Share this post


Link to post
Share on other sites
D34DC3N73R

Is anything else needed to help troubleshoot this issue? it's still present on 4.0.2.0.

Share this post


Link to post
Share on other sites
Luke

Can you install the latest nvidia drivers and then try again?

 

@@softworkz any thoughts?

Share this post


Link to post
Share on other sites
D34DC3N73R

Currently using 410.78

Share this post


Link to post
Share on other sites
Luke

Ok, we'll see what @@softworkz thinks. Thanks.

Share this post


Link to post
Share on other sites
softworkz

The video source that is being played in the log file is HDR (10bit). 

 

Emby can handle those files in most cases, but there are certain combinations (input video type, video decoder, video encoder, in-between filters) that may not always work as expected.

This is an area which is currently being actively worked on .

 

As a temporary workaround, you could disable the hw decoder (but not the encoder) in the advanced settings.

Share this post


Link to post
Share on other sites
D34DC3N73R

Can you think of any reason why this is transcoding on an Nvidia shield? It direct plays using Plex on the shield. When showing stats for nerds it says transcode reason: unsupported audio.

Share this post


Link to post
Share on other sites
Luke

Try selecting the ac3 audio track.

Share this post


Link to post
Share on other sites
D34DC3N73R

It direct plays all the AC3 Dolby Digital 5.1 tracks but tries to transcode both DTS 5.1 tracks. For comparison, Plex direct plays all tracks, but isn't using hw decoding.

Edited by D34DC3N73R

Share this post


Link to post
Share on other sites
D34DC3N73R

DTS also transcodes on a 1080p h264 mkv for some reason.

Share this post


Link to post
Share on other sites
Luke

If something is transcoding that you think should not be, please open a ticket in the section of the community for the app you are using by seeing how to report a media playback issue

 

As for the hardware transcoding problem, that is on @@softworkz's list for review.

 

Thanks !

Share this post


Link to post
Share on other sites
softworkz

Is anything else needed to help troubleshoot this issue? it's still present on 4.0.2.0.

 

 

 

[...]

 

As a temporary workaround, you could disable the hw decoder (but not the encoder) in the advanced settings.

 

Have you tried this?

Share this post


Link to post
Share on other sites
D34DC3N73R

Yes, disabling hw HEVC decoding allows the file to play as expected. I'm still curious as to why it's trying to transcode in the first place, but I'll open a separate thread to figure out why DTS audio needs to be transcoded on the shield.

Share this post


Link to post
Share on other sites
Luke

Thanks for confirming that.

Share this post


Link to post
Share on other sites
sv3nno
I'm having this exact same issue.

 

Ubuntu 16.04 LTS x64 virtualized on ESXi 6.5.0

Passthrough Quadro P400, nvidia 410.78 driver (modified with keylase patch)

6 cores, Xeon E5 2660v3

8 GB ram

Emby 4.0.2.0

Using Chrome browser for playback.

 

1080p HEVC is no problem, and plays without issue using hardware transcoding.

2160p HEVC hardware transcoding is having problems:

With subtitles the transcoding is not fast enough, but thats another story..

Without subtitles it transcodes sufficiently fast enough, around 45 fps.

But the stream suffers from the same things as mentioned, corrupted frames and stuttering.

I'm also using Chrome browser for playback. I tried 1080p 10mbps and 2160p 40mbps, same issue.

Software transcoding the media file works fine, but then again one single stream is using about 5 cores @ 100%.

transcode.txt

post-170302-0-56286300-1551999658_thumb.png

post-170302-0-83284000-1551999664_thumb.png

post-170302-0-88325600-1551999670_thumb.png

post-170302-0-35083700-1551999677_thumb.png

Edited by sv3nno

Share this post


Link to post
Share on other sites
Luke

@@softworkz any thoughts? It is 10-bit HDR content.

Share this post


Link to post
Share on other sites
softworkz

@@sv3nno - please don't hijack threads. You got a totally different problem.

 

In your case, there's no transcoding problem. It's either a network or a client problem because this transcode is creating a huge amount of data.

The transcode ran for 8 minutes, creating 1.8 GB of video data.

 

It works with software encoding because at this time, we're having a significant mismatch between output bitrates of the various encoders (sw and hw).

This requires individual treatment of each encoder's quality settings alongside appropriate configuration options.

I hope we will get to that point soon.

 

Meanwhile, please try to lower the quality settings in your client to reduce the output bitrate.

Share this post


Link to post
Share on other sites
Luke

@@sv3nno are you still having an issue?

Share this post


Link to post
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...