Jump to content

HDR and Dolby Vision issues


Clayzee
Go to solution Solved by Clayzee,

Recommended Posts

Clayzee

Hello 🙂

I currently have an issue with HDR / Dolby Vision videos that I cannot really understand, and for which I'm seeking some help

Current Emby setup

  • Emby server installed on Synology NAS ( DSM7 )
  • Emby client installed on an Apple TV 4K ( latest gen )
  • Transcoding is disabled ( Direct Play only )

The HDR problem

Attempting to play mkv movies or TV shows with embedded HDR works, but... the TV detects no HDR signal during the playback ( while HDR signal IS correctly detected when displaying the main Apple TV interface )

The Dolby Vision problem

Attemting to play mkv videos with a Dolby Vision encoded track works, but ... the screen remains black ( while the audio plays fine )

 

From what I read here and there, the DV issue could be resolved by switching the video container from mkv to mp4 : is that assumption correct or is there another setting I should look at ?

Regarding the HDR signal not being detected by the TV, a couple of posts reported similar issues, but these were supposedly fixed with the latest Emby ATV upgrade ( which is installed), so...I'm a bit confused about what's wrong here 🤔

Any help clues are welcome !

Link to comment
Share on other sites

kalg

Sorry too say that emby client dosn't do hdr passthrough with .mkv files you have to use either plex or infuse or channels dvr (all extra pay methods thou)

Link to comment
Share on other sites

Clayzee
On 5/1/2023 at 3:49 AM, Luke said:

@Clayzee

 

Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

Hello, thanks for replying 🙂

 

Here are the latest technical details of the tests I've conducted after reading the Emby ATV WIKI

 

Media file(s)

Episodes from the TV-show "Prehistoric Planet", each in MP4 containers

mediainfo of one of these :

General
Complete name                            : ***share=video/tv-shows/Prehistoric Planet ( 2022 )/S01E01 Coasts.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (isom/mp42/dby1)
File size                                : 7.28 GiB
Duration                                 : 42 min 3 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 24.8 Mb/s
Encoded date                             : UTC 2022-05-23 08:48:58
Tagged date                              : UTC 2022-05-23 08:48:58

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 42 min 3 s
Bit rate                                 : 24.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.121
Stream size                              : 7.06 GiB (97%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2022-05-23 08:48:38
Tagged date                              : UTC 2022-05-23 08:49:09
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : ec-3
Duration                                 : 42 min 3 s
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Maximum bit rate                         : 811 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 231 MiB (3%)
Title                                    : English
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 1
Tagged date                              : UTC 2022-05-23 08:49:09
Complexity index                         : Not present / 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text #1
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 40 min 26 s
Bit rate mode                            : Variable
Bit rate                                 : 43 b/s
Stream size                              : 12.8 KiB (0%)
Title                                    : English
Language                                 : English
Forced                                   : No
Encoded date                             : UTC 2022-05-23 08:49:05
Tagged date                              : UTC 2022-05-23 08:49:09

Emby Server

  • Version 4.7.8.0 running ona DSM7 Synology NAS
  • Transcoding disabled
  • logs : embyservlogs

 

Emby Client

  • Apple TV 4k (3rd gen), latest version
  • Stats for nerds while playing :
Stream

MP4 (25Mbps) Direct Play

Video
   4K HEVC
   Main 10 150 24Mbps 23.976 fps
   -> Direct Play (24 Mbps)

Audio
   English EAC3 5.1 (Default)
   768 kbps 48000 Hz
   -> Direct Play (768 kbps)

Symptoms

  • media playback starts normally
  • audio track plays normally
  • All the ATV on screen controls are visible and functioning, but the screen remains black (ie : no images from the video track are displayed )
Link to comment
Share on other sites

Clayzee
On 5/1/2023 at 7:12 AM, kalg said:

Sorry too say that emby client dosn't do hdr passthrough with .mkv files you have to use either plex or infuse or channels dvr (all extra pay methods thou)

I've tested Emby on an Android TV, and HDR passtrough works with .mkv

17 hours ago, hstamas said:

You can also convert your MKV movie container to MP4/MPV cant you?

Since MKV or MP4 is just a container : the medias contained within would be the same, so I'm curious... why does it make a difference ?

Link to comment
Share on other sites

kalg

i think the chap wants hdr passthrough in .mkv working i'm surprised that a dev dont known this wont happen on apple tv because emby team not made it work only tone mapping ie hdr to sdr (like chap said hdr passthough) 

Link to comment
Share on other sites

Clayzee
7 hours ago, kalg said:

i think the chap wants hdr passthrough in .mkv working i'm surprised that a dev dont known this wont happen on apple tv because emby team not made it work only tone mapping ie hdr to sdr (like chap said hdr passthough) 

There are two things :

  • HDR signal not being passed to the TV
  • DolvyVision videos showing a black screen

 

-> I suppose the HDR signal not being passed from an .mkv file is specific to ATV, because I've seen it working on Emby for Android TV

-> I don't what's the root cause of the DolbyVision issue, because in this case, the wiki checklist has been respected ( ie : DirectPlay with MP4 container, DV L5 etc. )

Link to comment
Share on other sites

Clayzee
18 hours ago, Luke said:

Can you try updating to Emby for Apple TV 1.7.2? Thanks.

I updated the ATV client to the said version, but the behaviour ( ie : black screen when playing a DolbyVision video track ) is still the same 🙁

Here are the Emby server logs : embysrvlog

Link to comment
Share on other sites

blipoids

Have you tried native vs mpv player in the settings? Can't recall exactly if this was terminology, sorry.

Link to comment
Share on other sites

Clayzee
8 minutes ago, blipoids said:

Have you tried native vs mpv player in the settings? Can't recall exactly if this was terminology, sorry.

The playback setting was set to Auto

  • When forcing MPV, the Dolby Vision video track is displayed ! ...... but in pink/green tones only 😶
  • When forcing Native, the result is the same as the one experienced before ( black screen )

So, it's either colourblind style images or no images at all 

NB : I was really expecting the ATV/Emby combo to handle DV files correctly, considering that Apple favours that video format 🤔

Link to comment
Share on other sites

blipoids

Me too. And I'm just about to open a new thread here, actually two, on Emby bugs both on Apple TV as well as on LG's web OS.

The only app I know of that handles DV is Infuse -however that also has a number of problems.

 

Link to comment
Share on other sites

hstamas
On 5/2/2023 at 5:36 AM, Clayzee said:

I've tested Emby on an Android TV, and HDR passtrough works with .mkv

Since MKV or MP4 is just a container : the medias contained within would be the same, so I'm curious... why does it make a difference ?

Apple being Apple I guess. As long as the actual video format is within Apple specs switching to a MP4 container should solve at least some of your issues.

Link to comment
Share on other sites

GrimReaper
1 hour ago, Clayzee said:

When forcing MPV, the Dolby Vision video track is displayed ! ...... but in pink/green tones only

Maybe I missed it, but does your TV support DV? 

Link to comment
Share on other sites

Clayzee
3 hours ago, GrimReaper said:

Maybe I missed it, but does your TV support DV? 

No, my TV does not support DV ( only HDR10 )

But this is why I bought the ATV : because of its ability to handle DV content for non-DV compliant TVs

Does it mean that, using Emby on ATV, there's no way to display DV content if the TV doesn't support that format ?

Link to comment
Share on other sites

samuelqwe
20 hours ago, Clayzee said:

No, my TV does not support DV ( only HDR10 )

But this is why I bought the ATV : because of its ability to handle DV content for non-DV compliant TVs

Does it mean that, using Emby on ATV, there's no way to display DV content if the TV doesn't support that format ?

Since DV Profile 5 files do not have any kind of fallback (to neither HDR or SDR), I would not expect it to work on your TV. I don’t believe the Apple TV is able to convert DV on the fly for non-DV compliant TVs.

Link to comment
Share on other sites

Clayzee
2 hours ago, samuelqwe said:

Since DV Profile 5 files do not have any kind of fallback (to neither HDR or SDR), I would not expect it to work on your TV. I don’t believe the Apple TV is able to convert DV on the fly for non-DV compliant TVs.

I was under the impression that this is what ATV does : converting DV to HDR10 if the display device isn't DV compliant

You can have a look at Vincent T.'s analysis regarding the subject ( up to 02:20 ) :

 

  • Thanks 1
Link to comment
Share on other sites

samuelqwe
48 minutes ago, Clayzee said:

I was under the impression that this is what ATV does : converting DV to HDR10 if the display device isn't DV compliant

You can have a look at Vincent T.'s analysis regarding the subject ( up to 02:20 ) :

 

Thanks for sharing, I had no idea it could do that.

I suspect there are very specific conditions that allow this to work, because I was under the impression that most streaming services would just serve you an HDR10 file rather than sending DV that the Apple TV has to convert. That’s why I didn’t think the Apple TV was converting.

Link to comment
Share on other sites

  • Solution
Clayzee

So, If I'm right, and based on the troubleshooting conducted, this is the situation as of May 2023 :
 

  • The ATV is able to convert DV to HDR10 on the fly when streaming content from Apple servers, but not from Emby
  • The HDR passtrough on ATV using Emby doesn't work with .mkv containers


 

 

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...
a5ian300zx

It's you file that is causing the issue, you have DV file that is profile 5 and from what I have read apple tv does not support all the DV profiles so you have to convert them to DV 8 profile for DV playback, but as you you tv does not support it should revert back to hdr10 base layer providing the file has that in it which your one does by the looks of if eg BL+RPU so has both. Might be the way it is encoded. 

You can redo it a remove DV from it with using free tool like mkvtoolnix or paid tools like dvdfab video convertor. 

Link to comment
Share on other sites

raven-au
On 5/4/2023 at 3:25 AM, Clayzee said:

No, my TV does not support DV ( only HDR10 )

But this is why I bought the ATV : because of its ability to handle DV content for non-DV compliant TVs

Does it mean that, using Emby on ATV, there's no way to display DV content if the TV doesn't support that format ?

Probably not since Dolby Vision profile 5 does not have HDR10 fallback so it does not play.

If you can convert it to Dolby Vision profile 8 it might play since they have HDR10 fallback capability, but you have trouble with those HDR10 videos too.

Link to comment
Share on other sites

  • 1 month later...
gstar3
On 5/3/2023 at 5:36 PM, blipoids said:

Me too. And I'm just about to open a new thread here, actually two, on Emby bugs both on Apple TV as well as on LG's web OS.

The only app I know of that handles DV is Infuse -however that also has a number of problems.

 

Which problems do infuse have?

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...