Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision now possible through MP4 Mux.

Post by mike admin » Wed Mar 11, 2020 6:26 pm

thetoad wrote:
Wed Mar 11, 2020 5:30 pm
the mkv files mike posted when played on my oppo to my sony x940e, they only comes up as hdr10, not dolby vision.
when I play the dolby vision ts files on LG's website (https://4kmedia.org/lg-amaze-dolby-vision-uhd-4k-demo/) they come up as dolby vision
This could be an explicit container check. Can you please try converting MKV file to TS and see if it changes anything at all.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts

Arbigator
Posts: 32
Joined: Fri Feb 28, 2020 9:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Arbigator » Wed Mar 11, 2020 9:41 pm

mike admin wrote:
Wed Mar 11, 2020 6:26 pm
thetoad wrote:
Wed Mar 11, 2020 5:30 pm
the mkv files mike posted when played on my oppo to my sony x940e, they only comes up as hdr10, not dolby vision.
when I play the dolby vision ts files on LG's website (https://4kmedia.org/lg-amaze-dolby-vision-uhd-4k-demo/) they come up as dolby vision
This could be an explicit container check. Can you please try converting MKV file to TS and see if it changes anything at all.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts
I converted the mkv files you posted to ts with tsMuxer, and they both playback correctly triggering Dolby Vision on the 2019 Shield.

ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Wed Mar 11, 2020 10:50 pm

mike admin wrote:
Wed Mar 11, 2020 6:26 pm
thetoad wrote:
Wed Mar 11, 2020 5:30 pm
the mkv files mike posted when played on my oppo to my sony x940e, they only comes up as hdr10, not dolby vision.
when I play the dolby vision ts files on LG's website (https://4kmedia.org/lg-amaze-dolby-vision-uhd-4k-demo/) they come up as dolby vision
This could be an explicit container check. Can you please try converting MKV file to TS and see if it changes anything at all.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts
I too converted your files with tsmuxer. In firestick 4k both files trigger Dolby Vision via Plex app (beta)
In emby app they trigger hdr

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision now possible through MP4 Mux.

Post by mike admin » Wed Mar 11, 2020 11:11 pm

Arbigator wrote:
Wed Mar 11, 2020 9:41 pm
I converted the mkv files you posted to ts with tsMuxer, and they both playback correctly triggering Dolby Vision on the 2019 Shield.
So this IS just a container check, and hardware can use this encoding method. We're good!

ragico wrote:
Wed Mar 11, 2020 10:50 pm
I too converted your files with tsmuxer. In firestick 4k both files trigger Dolby Vision via Plex app (beta). In emby app they trigger hdr
Guys, please make sure to use the very latest tsmuxer from doom9 (the one that supports EL NALUs) or any version of ffmpeg with "-c copy", in order to preserve all data during container conversion.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts

Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow » Wed Mar 11, 2020 11:19 pm

mike admin wrote:
Wed Mar 11, 2020 11:11 pm
Arbigator wrote:
Wed Mar 11, 2020 9:41 pm
I converted the mkv files you posted to ts with tsMuxer, and they both playback correctly triggering Dolby Vision on the 2019 Shield.
So this IS just a container check, and hardware can use this encoding method. We're good!

ragico wrote:
Wed Mar 11, 2020 10:50 pm
I too converted your files with tsmuxer. In firestick 4k both files trigger Dolby Vision via Plex app (beta). In emby app they trigger hdr
Guys, please make sure to use the very latest tsmuxer from doom9 (the one that supports EL NALUs) or any version of ffmpeg with "-c copy", in order to preserve all data during container conversion.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts
So what does all this mean exactly :lol:

Are we going to be able to make DV files in Makemkv and convert them to .TS?

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision now possible through MP4 Mux.

Post by mike admin » Wed Mar 11, 2020 11:30 pm

Angryunibrow wrote:
Wed Mar 11, 2020 11:19 pm
So what does all this mean exactly :lol:
Are we going to be able to make DV files in Makemkv and convert them to .TS?
Yes, in the next version.

But, hopefully, even with current MKV samples we will be able to bug and poke firmware and playback software authors, so they add support for MKV container when they check for the possible DV data. Plex looks like a first candidate to me...

Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow » Wed Mar 11, 2020 11:37 pm

mike admin wrote:
Wed Mar 11, 2020 11:30 pm
Angryunibrow wrote:
Wed Mar 11, 2020 11:19 pm
So what does all this mean exactly :lol:
Are we going to be able to make DV files in Makemkv and convert them to .TS?
Yes, in the next version.

But, hopefully, even with current MKV samples we will be able to bug and poke firmware and playback software authors, so they add support for MKV container when they check for the possible DV data. Plex looks like a first candidate to me...
Keeping HD Audio (Atmos) in tact I presume?

thetoad
Posts: 233
Joined: Thu Jul 28, 2016 4:18 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thetoad » Wed Mar 11, 2020 11:48 pm

mike admin wrote:
Wed Mar 11, 2020 6:26 pm
thetoad wrote:
Wed Mar 11, 2020 5:30 pm
the mkv files mike posted when played on my oppo to my sony x940e, they only comes up as hdr10, not dolby vision.
when I play the dolby vision ts files on LG's website (https://4kmedia.org/lg-amaze-dolby-vision-uhd-4k-demo/) they come up as dolby vision
This could be an explicit container check. Can you please try converting MKV file to TS and see if it changes anything at all.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts
tested, same thing. came up as hdr10 only. I know it can play a dolby vision.ts file as it play the one from LG's site

vlc shows the codec for the one from LG as

Codec: Dolby Vision HEVC (H.265) (dvhe)

while for my ffmpeg copied, it shows

Codec: MPEG-H Part2/HEVC (H.265) (hevc)

ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Thu Mar 12, 2020 12:06 am

mike admin wrote:
Wed Mar 11, 2020 11:11 pm
Arbigator wrote:
Wed Mar 11, 2020 9:41 pm
I converted the mkv files you posted to ts with tsMuxer, and they both playback correctly triggering Dolby Vision on the 2019 Shield.
So this IS just a container check, and hardware can use this encoding method. We're good!

ragico wrote:
Wed Mar 11, 2020 10:50 pm
I too converted your files with tsmuxer. In firestick 4k both files trigger Dolby Vision via Plex app (beta). In emby app they trigger hdr
Guys, please make sure to use the very latest tsmuxer from doom9 (the one that supports EL NALUs) or any version of ffmpeg with "-c copy", in order to preserve all data during container conversion.

Code: Select all

ffmpeg -i Joker_BL_EL_RPU.mkv -c copy Joker_BL_EL_RPU.ts
I made the Joker_BL_EL_RPU.mkv conversion again using 3 methods.
1-using ffmpeg = HDR
2-using tsmuxer latest official version w64-nightly-2020-03-10--01-12-52 = HDR
3-using tsmuxer posted by @Reset_999 https://drive.google.com/file/d/10zOr0I ... sp=sharing = Dolby Vision
Using firestick 4k and plex app (beta).
Emby app gives HDR always.

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 » Thu Mar 12, 2020 1:18 am

yusesope wrote:
Thu Mar 05, 2020 5:47 pm
Here are several clips of 23 seconds each relating to the Joker movie (with the iconic scene that has been discussed HERE on the Plex forum).
You can also find the original HEVC raw streams *** and those obtained with my program (the BL_EL_RPU version HERE, and the second BL_RPU iteration HERE).

I also muxed the Bluray disc with DVDFab and after an analysis with a hexadecimal editor, the file obtained is identical to what can be obtained with my program - second iteration)

If you want to share files on other forums too, there is no problem for me.

So I just wanted to make a couple comparisons(on the Shield) with the Joker clip that was originally posted. For the HDR only clip, I took the original BL HEVC layer and put that only in its own TS container with TSMuxer. Then for the DV clip, I originally tried to combine the two original HEVC (BL+EL) files using v2 of yusecope's tool, but it kept hanging on me after dropping in the files, so I just used the one he had already created in the post above. The resulting TS file with the BL+EL+RPU raw HEVC file was flagged with the same dvhe.08.06 profile as I've seen with other remuxes. Both files played fine and DV was correctly triggered on playback with the DV file. Here are the results:

https://slow.pics/c/lEiqk70r

As you can see, there is definitely a noticeable difference between the two files (although not as much as the pictures may indicate due to my shoddy camera work). Specifically with the DV clip, it looks a bit brighter with the furnace on the right side more noticeable. I think this proofs that the EL layer might not be completely ignored in DV profile 8 videos? Unfortunately I don't have a UHD DV-capable player to test the actual movie and see what "real" DV should look like.

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by SamuriHL » Thu Mar 12, 2020 1:20 am

mike admin wrote:
Wed Mar 11, 2020 11:30 pm

Yes, in the next version.

But, hopefully, even with current MKV samples we will be able to bug and poke firmware and playback software authors, so they add support for MKV container when they check for the possible DV data. Plex looks like a first candidate to me...
WOW! This is an exciting development. Assumably until that happens (MKV support) we could convert them to TS and we should be good to go? I've yet to get the sample to play in Plex on my 2019 Shield Pro but I'm sure it's something on my end. I tried both ffpmpeg copy and the nightly tsmuxer to convert your samples to ts and couldn't get them to trigger DV. But again, I'm sure it's on my end.

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by SamuriHL » Thu Mar 12, 2020 1:22 am

ragico wrote:
Thu Mar 12, 2020 12:06 am

I made the Joker_BL_EL_RPU.mkv conversion again using 3 methods.
1-using ffmpeg = HDR
2-using tsmuxer latest official version w64-nightly-2020-03-10--01-12-52 = HDR
3-using tsmuxer posted by @Reset_999 https://drive.google.com/file/d/10zOr0I ... sp=sharing = Dolby Vision
Using firestick 4k and plex app (beta).
Emby app gives HDR always.
I guess I should have kept reading. Ok, I don't have the TSMuxer version you're referencing in 3 (and the link you posted isn't complete). I guess I'll have to go back and find it. But yes, I got HDR for both ffmpeg and the nightly TSMuxer, as well. As you see in my last post, I thought it was something I was doing wrong but now it makes sense.

hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 » Thu Mar 12, 2020 2:31 am

I can't understand how is possible we don't have any windows player than can play DV

Only in Android

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by SamuriHL » Thu Mar 12, 2020 3:01 am

hepe9 wrote:
Thu Mar 12, 2020 2:31 am
I can't understand how is possible we don't have any windows player than can play DV

Only in Android
Easy to understand. Licensing $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.

Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow » Thu Mar 12, 2020 4:36 am

PM'd one of the guys at Nvidia forums asking about what profiles the 2019 Shield supports and here was the answer.
We support profile 4 MEL (minimum enhancement layer). Also single layer profiles 5,8.9.

Post Reply