Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

legosoff wrote:
Tue Sep 27, 2022 7:23 pm
the green screen is still again.
Strange, is it only showing green screen on Apple or is it green on all DV capable device?
Ibuprofen
Posts: 2
Joined: Tue Sep 27, 2022 3:00 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Ibuprofen »

Thank you both for confirming this is needed for all FEL discs. Time to reprocess again.
RESET_9999 wrote:
Tue Sep 27, 2022 3:46 pm
Ibuprofen wrote:
Tue Sep 27, 2022 3:12 pm

Can anyone confirm this is needed on FEL discs?
.
yes thats correct and you should always remove the mapping for FEL to p8
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.
Ibuprofen wrote:
Tue Sep 27, 2022 3:12 pm
This thread says that FEL discs need an additional step to remove_mapping that strips out the additional EL processing.
https://github.com/quietvoid/dovi_tool/discussions/168
Only the first part and remove_mapping of that post is useful, the rest part regarding MMR and polynomial mapping discussion is just me being stupid, please ignore. But I would like to express my thanks to @quietvoid and @RESET_9999 and you all, really teach me a lot. :)
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:
Tue Sep 27, 2022 7:54 pm
legosoff wrote:
Tue Sep 27, 2022 7:23 pm
Yes, it has already been done, 7 profile is being executed after 7/4/4, the green screen is still again.
then the problem is something else... what movie is it?
also at this point, a sample would be useful

Valerian.and.the.City.of.a.Thousand.Planets.2017.2160p.UHD.DV.BDRemux.mkv
Format : Matroska
Format version : Version 4
File size : 72.9 GiB
Duration : 2 h 17 min
Overall bit rate mode : Variable
Overall bit rate : 76.2 Mb/s
Movie name : Valerian and the City of a Thousand Planets (2017)
Encoded date : UTC 2022-09-06 10:28:44
Writing application : mkvmerge v69.0.0 ('Day And Age') 64-bit
Writing library : libebml v1.4.2 + libmatroska v1.6.4
Cover : Yes
Attachments : cover.jpg

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.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 17 min
Bit rate : 44.7 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.224
Stream size : 42.6 GiB (58%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 632 cd/m2
Maximum Frame-Average Light : 298 cd/m2

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.
legosoff
Posts: 42
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 8:49 pm
legosoff wrote:
Tue Sep 27, 2022 7:23 pm
the green screen is still again.
Strange, is it only showing green screen on Apple or is it green on all DV capable device?
No, my LG 1C DV works fine, and Apple only has a green screen. Here is a Blu-Ray Disk on 7/4/2 excellent Apple.
legosoff
Posts: 42
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: 37
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: 2090
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...
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 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: 2090
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.
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: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: 2090
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
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: 2090
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: 2090
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
Post Reply