Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by legosoff »

sw5163 wrote:
Tue Sep 27, 2022 5:19 pm
legosoff wrote:
Tue Sep 27, 2022 4:04 pm
It's most dvh.08.06, BL+RU someone did it wrong. I decide to download the Blu-ray disc, solely trusting myself.
You can just manually remove those additional mapping in that p8 file, saves the redownloading time.
Sometimes I find it difficult to remux Blu-ray disc when there is a single video stream that consists of multiple m2ts files.
So I actually prefer FEL remux version.
which mode?
Mattl0
Posts: 26
Joined: Mon Apr 26, 2021 6:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mattl0 »

is (last dev) ffmpeg still ok for demuxing?

Code: Select all

 ffmpeg \
 -hide_banner -y\
 -i "$c"  \
 -map 0:0     -c:v copy  -bsf:v hevc_mp4toannexb  -f hevc  bl.hevc \
 -map 0:1     -c:v copy  -bsf:v hevc_mp4toannexb  -f hevc  el.hevc \
 -map "#0x$2" -c:a copy   audio.ac3  && \
 tsmuxer doviac3.meta /Dovi/"$name".ts
RESET_9999
Posts: 1183
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 5:16 am
Here, it's not mine, someone made it apparently a problem. So it's better for me to have a Blu-ray Disk or remux m2ts sure calmly.
try this: https://drive.google.com/file/d/1Zw2_v1 ... sp=sharing

I hope it's not the new mp4box causing issues...
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
legosoff
Posts: 27
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 11:11 am
legosoff wrote:
Wed Sep 28, 2022 5:16 am
Here, it's not mine, someone made it apparently a problem. So it's better for me to have a Blu-ray Disk or remux m2ts sure calmly.
try this: https://drive.google.com/file/d/1Zw2_v1 ... sp=sharing

I hope it's not the new mp4box causing issues...
Yes, great, millions of colored. How do you do it?
RESET_9999
Posts: 1183
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 11:39 am
Yes, great, millions of colored. How do you do it?
I used the original bluray and 7-4-3

then can you specify what you mean here exactly?
Yes, it has already been done, 7 profile is being executed after 7/4/4, the green screen is still again.
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
legosoff
Posts: 27
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:06 pm
legosoff wrote:
Wed Sep 28, 2022 11:39 am
Yes, great, millions of colored. How do you do it?
I used the original bluray and 7-4-3

then can you specify what you mean here exactly?
Yes, it has already been done, 7 profile is being executed after 7/4/4, the green screen is still again.
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
RESET_9999
Posts: 1183
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: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
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
legosoff
Posts: 27
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: 1183
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...
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
legosoff
Posts: 27
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: 1183
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
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
legosoff
Posts: 27
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: 129
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: 1183
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
Please forgive my English.
Sony x800m2 ----> Denon AVR ----> LG OLED C2 77"
Dolby Vision Stuff
Post Reply