[FEATURE REQUEST] Dolby Vision support for MKV [IMPLEMENTED]

If you already have a Dolby Vision parser (ie. mp4 support), it should be quite straight forward to read the Block data (unless you ofc. are not identifying that part atm. but that would be weird as you then wouldn’t be able to read the following sections) and throw the data to the parser.

We have an addition to Exoplayer done (which we just want to clean up a little more) which was done in a few days.

Already tested working from own build

Want, need, etc. Voted.

C’mon Plex
Make this happen.

Works fine! TV, AVR and Shield 2019 Pro recognize dv correctly. Nice to see that it is possible and even in the official mkv standard! Great job.

To get the perfect perfection for me now, plex only has to integrate it.

Please dear Plex team! Brings the topic of dv to the final stage. :star_struck:

So I did some messing around with a build someone made on another forum of the Exoplayer APK. The Dolby Vision discs I’ve tested with are all being ripped using the latest version of MakeMKV (1.15.2).

I was able to get the Plex Add-on for Kodi to work with Plex and trigger Dolby Vision. It’s FAR from perfect, but it works super well. I made a video (it will be at the very bottom of this post).


Here’s a (modified) copy of the post I made on that forum:

PLEX RUNNING DOLBY VISION AND ATMOS USING THE NEW APK FROM THIS THREAD:

It’s FAR from perfect, but I made video showing the following with the 2019 Shield
Link to the video is at the very bottom :

  • How to do it (after altering the playcorefactory.xml file for Kodi, it’s easier than you think)
  • How to fix the sync issue if you fall out of sync when the movie starts (in my testing, this quick method maintains sync throughout the playback)
  • Proof that DV is triggered and not faked (bottom left corner using a Vertex 2 showing LLDV running vs running a non-LLDV file)
  • Proof that Dolby Atmos is running (I hear it, but the receiver shows it as you’ll see in the video).

Notes:

  • This is super-alpha. You still can’t resume
  • This is super-awesome, it means it’s possible in Plex!!

Here’s what I did to my playercorefactory.xml file in Kodi (after )

</players>
<rules action="prepend">
<rule video="true" player="dvdplayer">
<rule filename=".*mkv.*|.*HEVC.*|.*hevc.*" player="ExoPlayer"/>
</rule>
</rules>
</playercorefactory>

https://www.dropbox.com/s/tpore7e80euwy … 5.MOV?dl=0

2 Likes

very good. I also had the idea of forcing exoplayer as the standard in Kodi. I was only of the opinion that the Plex addon uses its own modified player. I am glad that you have successfully made this work. Is a really good workaround until Plex makes it natively possible. thx

1 Like

All good :slight_smile:

I’m not even good at understanding the inner workings of things. I read an article about forcing different players in Kodi a little while ago. I then remembered that Plex on Kodi used Kodi’s own player. When I saw the APK, I put 2+2 together. To be honest, it was a lucky guess that led to this lol.

1 Like

Are we talking here about support for only single layer ( profile 5 )or double layer ( profile 7 ) dv content ?
Right now I play my UHD rips in mp4 container with MEL/FEL dv in Xplay ( third party plex for LG ) without any problems.
I’m really interested in the mkv support as I miss HD audio as it’s a no go for mp4.

its an profil 7 “double layer” in a single track. a mixture of single and dual layers. the profile “doesn’t realy matter”. Everything is included:
grafik

1 Like

have just successfully tested it. it works. nice :star_struck:

2 Likes

Omg that is awesome !
Do you have a link how to mux this way into mkv ?
P.s : I didn’t knew makemkv yet but as I see it’s a one click process. Every video and audio and subtitle stream inc. chapters and all metadata is muxed automaticly into one mkv file.
So thats it ? The output mkv really already contains HD audio + both BL and EL ( as one layer ) ? ?

1 Like

Yes :wink:

1 Like

This is indeed great news!
Let’s hope plex will implement this in the near future.

1 Like

I hate to be the bearer of bad news, but Plex will likely have to pay a license fee to Dolby Labs in order to add Dolby Vision and Atmos support to Plex. Taking into consideration Plex’s revenue model struggles to generate meaningful revenue to support the company operations, I will be shocked if we get “official” DV support in Plex.

Well, it bodes well that one of the Plex devs is active over on the MakeMKV forums.

Thanks for your efforts @itsdjbuddha
I ran a couple of movies through MakeMKV and it does indeed just work.

1 Like

I’m not saying it isn’t technically possible. I’m saying the business side of this might be an entirely insurmountable obstacle. I really hope I’m wrong, though!

1 Like

IAMNAL but I would imagine the licensing would be happening on the device (ie shield or tv), plex is (as far as I understand) simply exoplayer passing the dvhe/hevc stream to the underlying hardware, which does the DV decoding (not plex or exoplayer).

All that said, I would not be surprised if a more final implementation required plex pass to help pay for the additional development costs (and licensing if there is any needed). Also, DV is not a basic playback requirement, so it’s not like they are taking anything away from the current player.

4 Likes

Licensing should be at the hardware level

3 Likes

The license is on the hardware - adding support in software require no license, as it wouldnt be able to play unless the hardware was licensed!

So its all about Plex getting it built into their custom code/ffmpeg. But the code is somewhat trivial, as its all about throwing the Dolby Vision data to the parser which already was made for the mp4 format :slight_smile: So in easy terms: Read data and apply to video.

1 Like

Thanks for chiming in. If licenses are only required to be taken by hardware manufacturers, then that indeed solves everything.

1 Like