Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Wed Feb 09, 2022 9:51 pm
@RESET_9999
Due to some hardware compatibility issues, I had to go back to Windows 7.
Of course, when I go back to Windows 7, I won't be able to use D3D11 anymore, so I should choose DXVA2 (native) or DXVA2 (copy-back) for best measureHDR quality result?
I'm no lav filter expert but I think these settings only affect performance and not the quality.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Just bought an X800m2 ...

- High bitrate movie via 5GHZ wifi works flawlessly (tested Dead Heat 92mbps avg bitrate and peak over 100mbps all the time)
- This player is not affected by the tsmuxer dual-track dual-layer bug, no green/purple screen issue.. WOW!!!
- This player auto-switch from DV, HDR10, and SDR with TS/M2TS files WOW!!! (only via the network)
- FF / RW works for long movies. great!!
- cropped DV content displayed with grey letterbox
- DD+ with an empty core doesn't play but strangely DD+ Atmos works perfectly.

hopefully, it's as stable as the x700 for DV playback, I will watch some movies this weekend.

Image


Dead Heat bitrate:
Image
Last edited by RESET_9999 on Fri Feb 11, 2022 12:37 am, edited 3 times in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

deadchip12 wrote:
Mon Feb 07, 2022 12:47 am
Thanks for your reply. How do we know which one is DV P7 and which one is DV P8? As for mkv file, can't I just remux it to bmdv format and then the x700 will be able to play it with atmos?
The easiest method for me is to play an mkv file in MPC-BE and look at the file properties. The MediaInfo tab shows the DV info, e.g., dvhe.07.06 for P7. That's the format ID for Dolby Vision / HEVC video / Profile 7 / Layer 6.

P8 commonly shows dvhe.08.06.

You can also install MediaInfo directly or I think the mkvtoolnix header editor GUI tool might show it.

For P7 you can remux to BDMV format, and for P8 you can remux to m2ts/ts, and play it on the X700 with Atmos support.

I just haven't gotten P8 in BDMV to work reliably, and we can't currently convert P8 to P7 as there's no way to generate an EL.
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

Ichisuke wrote:
Mon Feb 07, 2022 4:15 pm
I have a DV MP4 file working fine via USB on my LG oled. Point is I want to add another audio track/different language to it.
How do I do that? Which program can I use to remux the MP4 correctly with the added track...? :(
Sounds like you'd be better off remuxing to ts or m2ts, but if you really need/want mp4, then mp4muxer authored by Dolby remuxes DV mp4 files.

You'd have to demux to elementary streams first, and I don't know if you can add multiple audio tracks, but it's worth a try.

Believe it or not, mp4muxer is actually what this thread is about. It's linked in the OP, we've all just gotten a bit off topic. :P

https://github.com/DolbyLaboratories/dl ... master/bin
codeXRes
Posts: 20
Joined: Mon Jan 20, 2020 1:10 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by codeXRes »

RESET_9999 wrote:
Wed Feb 09, 2022 11:32 pm
Just bought an X800m2 ...

- High bitrate movie via 5GHZ wifi works flawlessly (tested Dead Heat 92mbps avg bitrate and peak over 100mbps all the time)
- This player is not affected by the tsmuxer dual-track dual-layer bug, no green/purple screen issue.. WOW!!!
- This player auto-switch from DV, HDR10, and SDR with TS/M2TS files WOW!!! (only via the network)
- FF / RW works for long movies. great!!
- cropped DV content displayed with grey letterbox
- DD+ with an empty core doesn't play but strangely DD+ Atmos works perfectly.

hopefully, it's as stable as the x700 for DV playback, I will watch some movies this weekend.

Image
I was thinking about getting this player as it doesn't look like we will ever get a streaming player with proper FEL+Atmos/DTSX support!

Eagerly waiting for findings from your tests (STDL, BDMV over network etc. if possible). :)
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

codeXRes wrote:
Thu Feb 10, 2022 3:04 pm
I was thinking about getting this player as it doesn't look like we will ever get a streaming player with proper FEL+Atmos/DTSX support!

Eagerly waiting for findings from your tests (STDL, BDMV over network etc. if possible). :)
Yes FEL+lossless audio is working via the network. (ST-DL and DT-DL)
I didn't try(and won't use) BDMV folder since the tsmuxer dual-track bug and FF/RW of longer movies issue are not present on this player. But I will test it tonight, I doubt BDMV will work via the network though.

So far, the x800m2 has fixed all the x700 bugs with DV. The only downside is the lack of DD+ support which I don't really care.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

I'm using x265 to encode the BL and add 8.1 RPU metadata. How does using the --crop flag with dovi_tool compare to removing L5 metadata, considering I'm cropping the BL?
Last edited by Gatorman on Thu Feb 10, 2022 5:00 pm, edited 1 time in total.
More reasons to collect physical media. Ugoos AM6B+.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Gatorman wrote:
Thu Feb 10, 2022 3:53 pm
I'm using x265 to encode the BL and add 8.1 RPU metadata. How does using the --crop flag with dovi_tool compare to removing L5 data, considering I'm cropping the BL?
I never really understood what ''crop'' ''true'' does. I use the flag and remove l5 at the same time because all the cropped DV content from appleTV is done that way.
But it's apple and they are known to do stupid things and Quietvoid say that not having L5 metadata doesn't follow Dolby specs.

so I don't really know which one is better 1 or 2 :

1:

Code: Select all

					  {
    "active_area": {
        "crop": true,
      "drop_l5": "all"
    }
}
2:

Code: Select all

{
    "mode": 0,
    "active_area": {
        "crop": true,
        "presets": [
            {
                "id": 0,
                "left": 0,
                "right": 0,
                "top": 0,
                "bottom": 0
            }
        ],
        "edits": {
            "all": 0
        }
    }
}
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

This is what Dolby says in their documentation:
The Bitstream Verifier parses the RPU of the bitstream under test and verifies whether level 5 metadata is present for each frame.
Level 5 metadata must be present (even if it is zero) to avoid possible visual issues.
If level 5 metadata is not detected in the bitstream RPU, an error is issued.
So keeping L5 with zeroes is always better.
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

@quietvoid @RESET_9999 Thanks for the quick responses.
More reasons to collect physical media. Ugoos AM6B+.
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

@RESET_9999
Please tell me the way to run this batch file.
I've tried many times edit and run but impossible only flash and off.
Storage place my video file and madMeasureHDR now: C:\Remux
C:\Dolby-Vision-Tools\madVR\madMeasureHDR
Where I want to save measurement file: F:\
madMeasureHDR Batch File
Values to Change:

echo off
set pathToMadMeasure="C:\Program Files\madVR\madMeasureHDR.exe"

Windows file path to madMeasureHDR in the madVR installation folder.

Set folder paths for measuring specific file formats:

REM Mkv Test Videos
set pathToVideos="L:\4K Test Files\HDR"

File path to the media folder containing MKV files: "Z:\Media Folder Name\Subdirectory Name"

REM Mp4 Test Videos
set pathToVideos="L:\4K Test Files\HDR"

File path to the media folder containing MP4 files: "Z:\Media Folder Name\Subdirectory Name"

REM Ts Test Videos
set pathToVideos="L:\4K Test Files\HDR"

File path to the media folder containing TS files: "Z:\Media Folder Name\Subdirectory Name"

Set folder path for measuring a priority folder for test purposes:

REM 4K Movies in @MadMeasureHDR folder for priority measurements to be done before the main folder
set pathToVideos="U:\@MadMeasureHDR"

File path to the media folder containing priority files: "Z:\Media Folder Name\Subdirectory Name"

Set folder path for measuring all file types in a single folder:

REM 4K Movies
set pathToVideos="P:\"

File path to the media folder containing all HDR files: "Z:\Media Folder Name\Subdirectory Name"

DELETE the following code from any folder path in the batch file if you choose not to download the assisting program Wintee (the utility mentioned in the batch file):

Remove from Block: | wtee "%%f.txt"

How to Run the Batch File:
Windows Key + R (Run)
Click Browse...
Navigate to the folder that contains the batch file
Select the batch file
Click Open
Click OK
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Thu Feb 10, 2022 6:37 pm
@RESET_9999
Please tell me the way to run this batch file.
I've tried many times edit and run but impossible only flash and off.
Storage place my video file and madMeasureHDR now: C:\Remux
C:\Dolby-Vision-Tools\madVR\madMeasureHDR
Where I want to save measurement file: F:\
This worked for me...

Code: Select all

@echo off
REM ReadMe Notes:
REM *************
REM This batch file measures automatically all video files in various drives and shares. Your network shares simply have to be mapped as drives in windows.
REM You need to edit the path to MadMeasureHDR, and of course the paths to the shares or files extentions you want to measure.
REM In this example, the first three blocks measure all my .mkv, .mp4 and .ts in the folder that contains all my 4K HDR test files.
REM The next block measures all the files I've put in a special MadMeasureHDR folder in my 4K Movies share, so that they are measured before all the others
REM The last block measures all the files in my 4K Movies share
REM To get the output of MadMeasureHDR both to the screen and to a log file (same_name.txt), I use a free utility called Wintee (wtee.exe)
REM You can download it here: https://code.google.com/archive/p/wintee/
REM Then simply copy it into your c:\Windows directory so that the batch file can find it when it calls it
REM The main advantage is that you can get both near realtime progress while the measurements are made, and a log file containing the output of the MadMeasureHDR utility
REM The main downside is that the progress isn't updated as often as without using Wintee. 
REM If you want to get rid of the log file, simply delete the end of the command line: | wtee "%%f.txt" in each block
REM By default, this batch file only shows the log of the files it measures.
REM If you get an error and don't know which file it relates to, or if you would like to display all the scanned files, simply set verbose to "ON" below.
REM Happy measurements!
REM Manni

set pathToMadMeasure="C:\Dolby-Vision-Tools\madVR\madMeasureHDR.exe"
REM Set verbose to ON to display files checked when measurements already exists. Leave it to OFF to only display files that are measured.
set verbose="ON"

REM Mkv Test Videos\
set pathToVideos=C:\Remux\
cd /d %pathToVideos%
@echo Parsing folder %pathToVideos% for new MKV files to measure...
 for /R %%f in (*.mkv) do (
	if %verbose% == "ON" @echo Checking measurements for %%f...
	if NOT exist %%f.measurements %pathToMadMeasure% "%%f"
 )
@echo Done!"
@echo -----

@echo All Folder Measurements done!
PAUSE
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

RESET_9999 wrote:
Thu Feb 10, 2022 6:59 pm

This worked for me...

Code: Select all

@echo off
REM ReadMe Notes:
REM *************
REM This batch file measures automatically all video files in various drives and shares. Your network shares simply have to be mapped as drives in windows.
REM You need to edit the path to MadMeasureHDR, and of course the paths to the shares or files extentions you want to measure.
REM In this example, the first three blocks measure all my .mkv, .mp4 and .ts in the folder that contains all my 4K HDR test files.
REM The next block measures all the files I've put in a special MadMeasureHDR folder in my 4K Movies share, so that they are measured before all the others
REM The last block measures all the files in my 4K Movies share
REM To get the output of MadMeasureHDR both to the screen and to a log file (same_name.txt), I use a free utility called Wintee (wtee.exe)
REM You can download it here: https://code.google.com/archive/p/wintee/
REM Then simply copy it into your c:\Windows directory so that the batch file can find it when it calls it
REM The main advantage is that you can get both near realtime progress while the measurements are made, and a log file containing the output of the MadMeasureHDR utility
REM The main downside is that the progress isn't updated as often as without using Wintee. 
REM If you want to get rid of the log file, simply delete the end of the command line: | wtee "%%f.txt" in each block
REM By default, this batch file only shows the log of the files it measures.
REM If you get an error and don't know which file it relates to, or if you would like to display all the scanned files, simply set verbose to "ON" below.
REM Happy measurements!
REM Manni

set pathToMadMeasure="C:\Dolby-Vision-Tools\madVR\madMeasureHDR.exe"
REM Set verbose to ON to display files checked when measurements already exists. Leave it to OFF to only display files that are measured.
set verbose="ON"

REM Mkv Test Videos\
set pathToVideos=C:\Remux\
cd /d %pathToVideos%
@echo Parsing folder %pathToVideos% for new MKV files to measure...
 for /R %%f in (*.mkv) do (
	if %verbose% == "ON" @echo Checking measurements for %%f...
	if NOT exist %%f.measurements %pathToMadMeasure% "%%f"
 )
@echo Done!"
@echo -----

@echo All Folder Measurements done!
PAUSE
Thanks for your helping
I've done.
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

@RESET_9999
This is the tool advertised as possible to create measurement files for ISOs or BDMV folders is to first play the file from start to finish.
But I can't run it.
Please help me.
Thanks.
3ll3d00d's Third-Party Tool for Measuring ISOs and BDMV Folders
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Albano wrote:
Thu Feb 10, 2022 7:40 pm
Thanks for your helping
I've done.
I didn't mean: ''follow the instructions here'', I already did that, according to your information.
I meant: copy and paste the code I posted into your bat file and try, it should work. It works on my end.


Albano wrote:
Thu Feb 10, 2022 7:54 pm
@RESET_9999
This is the tool advertised as possible to create measurement files for ISOs or BDMV folders is to first play the file from start to finish.
But I can't run it.
Please help me.
Thanks.
3ll3d00d's Third-Party Tool for Measuring ISOs and BDMV Folders
I don't know but there are a couple of examples on the github page...

I did not test these but from what I can read :
bd folder :

Code: Select all

madmeasurer.exe -d0 -vv -m --measure-all-playlists --dry-run C:\BD.folders
iso:

Code: Select all

madmeasurer.exe -vv -m -d1 --dry-run -i C:\bd.iso
Last edited by RESET_9999 on Fri Feb 11, 2022 2:15 am, edited 2 times in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply