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.
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 )
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
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.
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.
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 ) ? ?
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.
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!
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.
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 So in easy terms: Read data and apply to video.