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 »

galarond wrote:
Thu Aug 12, 2021 5:55 pm

Tnx for your answer

1. when i use that line for mp4muxer i get a SDR file with greenish look, using the .h265 (not .hevc) that is extracted with mp4demuxer.

2. how do i extract the rpu from a mp4 (not .hevc) DV rip from disney plus?

1- probably because you are using the latest mp4muxer which doesnt work for me as well. Try with this old version instead: https://drive.google.com/file/d/1yZ1EgB ... sp=sharing


2- demux to hevc(or h265) with tsmuxer, ffmpeg, mp4demuxer etc...
then:

Code: Select all

dovi_tool.exe -m 3 extract-rpu DV.hevc
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Poker354
Posts: 11
Joined: Sat Oct 19, 2019 12:08 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Poker354 »

galarond wrote:
Thu Aug 12, 2021 5:55 pm
RESET_9999 wrote:
Thu Aug 12, 2021 2:08 pm
galarond wrote:
Wed Aug 11, 2021 3:25 am
Hi guys im getting crazy with this, i dont even know if its possible or not.

I have a dolby vision single layer mp4, ripped from web, inside theres multiple audio tracks so i just want to have the dolby vision single layer with 1 track.
there is no EL in profile 5 DV from streaming.
demux, then :

Code: Select all

mp4muxer_64bits.exe --dv-profile 5 --input-file X:\video.hevc --input-file X:\audio.ec3 --output-file output.mp4
galarond wrote:
Thu Aug 12, 2021 7:07 am

Hi, sorry for the noob question but how and what do i need to use to extract both layer from the dv web mp4 rip? for dovi tool i need the hevc already but how i go from the dv mp4 ripped from web and the hevc keeping both layers?
with mp4demux i only get 1 hevc that doest contain the dolby layer...
you have to extract and convert the RPU to profile 8(step #2). Once you know the frame difference with the bluray remux, you make a json and you can inject the rpu from the web-dl.

Tnx for your answer

1. when i use that line for mp4muxer i get a SDR file with greenish look, using the .h265 (not .hevc) that is extracted with mp4demuxer.

2. how do i extract the rpu from a mp4 (not .hevc) DV rip from disney plus?
What I do with the Mp4 file is run it through MKVToolnix (latest v60) to create a mkv file
then use the command line: mkvextract.exe tracks YourFileName.mkv -f 0:DV.hevc

then extract the RPU with the command line: dovi_tool.exe -m 3 extract-rpu DV.hevc
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

galarond wrote:
Fri Aug 13, 2021 1:11 am

Im confused too, i have that file too and its in mkv, its only hdr10 or Dv? i only understand the merge or the rpu and the uhd disc rip hdr10 file but the result is a hdr or dv mkv? if its a dv in mkv theres any way to revert back and get 2 layers to form a mp4 dv? i only have a x700 to reproduce dv so i all mkv, dv or hdr10 shows as hdr.

anyway that file is dv or hdr?
It's both DV and HDR10 compatible. For playback on your x700, just remux the file with tsmuxer .
you will have to add the AC3 core back into the TrueHD stream if you want to keep Atmos.
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 »

galarond wrote:
Sat Aug 14, 2021 12:47 am

not true and it has been discussed many times in this thread (even kept the pictures, i knew someone else would say that again one day lol)....
again, just remux it to TS or M2TS and you will get true DV profile 8 . I actually watched both Endgame and Infinity war on the x700 in DV + atmos :)

real DV (ts dual layer but works with single layer too):
Image


fake DV (ts AVC):
Image
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 »

galarond wrote:
Sat Aug 14, 2021 2:22 am

1. where did you got a infinity war p8 mkv or mp4 other than the single layer mp4 from disney plus?

2. how do you know that .ts in the x700 is player as dual layer and not single layer?
i did the test with venom and bumblebee like a year ago, comparing mp4 dual layer versus full rip in m2ts and there was a big difference in picture brightness and detail. both displayed as dolby vision on tv and x700
1- I did the P8 remux myself... You can as well, all the info on how to do it is available in this thread.
2- @manix and I did many comparisons with the original, you can find all of them right here in this thread. The x700 is a 1:1 DV device and support all the profiles
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
DennisTheMenace
Posts: 16
Joined: Mon Aug 17, 2020 7:13 am

Re: Dolby Vision now possible through MP4 Mux.

Post by DennisTheMenace »

I don't know if this is already known, but the justplayer now also supports Dolby Vision (mkv) and dts-hd sound

https://github.com/moneytoo/Player/releases
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

galarond wrote:
Sat Aug 14, 2021 3:02 am

Well i though that m2ts just was read as 1 layer dv but good to know now, even when all my dv movies are on mp4.
m2ts is what blu-ray uses so not sure how you got that idea.
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

galarond wrote:
Sun Aug 15, 2021 4:47 am
4. isnt the dv backup dual layer the best a movie can be seen?
P7 FEL (blu-ray, DTDL) is the best DV available. I believe all streaming services use Profile 5 which is STSL (so no EL). P8 is STSL as well.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

galarond wrote:
Sun Aug 15, 2021 4:47 am
After reading here and there im getting confusing with the dv profiles the mp4muxer and the m2ts/ts files.

I have a Lg C1 and a Sony x700

1. i used to rip a dv movie and just make the mp4 dual layer way putting profile 7 always. That changes for a mel or fel movies?.

2. knowing now i was wrong and i could use a m2ts instead of a mp4 file for a dual layer playback, do i lose something if i change that profile 7 dv mp4 with mkvtoolnix and then tsmuxer?

3. p7 > p8 > p5 ?

4. isnt the dv backup dual layer the best a movie can be seen?

5. is better a dovip8 movie than a p7 mp4 muxed movie with their native dual layers from the disk?

Im feeling like a retard with these 4 years old questions but if anybody can explain me this would be very nice.
As glc650 said, the best DV is FEL P7 (dual-layer) but not all the movies are FEL. Note that your TV internal app won't play FEL movies properly because it lack of a 2nd decoder but your x700 will play properly pretty much anything you throw at him

P7 fel(always dual layer) = 1 HDR10 base layer 10bits + 12bits data in EL(2 extra bits) + dynamic metadata in RPU
P7 mel (always dual layer) = 1 HDR10 base layer 10bits + blank EL (no extra bit) + dynamic metadata in RPU
P8 (always mel and single layer) = 1 HDR10 base layer 10bits + dynamic metadata in RPU
P5 (always single layer) = none-tonemapped DV base layer(green and purple colors) + dynamic metadata in RPU
P4 (dual layer,FEL or MEL) = 1 SDR base layer + FEL or MEL + dynamic metadata in RPU

so it goes like this:
P7 fel > P7 mel = P8 = P5


*Profile 7 can be merged in a single track (makemkv) but it's still dual layer DV.
*Profile 8 can also have an HLG base layer (iphone recording) so this format is compatible with HLG, SDR and DV.
*profile 5 DV : I'm not sure if it's 12bits or 10 bits because there's this description about my profile 5 patterns: ''10bits encoded remapped 12bits''. Not really sure what it means but it sounds like profile 5 could be 12bits as well.
- Dolby Laboratories
Since current Dolby Vision test patterns are limited, we decided to create an entire suite utilizing profile 5, the most commonly used profile amongst manufacturers. Profile 5, typically utilized for streaming Dolby Vision content, encompasses Dolby Vision’s proprietary IPT for color primaries and color matrix, along with the use of full range for RGB. This test pattern suite incorporates an UltraHD 3840x2160 resolution, proprietary IPT similar to BT.2100 ICtCp, 10-Bit encoded/12-bit remapped and a ST.2084 transfer function. This project follows the same idea behind our “UltraHD|HDR-10 Test Pattern Suite”, an attainable solution to calibrate and/or measure your new HDR display, without having to spend thousands on a new UHD/HDR test pattern generator.
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 »

galarond wrote:
Sun Aug 15, 2021 1:49 pm
Amazing, even my 4 years old brain (im 40 lol) can understand now, so my mp4 mel dual layer movies are the same as the p8 movies so i guess i only care about p8 movies if theres no uhd dv version of that movie, if not just stick with my original rip.
You can convert dual-layer profile 7 mel uhd bluray to single layer profile 8. You don't lose any quality and there's a benefit in doing that when you use a sony x700 bluray player.
P8 is actually the profile I use for all the MEL DV bluray because the x700 doesnt have the green screen bug with profile 8.

so here's how I watch DV movies on the x700

FEL P7 : remuxed to AVCHD bluray folder structure
MEL P7: converted to single layer profile 8 TS

*ts p8 playback will still have seeking issues with long movies and no automatic forced subtitles though.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

I keep a DL P7 mp4 and a SL P8 mp4 inline together in Plex just so that I have DV7, HDR10 and/or DV8 all already available depending on the local device's playback capability

Sucks having to keep 2 versions of each movie space wise (why I encode my digital copies' base HDR10 layer to 45mbps - I find this quality still alright over streaming 4K and I have the physical disc still for first watching and 1:1 hard copy backup if I ever need it), but it makes it the easiest for broad playback support
Malatesta
Posts: 2
Joined: Sun Aug 15, 2021 4:52 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Malatesta »

Hi all,

i have a problem with one specific DV video the x700 won't play.
Its a SAW (2004) remux, taken the video from the US UHD and the german DTS HD MA blu-ray audio source.

Mediainfo

Code: Select all

Format                      : Matroska
Format version              : Version 4
File size                   : 61.4 GiB
Duration                    : 1 h 42 min
Overall bit rate mode       : Variable
Overall bit rate            : 85.4 Mb/s
Encoded date                : UTC 2021-05-21 23:24:23
Writing application         : mkvmerge v52.0.0 ('Secret For The Mad') 64-bit
Writing library             : libebml v1.4.1 + libmatroska v1.6.2

Video
ID                          : 1
ID in the original source m : 4113 (0x1011)
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5.1@High
HDR format                  : Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 1 h 42 min
Bit rate                    : 78.3 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.394
Stream size                 : 56.2 GiB (92%)
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.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 973 cd/m2
Maximum Frame-Average Light : 838 cd/m2
Original source medium      : Blu-ray

Audio #1
ID                          : 2
Format                      : DTS XLL
Format/Info                 : Digital Theater Systems
Commercial name             : DTS-HD Master Audio
Codec ID                    : A_DTS
Duration                    : 1 h 42 min
Bit rate mode               : Variable
Bit rate                    : 2 430 kb/s
Channel(s)                  : 8 channels
Channel layout              : C L R LFE Lb Rb Lss Rss
Sampling rate               : 48.0 kHz
Frame rate                  : 93.750 FPS (512 SPF)
Bit depth                   : 16 bits
Compression mode            : Lossless
Stream size                 : 1.75 GiB (3%)
Title                       : Deutsch DTS-HD MA 7.1 (Blu-ray)
Language                    : German
Default                     : Yes
Forced                      : No
As always using ts-muxer converting mkv to ts.
This time with activated DV the x700 doesn't play the movie. With DV off the movie played fine in HDR10.

I have no problem playing DV for this types of "selfmade remux" before, for example Donnie Darko has no issues at all.
So whats the problem with SAW and is there anything i can do, onvert DV Profil, FEL to MEL, single track to dual track?

Thanks.
lexyz
Posts: 120
Joined: Fri May 08, 2020 5:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by lexyz »

quietvoid wrote:
Sun Aug 08, 2021 5:40 am
You can now generate RPU metadata in v0.4.0, see documentation: https://github.com/quietvoid/dovi_tool/ ... nerator.md

You can find it here: https://github.com/quietvoid/dovi_tool/ ... /tag/0.4.0
I wonder is it possible (in theory) to generate a dynamic RPU based on data from MadVR MadmeasureHDR Optimizer tool? :roll:
Bravia XF90, Shield TV Pro'19, UBP-X700
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

lexyz wrote:
Sun Aug 15, 2021 6:53 pm
I wonder is it possible (in theory) to generate a dynamic RPU based on data from MadVR MadmeasureHDR Optimizer tool? :roll:
Of course it's possible, but there would be no creative intent adjustments.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

What about content that is graded for dv
& includes the (DV-meta-XML adjustments) but of course does not have an Rpu is that possible?
Eg.Dv master file with xml.
For those who don’t have the dv encoding tools to build an Rpu tru sdi.
Post Reply