Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

jcdr428 wrote:
Fri Apr 10, 2020 4:50 pm
jcdr428 wrote:
Thu Apr 09, 2020 8:29 pm
badrobot wrote:
Thu Apr 09, 2020 7:39 am
And, according to the help information of Dolby’s open source mp4muxer, Profile 4 has HDR compatibility?

Code: Select all

 --dv-profile <arg>                 = Sets the Dolby Vision profile. This option is MANDATORY for
                                      DoVi elementary stream: Valid profile values are:
                                      4 - dvhe.04, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: SDR/HDR.
                                      5 - dvhe.05, BL codec: HEVC10; EL codec: N/A;    BL compatibility: None.
                                      7 - dvhe.07, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: Blue-ray HDR10.
                                      8 - dvhe.08, BL codec: HEVC10; EL codec: N/A;    BL compatibility: SDR/HDR.
                                      9 - dvav.09, BL codec: AVC;    EL codec: N/A;    BL compatibility: SDR/HDR
mp4muxer profile 6 has been removed on 12 Feb 20. The latest document DolbyVisionProfilesLevels_v1_3_2_2019_09_16.pdf mentions BL compatibility with SDR (VUI 1,1,1) only. I've asked Dolby mp4muxer developper on Github to clarify compatibility with CTA HDR10, and whether the document would be revised accordingly.
Answer from Dolby: "Profile 4 is a Dolby Vision specific dual layer format where the base layer is SDR ( BT.1886, ITU-R BT.709, YCbCr 4:2:0) and then the enhancement layer contains the Dolby Vision data. So its is only cross compatible with SDR and not HDR10. That is why the current profile and levels doc was updated to reflect that."
So Profile 6 is the only profile (besides 5 & 7) that we can create from the tools we have, but are not "officially" supported from Dolby anymore.
And we would need exoplayer to add this back in, and also Plex to make sure they use it to be fully compatible?
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

Okay.. I couldn't let go of Gemini Man on my LG C8.

It appears that when I use Dolby Lab's mp4muxer version 1.0.0 (v1.0.1 is broken) and I mux both the base and enhanced layer separately using --dv-profile 7 and ac3 audio. It DOES indeed play when I turn off all processing options on my TV (motion blah, noise reduction blah etc..).
It still stutters a very tiny bit though..(probably because the movie is 60fps).

But I can't achieve the same when I 'blend' both layers using yusesope's tool in mode 1 (BL+EL+RPU).
I tried to mux the resulting hevc with both mp4muxer (profile 4) and the latest tsmuxer nightly (which gives it profile 6).

In both muxes it skips every one-two seconds.

That makes me wonder whether the BL+EL+RPU 'merged' videos somehow differ from dual layer (profile 7) muxes.

Because I would imagine that blending them together with yusesope's tool would make it easier for the TV to decode since it's a single track..
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

MastaG wrote:
Fri Apr 10, 2020 5:14 pm
Okay.. I couldn't let go of Gemini Man on my LG C8.

It appears that when I use Dolby Lab's mp4muxer version 1.0.0 (v1.0.1 is broken) and I mux both the base and enhanced layer separately using --dv-profile 7 and ac3 audio. It DOES indeed play when I turn off all processing options on my TV (motion blah, noise reduction blah etc..).
It still stutters a very tiny bit though..(probably because the movie is 60fps).

But I can't achieve the same when I 'blend' both layers using yusesope's tool in mode 1 (BL+EL+RPU).
I tried to mux the resulting hevc with both mp4muxer (profile 4) and the latest tsmuxer nightly (which gives it profile 6).

In both muxes it skips every one-two seconds.

That makes me wonder whether the BL+EL+RPU 'merged' videos somehow differ from dual layer (profile 7) muxes.

Because I would imagine that blending them together with yusesope's tool would make it easier for the TV to decode since it's a single track..
Have you also tried muxing yusecope's resulting hevc in profile 7 with mp4muxer?
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

shawnc22 wrote:
Fri Apr 10, 2020 6:01 pm
MastaG wrote:
Fri Apr 10, 2020 5:14 pm
Okay.. I couldn't let go of Gemini Man on my LG C8.

It appears that when I use Dolby Lab's mp4muxer version 1.0.0 (v1.0.1 is broken) and I mux both the base and enhanced layer separately using --dv-profile 7 and ac3 audio. It DOES indeed play when I turn off all processing options on my TV (motion blah, noise reduction blah etc..).
It still stutters a very tiny bit though..(probably because the movie is 60fps).

But I can't achieve the same when I 'blend' both layers using yusesope's tool in mode 1 (BL+EL+RPU).
I tried to mux the resulting hevc with both mp4muxer (profile 4) and the latest tsmuxer nightly (which gives it profile 6).

In both muxes it skips every one-two seconds.

That makes me wonder whether the BL+EL+RPU 'merged' videos somehow differ from dual layer (profile 7) muxes.

Because I would imagine that blending them together with yusesope's tool would make it easier for the TV to decode since it's a single track..
Have you also tried muxing yusecope's resulting hevc in profile 7 with mp4muxer?
Good one!
I haven't with v1.0.0, good one :)
I'll try and report back.
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

mrhollywood wrote:
Fri Apr 10, 2020 2:26 pm
Forgive me if this has already been mentioned, but if profile 5 is single layer, then wouldn't it work in MKV format without any modifications? As far as I have read the only thing preventing DV in MKV is the lack of handling multiple layers. MKV is a lot for convenient for use over TS.
technically yes, but mkvtoolnix needs to add the proper dv descriptors first similar to what tsmuxer has done. right now it makes an mkv fine but loses the dv data in process.
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

@MastaG
I remember Yusesope recommended to me tu use profile 5, about 40 pages back.
Sgt Hartman
Posts: 35
Joined: Thu Mar 02, 2017 6:29 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Sgt Hartman »

FYI, seems like DV has been triggered also for Elephant Man!
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

Grencola wrote:
Fri Apr 10, 2020 7:01 pm
mrhollywood wrote:
Fri Apr 10, 2020 2:26 pm
Forgive me if this has already been mentioned, but if profile 5 is single layer, then wouldn't it work in MKV format without any modifications? As far as I have read the only thing preventing DV in MKV is the lack of handling multiple layers. MKV is a lot for convenient for use over TS.
technically yes, but mkvtoolnix needs to add the proper dv descriptors first similar to what tsmuxer has done. right now it makes an mkv fine but loses the dv data in process.
Who do we talk too to make that happen :D
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

Angryunibrow wrote:
Fri Apr 10, 2020 8:48 pm
Who do we talk too to make that happen :D
https://www.matroska.org/contact/index.html 8)
tr000
Posts: 71
Joined: Thu Jul 18, 2019 11:03 am

Re: Dolby Vision now possible through MP4 Mux.

Post by tr000 »

Grencola wrote:
Fri Apr 10, 2020 7:01 pm
mrhollywood wrote:
Fri Apr 10, 2020 2:26 pm
Forgive me if this has already been mentioned, but if profile 5 is single layer, then wouldn't it work in MKV format without any modifications? As far as I have read the only thing preventing DV in MKV is the lack of handling multiple layers. MKV is a lot for convenient for use over TS.
technically yes, but mkvtoolnix needs to add the proper dv descriptors first similar to what tsmuxer has done. right now it makes an mkv fine but loses the dv data in process.
This is basically just what mp4muxer does (for an mp4), that's why the actual .exe is so small.
badrobot
Posts: 21
Joined: Wed Mar 25, 2020 4:14 am

Re: Dolby Vision now possible through MP4 Mux.

Post by badrobot »

Sgt Hartman wrote:
Fri Apr 10, 2020 12:08 pm
Does any of you got the error message in ffmpeg

bd_open() failed
bluray:: I/O error

while launching ffmpeg -i bluray: D:\your_uhd_bluray_foler\ -map 0:0 -c copy D:\output\BL.hevc -map 0:1 -c copy D:\output\EL.hevc
I have met the same issue, the workaround is finding the correct m2ts file in the bdmv/stream folder. DO NOT USE bluray protocol.

Code: Select all

ffmpeg -i d:\your.m2ts.file.path .....other parameter.....
If the moive contains more than one m2ts file, use tsmuxer to merge those m2ts files first.
I am not a native English speaker.
Sorry for my bad English.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

tr000 wrote:
Sat Apr 11, 2020 12:32 am
Grencola wrote:
Fri Apr 10, 2020 7:01 pm
mrhollywood wrote:
Fri Apr 10, 2020 2:26 pm
Forgive me if this has already been mentioned, but if profile 5 is single layer, then wouldn't it work in MKV format without any modifications? As far as I have read the only thing preventing DV in MKV is the lack of handling multiple layers. MKV is a lot for convenient for use over TS.
technically yes, but mkvtoolnix needs to add the proper dv descriptors first similar to what tsmuxer has done. right now it makes an mkv fine but loses the dv data in process.
This is basically just what mp4muxer does (for an mp4), that's why the actual .exe is so small.
No Atmos in .mp4 so a profile 5 mkv with Atmos would be ideal.
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

tr000 wrote:
Sat Apr 11, 2020 12:32 am
This is basically just what mp4muxer does (for an mp4), that's why the actual .exe is so small.
Pretty much, though with .ts / .m2ts now working with dv I'm not sure we need mkv. I suppose PGS subtitles and proper chapter support is handy to some people (pgs to srt is such a simple conversion, and who even uses chapters? :lol:).
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

Angryunibrow wrote:
Sat Apr 11, 2020 12:55 am
No Atmos in .mp4 so a profile 5 mkv with Atmos would be ideal.
use tsmuxer to make a .ts file with atmos.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Grencola wrote:
Sat Apr 11, 2020 1:00 am
tr000 wrote:
Sat Apr 11, 2020 12:32 am
This is basically just what mp4muxer does (for an mp4), that's why the actual .exe is so small.
Pretty much, though with .ts / .m2ts now working with dv I'm not sure we need mkv. I suppose PGS subtitles and proper chapter support is handy to some people (pgs to srt is such a simple conversion, and who even uses chapters? :lol:).
I still use chapters! to the point of digging up an old plex metadata plugin to add them onto ts files during the import process :lol:
Post Reply