Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

Eg in the RPU patent:
"rpu_type specifies the type of this RPU and must be 2 for the BDA Ultra HD Blu-ray Option-A HDR coding system."
"rpu_format specifies further information related to the prediction and coding process given rpu_type. The value of rpu_format must remain the same for the entire sequence. For BDA Ultra-HD Blu-ray, rpu_format must be set to 0."
"vdr_rpu_profile and vdr_rpu_level specify the profile and the level constraints that the Dolby Vision reference processing conforms to, and must be 1 and 0, respectively, for BDA Option-A HDR."
"For BDA Ultra-HD Blu-ray, vdr_seq_info_present_flag must be set to 0."
"chroma_resampling_explicit_filter_flag must be equal to 0 for Ultra-HD Blu-ray."
etc. etc.

These values/RPUs are valid for profile 7 but may not be for other profiles.
So somebody must parse the RPU metadata for profile 7 and profile 4/6 and analyse the difference.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
Ah that does seem like a plausible explanation. I personally have never gotten profile 7 files to work on my B9, but people previously in this thread have reported that dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without issue on their LG C# internal players. If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
:) So the best option is still to keep profile 7, until RPU info has been checked to be fully compliant.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
Ah that does seem like a plausible explanation. I personally have never gotten profile 7 files to work on my B9, but people previously in this thread have reported that dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without issue on their LG C# internal players. If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
Made with separate tracks in mp4muxer without going through yusecope's tool first, right?
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

jcdr428 wrote:
Tue Mar 31, 2020 9:00 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
:) So the best option is still to keep profile 7, until RPU info has been checked to be fully compliant.
Agree, I just wish my TV could play Atmos :)
I'm converting all Atmos to DTS-HD MA 7.1 and it streams the core DTS so its something I guess.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

shawnc22 wrote:
Tue Mar 31, 2020 9:01 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
Ah that does seem like a plausible explanation. I personally have never gotten profile 7 files to work on my B9, but people previously in this thread have reported that dual track dual layer profile 7 mp4 remuxes made with mp4muxer play without issue on their LG C# internal players. If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
Made with separate tracks in mp4muxer without going through yusecope's tool first, right?
Correct, this was mp4muxer and mp4box. - the old fashion way from a month ago :)
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

shawnc22 wrote:
Tue Mar 31, 2020 8:36 pm
If anyone with a C# TV can try a mp4 prof7 remux of an FEL movie, that would be helpful.
Yes, I did many mp4 and all play perfectly in LG C8 via plex/emby webOS apps, Some titles: First Man, Gemini man, BlacKkKlansman, Mission Impossible - Fallout, Mission Impossible - Rogue Nation, The Deer Hunter, Transformers, and many more.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

jcdr428 wrote:
Tue Mar 31, 2020 9:00 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
:) So the best option is still to keep profile 7, until RPU info has been checked to be fully compliant.
@jcdr428

If I use the latest tsmuxer I can drop in the BL.hevc and EL.hevc and then the blu-ray playlist to select the Atmos and make a correct Profile 7 .ts with Atmos correct?
I know if will not play on my TV, but I can select the core .ac3 file and in theory it should be just fine.

This I would prefer right now because I have no issues playing them and I know i'm playing the movie with out alteration in its true form.

I shouldn't need any other tool in this case right?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Angryunibrow wrote:
Tue Mar 31, 2020 9:10 pm
jcdr428 wrote:
Tue Mar 31, 2020 9:00 pm
Angryunibrow wrote:
Tue Mar 31, 2020 8:57 pm
I just watched Knives Out which is FEL on the LG C8.
This was Profile 7 with DTS-HD MA 7.1 audio.

Zero issues.
:) So the best option is still to keep profile 7, until RPU info has been checked to be fully compliant.
@jcdr428

If I use the latest tsmuxer I can drop in the BL.hevc and EL.hevc and then the blu-ray playlist to select the Atmos and make a correct Profile 7 .ts with Atmos correct?
I know if will not play on my TV, but I can select the core .ac3 file and in theory it should be just fine.

This I would prefer right now because I have no issues playing them and I know i'm playing the movie with out alteration in its true form.

I shouldn't need any other tool in this case right?
I think that should be the expectation and worth a try, but if I'm remembering correctly, I believe that @RESET_9999 has said in the past that those prof 7 .ts files made straight from the original m2ts will only play on the x700 or oppo. If that is the case, then there's a question of what's being done different between mp4muxer and tsmuxer to create prof 7 dual track files.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

shawnc22 wrote:
Tue Mar 31, 2020 9:17 pm
Angryunibrow wrote:
Tue Mar 31, 2020 9:10 pm
jcdr428 wrote:
Tue Mar 31, 2020 9:00 pm

:) So the best option is still to keep profile 7, until RPU info has been checked to be fully compliant.
@jcdr428

If I use the latest tsmuxer I can drop in the BL.hevc and EL.hevc and then the blu-ray playlist to select the Atmos and make a correct Profile 7 .ts with Atmos correct?
I know if will not play on my TV, but I can select the core .ac3 file and in theory it should be just fine.

This I would prefer right now because I have no issues playing them and I know i'm playing the movie with out alteration in its true form.

I shouldn't need any other tool in this case right?
I think that should be the expectation and worth a try, but if I'm remembering correctly, I believe that @RESET_9999 has said in the past that those prof 7 .ts files made straight from the original m2ts will only play on the x700 or oppo. If that is the case, then there's a question of what's being done different between mp4muxer and tsmuxer to create prof 7 dual track files.

You know what I did try this and it only played HDR, I remember now - I've done so many tests I can't keep track.
I do not think the LG player can do DV in .ts, I even tried .m2ts for the hell of it and that was also only HDR

I would love Profile 7 with Atmos to play on my TV, even if I could only use the core .ac3 right now.
HDMI 2.1 Earc will solve that someday and it would be nice to have a full profile 7 with Atmos working.

I made the comment that tsmuxer was assigning profile 7.05, while mp4muxer was profile 7.06 - I do not know if that matters.
Maxoumax6
Posts: 7
Joined: Sun Mar 29, 2020 9:03 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Maxoumax6 »

Hi guys,

Just a test. I've dowloaded this BD https://www.demo-world.eu/2018/08/30/do ... arch-2018/

I used ffmpeg to get the BL and EL files, then used yusesope's tool (v. 0.0.3) with "-mode 2" option.
I used Ts (git-2ff96ce) to remux that with the "e-ac3 dolby digital with dolby atmos" track. The TrueHD track is not played by the internal player of the TV.

I manage to trigger both DolbyVision and DoblyAtmos on my LG C8 and that's cool!

Seems to be that BL+RPU profile 5 works smoothly on C8.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

Putting a couple sample mediainfos here for reference in regards to prof 7 files (all made with joker sample tracks):

-Made with mp4muxer. Reported working on LG C# internal players

Code: Select all

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 23 s 773 ms
Bit rate                                 : 32.3 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 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.162
Stream size                              : 91.5 MiB (100%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-03-23 23:05:44
Tagged date                              : UTC 2020-03-23 23:05:44
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 23 s 773 ms
Bit rate                                 : 64.1 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 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 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.001
Stream size                              : 186 KiB (0%)
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-03-23 23:05:44
Tagged date                              : UTC 2020-03-23 23:05:44
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Codec configuration box                  : hvcC+dvcC
-Made with bb51a5f build of tsmuxer

Code: Select all

Video #1
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, BL / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 23 s 648 ms
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 cd/m2

Video #2
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 23 s 648 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Have you tried build bb51a5f to see if that makes a difference since it looks like it's no longer being labeled as 07.05? If still the same result, could the issue be caused by the BL track in the TS file having the DV tag while the mp4 file does not?
Last edited by shawnc22 on Tue Mar 31, 2020 10:03 pm, edited 1 time in total.
jcdr428
Posts: 34
Joined: Fri Mar 20, 2020 6:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by jcdr428 »

Angryunibrow wrote:
Tue Mar 31, 2020 9:22 pm
I made the comment that tsmuxer was assigning profile 7.05, while mp4muxer was profile 7.06 - I do not know if that matters.
@Angryunibrow it should be 7.06... I'll fix it. However the level is only related to pixel rate, marking 7.05 does not make any difference if your SoC can play 7.06 pixel rates. The most obvious reason why the TS plays on Blu-ray players only is the HDMV (Blu-ray) descriptors. Standard ETSI descriptors might allow DV but would remove compatibility with PGS, ac3/eac3 and ac3/TrueHD.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Angryunibrow »

jcdr428 wrote:
Tue Mar 31, 2020 10:01 pm
Angryunibrow wrote:
Tue Mar 31, 2020 9:22 pm
I made the comment that tsmuxer was assigning profile 7.05, while mp4muxer was profile 7.06 - I do not know if that matters.
@Angryunibrow it should be 7.06... I'll fix it. However the level is only related to pixel rate, marking 7.05 does not make any difference if your SoC can play 7.06 pixel rates. The most obvious reason why the TS plays on Blu-ray players only is the HDMV (Blu-ray) descriptors. Standard ETSI descriptors might allow DV but would remove compatibility with PGS, ac3/eac3 and ac3/TrueHD.
That's right I remember you mentioning that.
Oh well, can't have it all I guess.
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

shawnc22 wrote:
Tue Mar 31, 2020 9:43 pm
Putting a couple sample mediainfos here for reference in regards to prof 7 files (all made with joker sample tracks):

-Made with mp4muxer. Reported working on LG C# internal players

Code: Select all

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 23 s 773 ms
Bit rate                                 : 32.3 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 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.162
Stream size                              : 91.5 MiB (100%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : UTC 2020-03-23 23:05:44
Tagged date                              : UTC 2020-03-23 23:05:44
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 23 s 773 ms
Bit rate                                 : 64.1 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 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 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.001
Stream size                              : 186 KiB (0%)
Language                                 : English
Default                                  : No
Alternate group                          : 1
Encoded date                             : UTC 2020-03-23 23:05:44
Tagged date                              : UTC 2020-03-23 23:05:44
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Codec configuration box                  : hvcC+dvcC
-Made with bb51a5f build of tsmuxer

Code: Select all

Video #1
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, BL / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 23 s 648 ms
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 cd/m2

Video #2
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 23 s 648 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Have you tried build bb51a5f to see if that makes a difference since it looks like it's no longer being labeled as 07.05? If still the same result, could the issue be caused by the BL track in the TS file having the DV tag while the mp4 file does not?
So if I understand correctly we still didn't get single track video with full EL layer (profiel 04 or 06) to work on LG C# without stuttering?
Post Reply