Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Wed Sep 28, 2022 12:27 pm
legosoff wrote:
Wed Sep 28, 2022 12:11 pm
No, if the 8.1 or 7 profile is on it will be 7-4-4 still green screen. Blu-ray originals are of course excellent 7-4-3.
https://radikal.host/i/2022-09-28-15-19-46.Y6jze
profile 8 = right, as said before (i might add support)

but what profile 7 file did you try? the mapping is removed when input is P7, I just tried and the file is identical to the sample i just gave you
Yes, profile 7 is still a green screen.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

legosoff wrote:
Wed Sep 28, 2022 12:29 pm
Yes, profile 7 is still a green screen.
I dont think you understand me.

The file you are trying to process is profile 8 and as I said my script assumes the mapping was already removed.
So what profile 7 file did you try?

Code: Select all

--------------------------------------------------------------------------------------------
-- DVH1 "P5" HDR10 BL: these workflows are for the AppleTV.
-- Because profile 5 is supposed to use a different colorspace, colors may not be accurate.
--------------------------------------------------------------------------------------------

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

Choice? [1,2,3,4,5,6,7,8]?4
--------------------------------------------------------------------
-- This workflow convert P7/P8 MKV TS M2TS to fake P5 for the ATV
-- Convert or use existing AC3/EC3 audio
-------------------------------------------------------------------
Drag and drop your MKV/TS file and press enter...D:\00000_ST-DL.mkv
Dolby Vision / SMPTE ST 2086
MKV, 1 video track, 1 audio track, 0:07:00, 24p /1.001
1: h265/HEVC, 2160p24 /1.001 (16:9), 10 bits
2: DTS Master Audio, English, 5.1 channels, 16 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
v01 Extracting video track number 1...
a02 Extracting audio track number 2...
v01 Creating file "D:\TEMP_folder\ - 1 - h265, 2160p24.h265"...
a02 Creating file "D:\TEMP_folder\ - 2 - DTS Master Audio, English, 5.1 channels, 16 bits, 48kHz.dtsma"...
Video track 1 contains 14355 frames.
eac3to processing took 5 seconds.
Done.
Reordering metadata... Done.
EditConfig {
  "mode": 0,
  "remove_cmv4": true,
  "remove_mapping": true
}
Parsing RPU file...
Removing CMv4.0 metadata...
Removing polynomial/MMR mapping...
Final metadata length: 7197
Writing RPU file...
injecting RPU...
Parsing RPU file...
Processing input video for frame order info...
Rewriting file with interleaved RPU NALs..
mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
'D:\TEMP_folder\en.dtsma': Using the demultiplexer for the format 'DTS'.
'D:\TEMP_folder\en.dtsma' track 0: Using the output module for the format 'DTS'.
The file 'D:\TEMP_folder\THD.mkv' has been opened for writing.
Progress: 100%
The cue entries (the index) are being written...
Multiplexing took 0 seconds.
MKA, 1 audio track, 0:07:00
1: DTS Master Audio, English, 5.1 channels, 16 bits, 48kHz
   (core: DTS, 5.1 channels, 1509kbps, 48kHz)
a01 Extracting audio track number 1...
a01 Decoding with libDcaDec DTS Decoder...
a01 libDcaDec reported the warning "XLL output not lossless".
a01 Remapping channels...
a01 Encoding AC3 <640kbps> with libAften...
a01 Creating file "D:\TEMP_folder\audio.ac3"...
a01 The original audio track has a constant bit depth of 16 bits.
eac3to processing took 9 seconds.
Done.
Track Importing HEVC - Width 3840 Height 2160 FPS 24000/1001 SAR 1/1
OpenGOP detected - adjusting file brand
HEVC Import results: 7197 samples (89186 NALUs) - Slices: 3224 I 17224 P 37128 B - 9212 SEI - 952 IDR - 2272 CRA
HEVC Stream uses forward prediction - stream CTS offset: 2 frames
Track Importing AC-3 - SampleRate 48000 Num Channels 6
0.500 secs Interleaving
the script has completed...
Appuyez sur une touche pour continuer...
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Wed Sep 28, 2022 12:36 pm
legosoff wrote:
Wed Sep 28, 2022 12:29 pm
Yes, profile 7 is still a green screen.
I dont think you understand me.

The file you are trying to process is profile 8 and as I said my script assumes the mapping was already removed.
So what profile 7 file did you try?
I understand you, right 8 профиль mapping was already removed. The topic is closed.
https://radikal.host/i/2022-09-28-16-02-26.Y6sra
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

So with that P7 file , you're saying you're getting a green screen?

v1.5.9 actually removes mapping blindly as soon as it detect P7 regardless of MEL/FEL, so when the input is P7, the output will always be P8 without mapping.
In v1.6.0, the mapping will be removed only when the script detect FEL input. (also speed improvement)

v1.6.0.beta.2
https://drive.google.com/file/d/1L3oMCJ ... sp=sharing

Image
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Wed Sep 28, 2022 1:31 pm
So with that P7 file , you're saying you're getting a green screen?

v1.5.9 actually removes mapping blindly as soon as it detect P7 regardless of MEL/FEL, so when the input is P7, the output will always be P8 without mapping.
In v1.6.0, the mapping will be removed only when the script detect FEL input. (also speed improvement)

v1.6.0.beta.2
https://drive.google.com/file/d/1L3oMCJ ... sp=sharing
I get it, thanks for v1.6.0.beta.2.
theprinz2023
Posts: 1
Joined: Wed Sep 28, 2022 6:20 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by theprinz2023 »

Hello everyone I hope someone can help me I start the script and take these options 7-1-2 at the end I always get this message Error: The file 'E:\lost\DoVi_Scripts_1.5.6_TOOLS\DoVi_Scripts\\TEMP_folder\en.dts' could not be opened for reading: open file error.
Source file "E:\lost\DoVi_Scripts_1.5.6_TOOLS\DoVi_Scripts\\TEMP_folder\au.mkv" not found.
muxing into a MP4 profile 8 DoVi file. Be patient, it can take a while. 40min+ on slow HDD!
ERRORS! Can't open input file: E:\lost\DoVi_Scripts_1.5.6_TOOLS\DoVi_Scripts\\TEMP_folder\audio.ac3
Error parsing command line! I've tried several times now but without success
kazuma
Posts: 132
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

reset_9999 why i'm getting this error with version 1.5.9.? i'm getting this with 4-2-2 and 4-2-3. i tried a mkv file and ts.

https://ibb.co/0yndCxc
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yeah so many problems when the script is on a C:\ drive that I can't reproduce on my system. If you can, use the script on a non-windows drive. Not only it will be faster but you wont slow down your PC.
In your picture, it fails to detect if the input is dual tracks so if your input is single track, you can ignore it.

you can also try v1.6.0.beta.2. that i just posted here. I changed the temp folder behavior, maybe that will fix your problem
kazuma
Posts: 132
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote:
Wed Sep 28, 2022 8:51 pm
yeah so many problems when the script is on a C:\ drive that I can't reproduce on my system. If you can, use the script on a non-windows drive. Not only it will be faster but you wont slow down your PC.
In your picture, it fails to detect if the input is dual tracks so if your input is single track, you can ignore it.

you can also try v1.6.0.beta.2. that i just posted here. I changed the temp folder behavior, maybe that will fix your problem
yeah, i used a extern hdd before for this process without problems. i didn't expect that the C station don't work, learned again. thank you i gonna try you're new version.
BadSector81
Posts: 10
Joined: Fri Jul 30, 2021 9:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by BadSector81 »

RESET_9999 wrote:
Mon Sep 26, 2022 10:01 pm
BadSector81 wrote:
Mon Sep 26, 2022 9:29 pm
Try to run DoVi Scripts from another drive. Not from your system C:
The same happened to me and it solved. I still got error message but I can find the picture in the output folder.
ha, I know why.
will fix it in the next version.
Hi! I tested beta and it was perfect! Thanks!!
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

theprinz2023 wrote:
Wed Sep 28, 2022 6:26 pm
Hello everyone I hope someone can help me
Does your Bluray Disc input contain at least 1 DTS or THD english track?
I know some discs only have LPCM audio and this is not supported "yet".

which BD is it?
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

Hi! I wanted AAC-LC audio, you will be able to create a new mode 7/4/8 Bluray Disc to Profile "5" + AAC-LC Quality 5.
Since PCM 32 bit is a lot of scales to spend, it would be better to AAC-LC it's good quality than EAC3.

https://i.ibb.co/2c7DLpz/2022-09-22-17-32-57.png - The original TrueHD 7.1
https://i.ibb.co/gFHQLg3/1.png - EAC3 7.1 1536 bitrate
https://i.ibb.co/0DCkHj9/2.png - AAC-LC 7.1 1640 bitrate
mad83
Posts: 7
Joined: Tue Oct 26, 2021 12:35 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mad83 »

Hi,
@RESET_9999,
could it be possible to implement in muxing path (7,1,1) information about audio delay (negative/positive) due to fact that other audio languages could have some delays.
I mean to be possible to set delay for audio before muxing mp4 file with DV.
RESET_9999
Posts: 1853
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

legosoff wrote:
Thu Sep 29, 2022 5:59 am
Hi! I wanted AAC-LC audio, you will be able to create a new mode 7/4/8 Bluray Disc to Profile "5" + AAC-LC Quality 5.
Since PCM 32 bit is a lot of scales to spend, it would be better to AAC-LC it's good quality than EAC3.
right, DEE applies some DRC and it can't be disabled. It also inverts the side and back channels. What a joke Dolby, you're really the new Apple...
I'll look into adding an AAC 7.1 workflow but my only problem is that the LG TVs only support 5.1 channels with AAC tracks.
https://drive.google.com/file/d/10VPaqP ... sp=sharing

Also, have you tried the new workflow that use plex Easy Audio Encoder EAC3 7.1.
mad83 wrote:
Thu Sep 29, 2022 8:14 am
Hi,
@RESET_9999,
could it be possible to implement in muxing path (7,1,1) information about audio delay (negative/positive) due to fact that other audio languages could have some delays.
I mean to be possible to set delay for audio before muxing mp4 file with DV.
yes this is something I wanted to implement but I forgot about it.
legosoff
Posts: 42
Joined: Sun Sep 25, 2022 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

RESET_9999 wrote:
Thu Sep 29, 2022 11:05 am
legosoff wrote:
Thu Sep 29, 2022 5:59 am
Hi! I wanted AAC-LC audio, you will be able to create a new mode 7/4/8 Bluray Disc to Profile "5" + AAC-LC Quality 5.
Since PCM 32 bit is a lot of scales to spend, it would be better to AAC-LC it's good quality than EAC3.
right, DEE applies some DRC and it can't be disabled. It also inverts the side and back channels. What a joke Dolby, you're really the new Apple...
I'll look into adding an AAC 7.1 workflow but my only problem is that the LG TVs only support 5.1 channels with AAC tracks.
https://drive.google.com/file/d/10VPaqP ... sp=sharing
I have LG 1C eARC SN11R, PCM 8 channels to play only music and no voice, there are 6 channels left sleeping. FLAC 8 channels, only music and no voice, there are 6 channels left sleeping. AAC-LC and EAC3 full channels 8 and 6 to play. No plex, I have a website using the browser DASH and HLS.
Last edited by legosoff on Fri Sep 30, 2022 6:09 am, edited 3 times in total.
Post Reply