Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

5DE4528D-D47B-4645-81B1-25344E128D1A.jpeg
5DE4528D-D47B-4645-81B1-25344E128D1A.jpeg (1.87 MiB) Viewed 16653 times
Gatorman wrote:
Fri Nov 25, 2022 7:52 pm
Manixx2020beyound wrote:
Fri Nov 25, 2022 7:05 pm
Are u using a Mac ?
If so did u try Glass blowing??
It should happen automatically but it does not for 99% of the demos & p5 web dl I tested at 1st.
But they do now.
I did not update my mac yet just been testing on windows but I am curious about the mac as well.
I'm running Windows.
Do U have the p5 encoding options are u using one of those new laptops?
encoding options & decoding options are both enabled at the same time.
If u have like the picture then it’s enabled
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

Manixx2020beyound wrote:
Fri Nov 25, 2022 7:56 pm
Do U have the p5 encoding options are u using one of those new laptops?
encoding options & decoding options are both enabled at the same time.
If u have like the picture then it’s enabled
Running ZEN+ with Nvidia desktop. I do not have those settings. I guess a Dolby Vision License is needed?
More reasons to collect physical media. Ugoos AM6B+.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Gatorman wrote:
Fri Nov 25, 2022 8:20 pm
Manixx2020beyound wrote:
Fri Nov 25, 2022 7:56 pm
5DE4528D-D47B-4645-81B1-25344E128D1A.jpeg
Do U have the p5 encoding options are u using one of those new laptops?
encoding options & decoding options are both enabled at the same time.
If u have like the picture then it’s enabled
Running ZEN+ with Nvidia desktop. I do not have those settings. I guess a Dolby vision license is needed?
For windows yes. Or a hack I found which allows resolve to think it’s connected to a doblyvision monitor, that was discussed here a while back.
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

Manixx2020beyound wrote:
Fri Nov 25, 2022 8:29 pm
For windows yes. Or a hack I found which allows resolve to think it’s connected to a doblyvision monitor, that was discussed here a while back.
Thanks. I'll track down that post.
More reasons to collect physical media. Ugoos AM6B+.
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

I'm trying to use RESET's DV scripts to convert my Westworld discs to mp4 using the old mp4muxer method using .ts input (7-2-4).
For this I've used TSMuxerGUI first to extract the first episode (00089.mpls) to ts file.
The audio track seems to be TrueHD and I didn't downconvert it to AC3.
When opening the ts file with the script, it will demux and use eac3to extract the AC3 audio from the trueHD track.

Here's the output:

Code: Select all

                        _____    __      ___       _____           _       _
                       |  __ \   \ \    / (_)     / ____|         (_)     | |
                       | |  | | __\ \  / / _     | (___   ___ _ __ _ _ __ | |_ ___
                       | |  | |/ _ \ \/ / | |     \___ \ / __| '__| | '_ \| __/ __|
                       | |__| | (_) \  /  | |     ____) | (__| |  | | |_) | |_\__ \
                       |_____/ \___/ \/   |_|    |_____/ \___|_|  |_| .__/ \__|___/
                       -@RESET_9999---------------------------------|__|-----------



 Choose a mode...

1) MODE.I=  DoVi Convert/Edit/Sync/Inject 2 inputs (P8 Hybrid maker)
2) MODE.F=  DoVi Fix/Extract/Info/Edit/Verify 1 input (does not convert the profile)
3) MODE.H=  DoVi Maker (from HDR10 madVR or HDR10plus)
4) MODE.P=  Profile 7 Input (MKV/BDMV)
5) MODE.B=  Dovi Batch tsMuxer: MKV/MP4 to TS
6) MODE.M=  MIXED: Remover/Measurer/Plotter/Audio/Player and more...
7) MODE.M4= MP4 Workflows
8) Exit

Choice? [1,2,3,4,5,6,7,8]?7
                                           *****************
                                           * CHOOSE A MODE *
                                           *****************

1) MODE.1= Single-Track (mp4box, Apple, Sony, Newer LG)
2) MODE.2= Old mp4muxer workflows (older LG TVs)
3) MODE.3= Dual-Track (p7)
4) MODE.4= Demuxer (p5, p8, p7)
5) MODE.5= Resolve HDR10/SDR MP4 (temp/testing)
6) MODE.6= back to main menu

Choice? [1,2,3,4,5,6]?2
                                         *********************
                                         * CHOOSE A WORKFLOW *
                                         *********************

1) Workflow.1= MANUAL: Any P8/P5 HEVC/H265 + Any Audio(lossless audio included) + SRT subtitle
2) Workflow.2= Bluray Disc to Profile 8 + AC3
3) Workflow.3= Bluray Disc to Profile 8 + EC3
4) Workflow.4= MKV/TS/M2TS Profile 7/8 to Profile 8 + AC3
5) Workflow.5= MKV/TS/M2TS Profile 7/8 to Profile 8 + EC3
6) Workflow.6= HDR10 or HDR10plus to DoVi Profile 8 + AC3
7) Workflow.7= HDR10 or HDR10plus to DoVi Profile 8 + EC3
8) Workflow.8= BATCH MKV/TS/M2TS Profile 7/8 to Profile 8 + EC3

Choice? [1,2,3,4,5,6,7,8]?4
--------------------------------------------------------------------
-- This workflow convert P7/P8 MKV TS M2TS to P8 MP4
-- Convert or use existing AC3 audio
-- Dont use this workflow for AppleTV P8 hybrid
-------------------------------------------------------------------
Drag and drop your MKV/TS file and press enter...D:\ww_s01e01.ts
tsMuxeR version git-a10bea3. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
HEVC muxing fps is not set. Get fps from stream. Value: 23.976
0.0% complete
1.4% complete
2.9% complete
4.2% complete
5.5% complete
6.8% complete
8.2% complete
9.5% complete
10.8% complete
12.2% complete
13.5% complete
14.9% complete
16.3% complete
17.7% complete
19.1% complete
20.5% complete
21.9% complete
23.2% complete
24.6% complete
25.9% complete
27.3% complete
28.6% complete
30.0% complete
31.4% complete
32.7% complete
34.0% complete
35.4% complete
36.7% complete
38.0% complete
39.3% complete
40.6% complete
41.9% complete
43.3% complete
44.6% complete
46.0% complete
47.3% complete
48.6% complete
49.9% complete
51.3% complete
52.7% complete
54.1% complete
55.4% complete
56.7% complete
58.1% complete
59.4% complete
60.7% complete
62.0% complete
63.4% complete
64.8% complete
66.1% complete
67.4% complete
68.8% complete
70.1% complete
71.5% complete
72.9% complete
74.2% complete
75.5% complete
76.9% complete
78.3% complete
79.7% complete
81.0% complete
82.3% complete
83.7% complete
85.1% complete
86.4% complete
87.8% complete
89.1% complete
90.5% complete
91.8% complete
93.2% complete
94.5% complete
95.9% complete
97.3% complete
98.7% complete
Processed 97945 video frames
Processed 97945 video frames
100.0% complete
Flushing write buffer
Demux complete.
Demuxing time: 18 sec
TS, 2 video tracks, 1 audio track, 1:08:05, 11.988p
1: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits, -11650ms
2: h265/HEVC, 1080p24 /1.001 (16:9), 10 bits - Dolby Vision Enhancement Layer, -11650ms
3: TrueHD/AC3 (Atmos), 7.1 channels, 48kHz, -11650ms
   (embedded: AC3 EX, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB)
a03 Extracting audio track number 3...
a03 Extracting AC3 stream...
a03 Removing AC3 dialog normalization...
a03 Applying (E-)AC3 delay...
a03 A remaining delay of -2ms could not be fixed.
a03 Creating file "D:\Apps\DoVi_Scripts\TEMP_folder\audio.ac3"...
Video track 1 contains 97926 frames.
Video track 2 contains 97926 frames.
eac3to processing took 58 seconds.
Done.
mkvmerge v71.1.0 ('Fortitude') 64-bit
'D:\Apps\DoVi_Scripts\TEMP_folder\EL.hevc': Using the demultiplexer for the format 'HEVC/H.265'.
'D:\Apps\DoVi_Scripts\TEMP_folder\EL.hevc' track 0: Using the output module for the format 'HEVC/H.265 (unframed)'.
The file 'D:\Apps\DoVi_Scripts\TEMP_folder\EL.mkv' has been opened for writing.
'D:\Apps\DoVi_Scripts\TEMP_folder\EL.hevc' track 0: Extracted the aspect ratio information from the video bitstream and set the display dimensions to 1920/1080.
Progress: 1%
The cue entries (the index) are being written...
Multiplexing took 0 seconds.
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'D:\Apps\DoVi_Scripts\TEMP_folder\el.chunk.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 100%
Reordering metadata... Done.
Parsing RPU file...
Exporting metadata...
Done.
converting and injecting RPU...
Rewriting file with interleaved EL NALUs..
muxing into a DV MP4 . Be patient, it can take a while. 40min+ on slow HDD!
        1 file(s) moved.
the script has completed...
Press any key to continue . . .
I didn't test it on my LG TV yet, but the resulting mp4 seems to have the audio out of sync when playing it with VLC.

Any ideas?
saba30
Posts: 4
Joined: Mon Oct 24, 2022 8:12 am

Re: Dolby Vision now possible through MP4 Mux.

Post by saba30 »

bugfix for DoVi_Scripts.bat
1.6.8
17291: if exist "%TEMP%%filename%.track_%AID%_%langDG%.ac3" set audio="%TEMP%%filename%.track_%AID%_%lang%.ac3" =>
17291: if exist "%TEMP%%filename%.track_%AID%_%langDG%.ac3" set audio="%TEMP%%filename%.track_%AID%_%langDG%.ac3"

18044: if exist "%TEMP%%filename%.track_%AID%_%langDG%.ac3" set audio="%TEMP%%filename%.track_%AID%_%lang%.ac3" =>
18044: if exist "%TEMP%%filename%.track_%AID%_%langDG%.ac3" set audio="%TEMP%%filename%.track_%AID%_%langDG%.ac3"

17013: if not "%ac3%"=="y" "%eac3to_path%" "%filepath%%filename%%fileext%" %EID%:"%TEMP%audio.ac3" & set audio="%TEMP%audio.ac3" =>
17013: if not "%ac3%"=="y" "%eac3to_path%" "%filepath%%filename%%fileext%" %EID% "%TEMP%audio.ac3" & set audio="%TEMP%audio.ac3"

18047: if not "%ac3%"=="y" "%eac3to_path%" "%filepath%%filename%%fileext%" %EID%:"%TEMP%audio.ac3" & set audio="%TEMP%audio.ac3" =>
18047: if not "%ac3%"=="y" "%eac3to_path%" "%filepath%%filename%%fileext%" %EID% "%TEMP%audio.ac3" & set audio="%TEMP%audio.ac3"
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

Thanks @saba30.

Is this already taken care of in batch version 1.6.8.1 BETA ? If not, can you tell the line numbers to be edited?
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

ArArdin wrote:
Sun Nov 27, 2022 10:49 am
Thanks @saba30.

Is this already taken care of in batch version 1.6.8.1 BETA ? If not, can you tell the line numbers to be edited?

If you're trying to communicate with @Reset_9999, the best way is through PM.
More reasons to collect physical media. Ugoos AM6B+.
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

I assumed saba30 was another person that found a bug. Didn't have the intention to disturb RESET_9999 since he's having a break.

Thanks, Gatorman.
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

ArArdin wrote:
Sun Nov 27, 2022 7:42 pm
I assumed saba30 was another person that found a bug. Didn't have the intention to disturb RESET_9999 since he's having a break.

Thanks, Gatorman.

Yeah, it was early for me when I saw those posts. My mistake. :?
More reasons to collect physical media. Ugoos AM6B+.
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

As for saba30's bugfix post and BETA version, I found this.

First off, I think the mentioned flawed line# 17013 - in v1.6.8 - is a slip of the pen and should be 17313.
It seems the bug isn't addressed in version 1.6.8.2.BETA:

v1.6.8 lines to be corrected

17291
18044
17313
18047

seem v1.6.8.2.BETA lines to be corrected

17281
18034
17303
18037

I'm rather unsure though and feel dangerously out on a limb. Could someone confirm if my findings are either right or wrong?
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

Any one in this forum has a vertex2?(I guess not)
Anyone so we can confirm my hack??
Vertex2 resolve combo & windows desktop.
U will also need dobly DV extensions app.
I am very confident this should work on any pc as I’ve tested this on 3 different pc desktops
My test pc right now low end cost about the same price as the vertex2, & works fine. Struggles with hevc encode but that’s expected,
saba30
Posts: 4
Joined: Mon Oct 24, 2022 8:12 am

Re: Dolby Vision now possible through MP4 Mux.

Post by saba30 »

Yes, you are absolutely right, the lines are good in beta version 1.6.8.2
ArArdin wrote:
Mon Nov 28, 2022 12:50 pm
As for saba30's bugfix post and BETA version, I found this.

First off, I think the mentioned flawed line# 17013 - in v1.6.8 - is a slip of the pen and should be 17313.
It seems the bug isn't addressed in version 1.6.8.2.BETA:

v1.6.8 lines to be corrected

17291
18044
17313
18047

seem v1.6.8.2.BETA lines to be corrected

17281
18034
17303
18037

I'm rather unsure though and feel dangerously out on a limb. Could someone confirm if my findings are either right or wrong?
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

Great. Thanks for confirmation, saba30.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

A0FB77B8-E926-4AC5-BC89-765B64E66806.jpeg
A0FB77B8-E926-4AC5-BC89-765B64E66806.jpeg (911.7 KiB) Viewed 17266 times
77CCA866-4175-4A74-8A2C-782011FBD33A.jpeg
77CCA866-4175-4A74-8A2C-782011FBD33A.jpeg (2.7 MiB) Viewed 17266 times
Here is a p8.1 sample from a decoded p5
Dolby vision art of essence demo.ta :twisted: xeio
https://drive.google.com/file/d/1dolWY0 ... p=drivesdk

Here is the p5 original
https://drive.google.com/file/d/1-5vRoc ... p=drivesdk
I don’t think their is an hdr10 version that exists,
I could be wrong.
On the raw export dnxhr 444-12bit all the doblyvision itcp colors are transferred.
The profile color space remains 2-2-2 which is profile 5 even doe it’s decoded,
2-2-2 is also detected in staxrip on the exports.
Last edited by Manixx2020beyound on Mon Dec 05, 2022 12:41 pm, edited 1 time in total.
Post Reply