Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
shawnc22
Posts: 602
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

HarperVision wrote:
Tue Feb 23, 2021 10:07 am
I have ripped the movie The Meg to .mp4 DV single layer using DVDFab and it shows up as DV in the Infuse GUI and plays as such just fine. The colors seem the same as when I play the disc in my Sony X800M2. I’m an ISF Certified Calibrator amongst many other industry things for 30+ years so would notice if color was amiss. What color issue is it that I’m supposed to be looking for exactly?
So UHD BR discs are mastered in the YCbCr colorspace, and original single layer profile 5 videos are supposed to be in the IPTPQc2 colorspace. Unless DVDFab is doing a colorspace conversion in the ripping process, the resulting file from the process is a profile 5 video but with the content still in YCbCr. The thinking is that when a device like the AppleTV starts playing a profile 5 video, it's expecting content in IPTPQc2 colorspace, but if the content in the file is actually still in YCbCr, it should result in some color issues, no? The differences can be subtle, though, so that's why you might not be noticing anything significant.
Hi-Res
Posts: 13
Joined: Fri Mar 22, 2019 11:30 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Hi-Res »

I can't seem to change Codec ID: dvhe to dvh1. I tried using flexhex but didn't get too far. Is there a python script I can run for this? The file source was a UHD Blu Ray profile 7 dual layer I made into a profile 5 single layer with BL+RPU excluding the EL. Is it okay I leave SMPTE ST 2086, HDR10 compatible for the HDR format?

Code: Select all


Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 55.6 GiB
Duration                                 : 2 h 2 min
Overall bit rate                         : 64.9 Mb/s
Encoded date                             : UTC 2021-02-23 11:46:52
Tagged date                              : UTC 2021-02-23 11:46:52

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 2 min
Bit rate                                 : 64.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.323
Stream size                              : 55.0 GiB (99%)
Default                                  : No
Encoded date                             : UTC 2021-02-23 11:46:52
Tagged date                              : UTC 2021-02-23 11:46:52
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              : 602 cd/m2
Maximum Frame-Average Light Level        : 184 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : ac-3
Duration                                 : 2 h 2 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 561 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2021-02-23 11:46:52
Tagged date                              : UTC 2021-02-23 11:46:52
HarperVision
Posts: 14
Joined: Tue Feb 02, 2021 9:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by HarperVision »

shawnc22 wrote:
HarperVision wrote:
Tue Feb 23, 2021 10:07 am
I have ripped the movie The Meg to .mp4 DV single layer using DVDFab and it shows up as DV in the Infuse GUI and plays as such just fine. The colors seem the same as when I play the disc in my Sony X800M2. I’m an ISF Certified Calibrator amongst many other industry things for 30+ years so would notice if color was amiss. What color issue is it that I’m supposed to be looking for exactly?
So UHD BR discs are mastered in the YCbCr colorspace, and original single layer profile 5 videos are supposed to be in the IPTPQc2 colorspace. Unless DVDFab is doing a colorspace conversion in the ripping process, the resulting file from the process is a profile 5 video but with the content still in YCbCr. The thinking is that when a device like the AppleTV starts playing a profile 5 video, it's expecting content in IPTPQc2 colorspace, but if the content in the file is actually still in YCbCr, it should result in some color issues, no? The differences can be subtle, though, so that's why you might not be noticing anything significant.
OK I see where you’re going with it now. I have my system calibrated running it in LLDV through the AppleTV, so I compensated for any color differences if they were there.

I still have my doubts though. I’m sure the DV processing on the AppleTV can detect what color space the source is in. From what I recall reading in white papers about DV creation in end unit devices using their programmed SoCs, it showed and included YCbCr input and ICtCp which in the end stage was converted to YCBCr for HDMI output. Of course I’ll have to go back and refresh my memory and the details.
mattmarsden
Posts: 68
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

This is the AM6 plus playing the FEL test mkv through the Kodi 19 special DV build. Unfortunately playback is choppy on all FEL files for me, I'm not sure how I can get them to play smoothly.
Attachments
IMG_7908.jpg
IMG_7908.jpg (3.33 MiB) Viewed 1369 times
mattmarsden
Posts: 68
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

I'm presuming the FEL layer is being software decoded - not sure if the AMlogic chipsets have dual hardware decoders?
mattmarsden
Posts: 68
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

OK, dual track MP4 plays fine through the internal player with FEL so it must be a Kodi issue it not playing smoothly.
NiCE77
Posts: 41
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

mattmarsden wrote:
Wed Feb 24, 2021 11:58 am
This is the AM6 plus playing the FEL test mkv through the Kodi 19 special DV build. Unfortunately playback is choppy on all FEL files for me, I'm not sure how I can get them to play smoothly.
Try with official final build, surprising but playing DV from mkv or try with Plex.
Amlogic has 2 hw decoders.
Baer2021
Posts: 3
Joined: Sun Feb 21, 2021 1:05 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Baer2021 »

NiCE77 wrote:
Wed Feb 24, 2021 2:19 pm
mattmarsden wrote:
Wed Feb 24, 2021 11:58 am
This is the AM6 plus playing the FEL test mkv through the Kodi 19 special DV build. Unfortunately playback is choppy on all FEL files for me, I'm not sure how I can get them to play smoothly.
Try with official final build, surprising but playing DV from mkv or try with Plex.
Amlogic has 2 hw decoders.
Have you been able to get Atmos, DTS:X, or other lossless audio to work with the AM6?
mattmarsden
Posts: 68
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

I've tried with Kodi final build and it plays OK but a bit stuttery and often doesn't work after seeking. Plex doesn't seem to work at all with them for me. Interesting about the 2 hardware decoders - where did you see that?
chros
Posts: 26
Joined: Sun Sep 20, 2020 8:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by chros »

I just tried a FEL mkv (07.06 BL+EL+RPU) on Firestick 4k with final v19.0 Kodi and it triggers DV on the TV but the image is blank (black) :)
I guess that's expected.
HarperVision
Posts: 14
Joined: Tue Feb 02, 2021 9:32 am

Dolby Vision now possible through MP4 Mux.

Post by HarperVision »

RESET_9999 wrote:
dysprosium wrote:
Tue Feb 23, 2021 4:41 am
Thanks for the comparisons; unfortunate to see that the EL is ignored again. It would be great to get the same FEL/colour accuracy comparisons on the Ugoos AM6 Plus and the Chromecast with Google TV if possible, now that there are some reports that they properly decode FEL.
Manix should be able to test the Chromecast as well. He doesn't own the Ugoos.
yossSP wrote:
Tue Feb 23, 2021 8:45 am
Damn it... only Total.Recall.1990.SL-P8-MEL.mkv file enable Dolby Vision with my Chromecast with Google TV, every other file plays in HDR10.
I tried to create a mkv file via MakeMKV from the .iso, but it does the same. So I can't test the FEL processing...

The other samples worked well and other DV FEL files also do it fine, but not these ones... anyone can contribute with a solution?

Thanks in any case :)
yeah, it's probably because of the splitting...
FFmpeg gives me some warning when I try to demux the splitted layers.

Image
HarperVision wrote:
Tue Feb 23, 2021 10:07 am
I have ripped the movie The Meg to .mp4 DV single layer using DVDFab and it shows up as DV in the Infuse GUI and plays as such just fine. The colors seem the same as when I play the disc in my Sony X800M2. I’m an ISF Certified Calibrator amongst many other industry things for 30+ years so would notice if color was amiss. What color issue is it that I’m supposed to be looking for exactly?

The only reason I’m not satisfied at this point is due to the lack of ATMOS audio.

So am I reading right that the new Chromecast Google TV is capable of playing all DV profiles with MEL and FEL and ATMOS?
Since you have the x800m2, why don't you just remux your bluray with tsmuxer and play them via USB ?
Even if profile 5 with HDR10 base layer ''could'' be looking right, you're missing the EL.
mattmarsden wrote:
Tue Feb 23, 2021 12:51 pm
Thinking of going for an Oppo 203 for DV - does anyone know if the issue of the green garbled screen after playing a DV m2ts has been solved?
not fixed, it's a tsmuxer bug. But the oppo can play ISO without the bug, so just use that format.
Is there a step by step guide for how and what to remux with tsMuxer? I’ve tried doing a few and I’m not sure the end result is what was desired or needed.

I’m not sure I like the GUI/Menu trees and process of watching using the X800M2. Frankly it’s ugly and takes me back a few decades. There’s no cover art, etc. By the time I navigate all the way into it to get to the movie file, I could’ve inserted the disc and played a better version of the movie with full ATMOS.
Last edited by HarperVision on Wed Feb 24, 2021 9:08 pm, edited 1 time in total.
RESET_9999
Posts: 473
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

HarperVision wrote:
Wed Feb 24, 2021 9:08 pm
Is there a step by step guide for how and what to remux with tsMuxer? I’ve tried doing a few and umm not sure the end result is what was desired or needed.

I’m not sure I like the GUI/Menu trees and process of watching using the X800M2. Frankly it’s ugly and takes me back a few decades. There’s no cover art, etc. By the time I navigate all the way into it to get to the movie file, I could’ve inserted the disc and played a better version of the movie with full ATMOS.
It is by far the easiest and fastest method. Get the latest tsMuxer here: https://github.com/justdan96/tsMuxer/releases
then just drag and drop the largest m2ts file (or the corresponding playlist file) into tsmuxer, select the track you want to keep and start muxing.

There is no quality loss compared to the disc playback and you can keep full ATMOS and subs.
https://screenshotcomparison.com/compar ... p?id=11322
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file
HarperVision
Posts: 14
Joined: Tue Feb 02, 2021 9:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by HarperVision »

RESET_9999 wrote:
HarperVision wrote:
Wed Feb 24, 2021 9:08 pm
Is there a step by step guide for how and what to remux with tsMuxer? I’ve tried doing a few and umm not sure the end result is what was desired or needed.

I’m not sure I like the GUI/Menu trees and process of watching using the X800M2. Frankly it’s ugly and takes me back a few decades. There’s no cover art, etc. By the time I navigate all the way into it to get to the movie file, I could’ve inserted the disc and played a better version of the movie with full ATMOS.
It is by far the easiest and fastest method. Get the latest tsMuxer here: https://github.com/justdan96/tsMuxer/releases
then just drag and drop the largest m2ts file (or the corresponding playlist file) into tsmuxer, select the track you want to keep and start muxing.

There is no quality loss compared to the disc playback and you can keep full ATMOS and subs.
https://screenshotcomparison.com/compar ... p?id=11321
Thanks!

What is the fastest method?

So what exactly is muxing doing? If I rip my movie using DVDFab I can play it in that format already, so why mux it?

How do I know what track to keep after dragging and dropping the largest file (or playlist)? Which and why am I choosing it?

This is what I’m talking about. Every answer I see on these corresponding threads are always so short and abbreviated, assuming the reader just knows everything involved already. It seems nobody ever makes a post with step by step instructions with clear and concise answers as to why and what you’re doing. That’s how I learn anyway.

Either way, thanks a ton for helping me get there! Image
Romero91
Posts: 6
Joined: Thu Feb 25, 2021 12:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Romero91 »

Thanks for your tests! @Manixx2020beyound @RESET_9999

According to Dune's FW changelog, the FEL layer is supported on FullBlurays only, and only MEL layer on MKV. It is right ? or does the FEL layer really not work on ISO and BD either?

I can play without problems FEL DV files with "Dolby VS10 Engine Always" enabled.

On the other hand, if the FEL layer is not really taken into account by the Dune, even if it reproduces it ..
my TV is an LG OLED, compatible with FEL, in principle? If I select "Dolby Vision Output Mode" in "tv-led", would the benefit of the FEL layer from Dune to LG OLED?

Thanks!!
RESET_9999 wrote:
Tue Feb 23, 2021 1:36 am
@Manixx2020beyound finally got his hands on the new Dune player, time to do some comparisons :)

Unfortunately, the Dune does like the Shield and ignores the EL but there is no red push and the colors seem to be accurate. Even though it looks like the dune is ignoring the EL, there is still an improvement compared to the base layer. We have to compare it with a P8 rip.

Of course, this is an extreme case and it wouldn't be so different if the studios encoded the base layer properly in the first place but the improvement that the FEL brings here is phenomenal, imaging when we'll have true 12bit TV.

DV captured in PQ with the latest Atomos Shogun.

2160p comparisons
tonemapped to SDR comparisons ( madVR static 300nits):
Dune FEL DV ISO vs X700 FEL DV: https://screenshotcomparison.com/comparison/11367
Dune FEL DV ISO vs HDR10 bluray remux:https://screenshotcomparison.com/comparison/11365
X700 FEL DV vs HDR10 bluray remux: https://screenshotcomparison.com/comparison/11366

1080p comparisons
tonemapped to SDR comparisons ( madVR static 300nits):
Dune FEL DV ISO vs X700 FEL DV: https://screenshotcomparison.com/comparison/11372
Dune FEL DV ISO vs HDR10 bluray remux: https://screenshotcomparison.com/comparison/11374
X700 FEL DV vs HDR10 bluray remux: https://screenshotcomparison.com/comparison/11375

Dune FEL vs Dune P8 vs X700 FEL vs HDR10 bluray remux: https://slow.pics/c/nCcd2BlK

untouched PQ images from the Shogun:
https://drive.google.com/file/d/16HOh1R ... sp=sharing,
https://drive.google.com/file/d/17-XW-E ... sp=sharing
https://drive.google.com/file/d/18qNpoU ... sp=sharing

interesting, the size difference of the lossless png...
Image

Image
Image
Image

I uploaded samples in different container and profile of that scene:
https://drive.google.com/file/d/11fzJYb ... sp=sharing,
https://drive.google.com/file/d/1LtE3ju ... sp=sharing,
https://drive.google.com/file/d/1jrDF5j ... sp=sharing,
https://drive.google.com/file/d/1mYy3WO ... sp=sharing,
https://drive.google.com/file/d/1nD7-MH ... sp=sharing,
https://drive.google.com/file/d/1on9KfI ... sp=sharing,
https://drive.google.com/file/d/1xJkiL0 ... sp=sharing
Last edited by Romero91 on Thu Feb 25, 2021 4:54 pm, edited 1 time in total.
RESET_9999
Posts: 473
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

HarperVision wrote:
Wed Feb 24, 2021 10:35 pm
What is the fastest method?

So what exactly is muxing doing? If I rip my movie using DVDFab I can play it in that format already, so why mux it?

How do I know what track to keep after dragging and dropping the largest file (or playlist)? Which and why am I choosing it?

This is what I’m talking about. Every answer I see on these corresponding threads are always so short and abbreviated, assuming the reader just knows everything involved already. It seems nobody ever makes a post with step by step instructions with clear and concise answers as to why and what you’re doing. That’s how I learn anyway.

Either way, thanks a ton for helping me get there! Image
DVDFAB can't remux DV with Atmos and it's remuxing into a mp4 container which is a bit buggy on the x700/x800m2.
This is why you need to use tsMuxer which (just like DVDFAB) makes the file playable in DV (TS or M2TS container). tsMuxer also supports Atmos (or any lossless audio).

The tracks you keep are:
1- the 1st HEVC stream (HDR10 base layer)
2- the 2nd HEVC stream (DV layer)
3- any audio you want (you can add external audio)
4- any subtitles you want.(you can add external subs)

Image
Please forgive my English.
Sony x700 ----> Denon AVR ----> LG OLED C8
FIX the x700 DT-DL TS bug with this file
Post Reply