Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

RESET_9999 wrote:I just tested my Shield and MKV/TS p8 + atmos file created by my script are working. Are you using mkvtoolnix or tsmuxer included in my tools pack?
I followed the instructions like in the video, and then used mkvtoolmix from your app as suggested by you.
i created a mkv file with it

if you wish more info on my file i can give you that info, or just give you the files.
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote:
Wed Mar 23, 2022 10:09 pm
if you wish more info on my file i can give you that info, or just give you the files.
yes PM the file and I'll test but it sounds like a problem with your system. Did you try other DV MKV + trueHD ?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
el_juan
Posts: 6
Joined: Mon Feb 21, 2022 8:48 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by el_juan »

RESET_9999 wrote:
Wed Mar 23, 2022 6:49 pm
el_juan wrote:
Wed Mar 23, 2022 6:31 pm
I take a DV WEB-DL extract the .hevc file change the profile from 5 to 8 to get the RPU file, and then edit the active area in the RPU (no need to change the frames in this movie) then inject the newly generated RPU file in to the HDR10 REMUX .hevc file.
Are you doing all of this manually? if yes, you don't have to. Just drag and drop your mkv/mp4 and let the script do everything.

I just checked Mode P5 to P8 no frame adj. / Workflow 2 (manual L5) and the filesize is as expected...

Image
I have just tried with a new movie with the same result using the newest version DoVi_Scripts_1.1.2.
Active area was edited with 280 top and bottom.

Image

Took the P8_DoVi.hevc and muxed with the hdr.mkv (removed the .hevc stream) with mkvmerge.


Edit:

When i removed the pgs subtitles from the HDR version and the P8_DoVi it seems to be correct.

Image
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

rosavanwinkle wrote:
Wed Mar 23, 2022 7:24 pm
Anyone by any chance has a profile 8.1 file test clip with truehd (6 channels) and dolby vision? they know that works on shield tv pro? either im doing something wrong in mkvtoolnix or my settings are wrong somewhere else cause the file only plays hdr10 when truehd is active,and dolby vision with ac3

i followed the video guide https://www.youtube.com/watch?v=hUAeltL62s8 he provided to the bone...
The problem is your hardware. You either plug in your Shield directly to the TV to get DV and lose lossless audio, or you plug the Shield into your soundbar and lose DV. Your TV cannot passthrough lossless audio because it doesn't have eARC, and your soundbar doesn't support 4k passthrough. Unfortunately, you have to pick one or the other.
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

shawnc22 wrote:
Wed Mar 23, 2022 11:38 pm
rosavanwinkle wrote:
Wed Mar 23, 2022 7:24 pm
Anyone by any chance has a profile 8.1 file test clip with truehd (6 channels) and dolby vision? they know that works on shield tv pro? either im doing something wrong in mkvtoolnix or my settings are wrong somewhere else cause the file only plays hdr10 when truehd is active,and dolby vision with ac3

i followed the video guide https://www.youtube.com/watch?v=hUAeltL62s8 he provided to the bone...
The problem is your hardware. You either plug in your Shield directly to the TV to get DV and lose lossless audio, or you plug the Shield into your soundbar and lose DV. Your TV cannot passthrough lossless audio because it doesn't have eARC, and your soundbar doesn't support 4k passthrough. Unfortunately, you have to pick one or the other.
that seems about right... unless i get myself a AVR...my soundbar only has 1.4 passthrough,i discussed this earlier a while back. so atm my setup is like this:
Shield -> tv
soundbar -> tv

it should be shield -> soundbar -> tv
but yeah sadly the hdmi is crap on both my tv and sound bar
either way i have uploaded a test file just in case so people can atleast test if i did it right for the people that have a perfect setup:
https://drive.google.com/file/d/1n4hYwb ... sp=sharing
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

el_juan wrote:
Wed Mar 23, 2022 10:24 pm
Edit:
When i removed the pgs subtitles from the HDR version and the P8_DoVi it seems to be correct.
Image
I just tested with a full movie with pgs subs instead of just a sample with video only, and the size is normal... so not sure what caused that on your end

Image

Code: Select all

Complete name                            : S:\Harry.Potter.and.the.Order.of.the.Phoenix.2007.P8_DoVi.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 54.0 GiB
Duration                                 : 2 h 18 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 56.0 Mb/s
Writing application                      : mkvmerge v65.0.0 ('Too Much') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4

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 18 min
Bit rate                                 : 49.1 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.247
Stream size                              : 47.4 GiB (88%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 500 cd/m2
Maximum Frame-Average Light Level        : 200 cd/m2

Audio #1
ID                                       : 2
Format                                   : DTS XLL X
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 2 h 18 min
Bit rate mode                            : Variable
Bit rate                                 : 3 953 kb/s
Channel(s)                               : 8 channels
Channel(s)_Original                      : Object Based
ChannelLayout_Original                   : Object Based
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Stream size                              : 3.82 GiB (7%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Format settings                          : Dolby Surround
Codec ID                                 : A_AC3
Duration                                 : 2 h 18 min
Bit rate mode                            : Constant
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 22 ms
Stream size                              : 190 MiB (0%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #3
ID                                       : 4
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 18 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 22 ms
Stream size                              : 633 MiB (1%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : French
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #4
ID                                       : 5
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 18 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 22 ms
Stream size                              : 633 MiB (1%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : Spanish
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #5
ID                                       : 6
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 18 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 22 ms
Stream size                              : 633 MiB (1%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : Portuguese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #6
ID                                       : 7
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 2 h 18 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 22 ms
Stream size                              : 633 MiB (1%)
Title                                    : Harry.Potter.and.the.Order.of.the.Phoenix.2007.2160p.BluRay.REMUX.HEVC.DTS-X.7.1-FGT
Language                                 : Japanese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 8
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 17 min
Bit rate                                 : 31.7 kb/s
Count of elements                        : 3046
Stream size                              : 31.2 MiB (0%)
Title                                    : English-PGS
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 9
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 17 min
Bit rate                                 : 22.5 kb/s
Count of elements                        : 2742
Stream size                              : 22.1 MiB (0%)
Title                                    : French-PGS
Language                                 : French
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 10
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 17 min
Bit rate                                 : 25.2 kb/s
Count of elements                        : 2574
Stream size                              : 24.8 MiB (0%)
Title                                    : Spanish-PGS
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #4
ID                                       : 11
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 17 min
Bit rate                                 : 26.6 kb/s
Count of elements                        : 2620
Stream size                              : 26.2 MiB (0%)
Title                                    : Portuguese-PGS
Language                                 : Portuguese
Default                                  : No
Forced                                   : No

Text #5
ID                                       : 12
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 2 min
Bit rate                                 : 411 b/s
Count of elements                        : 34
Stream size                              : 369 KiB (0%)
Title                                    : French-PGS
Language                                 : French
Default                                  : No
Forced                                   : No

Text #6
ID                                       : 13
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 2 min
Bit rate                                 : 592 b/s
Count of elements                        : 48
Stream size                              : 531 KiB (0%)
Title                                    : Spanish-PGS
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #7
ID                                       : 14
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 2 min
Bit rate                                 : 781 b/s
Count of elements                        : 52
Stream size                              : 701 KiB (0%)
Title                                    : Portuguese-PGS
Language                                 : Portuguese
Default                                  : No
Forced                                   : No

Text #8
ID                                       : 15
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 7 min
Bit rate                                 : 20.3 kb/s
Count of elements                        : 2853
Stream size                              : 18.5 MiB (0%)
Title                                    : Japanese-PGS
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Text #9
ID                                       : 16
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 57 min
Bit rate                                 : 596 b/s
Count of elements                        : 313
Stream size                              : 513 KiB (0%)
Title                                    : Japanese-PGS
Language                                 : Japanese
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Chapter 1
00:04:50.832                             : en:Chapter 2
00:10:16.532                             : en:Chapter 3
00:15:19.877                             : en:Chapter 4
00:17:43.020                             : en:Chapter 5
00:20:52.209                             : en:Chapter 6
00:25:33.490                             : en:Chapter 7
00:28:07.143                             : en:Chapter 8
00:30:20.777                             : en:Chapter 9
00:34:53.758                             : en:Chapter 10
00:37:40.925                             : en:Chapter 11
00:41:48.297                             : en:Chapter 12
00:44:57.361                             : en:Chapter 13
00:50:57.220                             : en:Chapter 14
00:56:37.227                             : en:Chapter 15
01:03:28.471                             : en:Chapter 16
01:07:39.013                             : en:Chapter 17
01:11:15.854                             : en:Chapter 18
01:16:30.127                             : en:Chapter 19
01:19:16.460                             : en:Chapter 20
01:25:30.792                             : en:Chapter 21
01:31:30.526                             : en:Chapter 22
01:34:49.642                             : en:Chapter 23
01:37:42.273                             : en:Chapter 24
01:41:40.135                             : en:Chapter 25
01:45:59.102                             : en:Chapter 26
01:48:37.010                             : en:Chapter 27
01:52:40.754                             : en:Chapter 28
01:57:30.543                             : en:Chapter 29
02:03:32.988                             : en:Chapter 30
02:05:50.459                             : en:Chapter 31
02:08:26.865                             : en:Chapter 32

Obliver wrote:
Wed Mar 23, 2022 4:49 pm
I've tried going from a DT-DL Bluray MPLS to MP4 P8 DDP 1536 kbps but Plex app won't recognize it. Workflow is DT-DL Bluray > HEVC P7 SL DL (yuseope) > MKV mux P7 ST DL with Atmos THD > MP4 P8 with DDP 1536 kbps.
How can I get Plex to recognize them? T_T
Or at least is there a script to go from that Bluray DT-DL to the MP4 with hev1 codec that's recognized by Plex?
I just did a quick test with The Matrix 2022 BD to MP4 DD+ and subs and it worked on PLEX/C8 and shield... so perhaps going from P7 ST to P8 broke something.
but theres something i have to fix in the mp4 modes, the dd+ encoding doesnt have enough time to process and the mp4muxer try to start and fails. will fix in next version

Code: Select all

General
Complete name                            : D:\other\DEMOS\TEST\00800_DoVi.sub.au.mp4
Format                                   : mp43
Codec ID                                 : mp43 (isom/mp43/dby1)
File size                                : 64.5 GiB
Duration                                 : 2 h 27 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 62.4 Mb/s
Encoded date                             : UTC 2022-03-23 23:37:27
Tagged date                              : UTC 2022-03-23 23:37:27
Writing application                      : GPAC-1.1.0-DEV-rev1027-g1daa0b5f-master

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 / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 2 h 27 min
Bit rate                                 : 60.8 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.306
Stream size                              : 62.9 GiB (98%)
Default                                  : No
Encoded date                             : UTC 2022-03-23 23:23:24
Tagged date                              : UTC 2022-03-23 23:39:50
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level              : 1044 cd/m2
Maximum Frame-Average Light Level        : 648 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : ec-3
Duration                                 : 2 h 27 min
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Maximum bit rate                         : 1 622 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 62.500 FPS (768 SPF)
Compression mode                         : Lossy
Stream size                              : 1.59 GiB (2%)
Service kind                             : Complete Main
Default                                  : No
Encoded date                             : UTC 2022-03-23 23:23:24
Tagged date                              : UTC 2022-03-23 23:39:50

Text
ID                                       : 3
Format                                   : Timed Text
Codec ID                                 : tx3g
Duration                                 : 1 h 45 min
Bit rate mode                            : Variable
Bit rate                                 : 87 b/s
Stream size                              : 67.5 KiB (0%)
Title                                    : srt@GPAC1.1.0-DEV-rev1027-g1daa0b5f-master
Forced                                   : No
Encoded date                             : UTC 2022-03-23 23:39:50
Tagged date                              : UTC 2022-03-23 23:39:50

shawnc22 wrote:
Wed Mar 23, 2022 11:38 pm
The problem is your hardware.
yep


Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

Trying to get the script to work in ubuntu with wine,which seems like it launches etc. but it prepressed some buttons it seems every time i start it even though i havent pressed any yet
anyone has experience in running this in ubuntu?
Image
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
gacopl
Posts: 7
Joined: Sun Mar 06, 2022 7:20 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by gacopl »

comorla45 wrote:
Tue Mar 22, 2022 8:29 am
@gacopl I had no time to run your tool, so maybe you can answer me here. Does your scrip create MP4 that is hybrid format? I mean, DV+HDR10 compatible, so devices with no DV support will still run HDR10? Thanks.
It depends what is input if input is DV7 or DV8 then yes output is DV8.1 hdr10 compatible mp4. DV5 stays DV5 just in mp4 container that you can run on LG Oleds, Nvidia Shield not sure about other devices
gacopl
Posts: 7
Joined: Sun Mar 06, 2022 7:20 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by gacopl »

rosavanwinkle wrote:
Fri Mar 25, 2022 6:03 pm
Trying to get the script to work in ubuntu with wine,which seems like it launches etc. but it prepressed some buttons it seems every time i start it even though i havent pressed any yet
anyone has experience in running this in ubuntu?
Image
If you run Ubuntu you should really check this out https://github.com/gacopl/dvmkv2mp4/ it's fully automatic
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

All right, I understand. Thank you.
gacopl
Posts: 7
Joined: Sun Mar 06, 2022 7:20 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by gacopl »

Hi there

I have released new version of dvmkv2mp4 with some new goodies enjoy
https://github.com/gacopl/dvmkv2mp4

HDR10+ Support
HDR10+ Source verification
Better tracks lang parsing
New parameters support - to keep old behaviour run with dvmkv2mp4 --langs und,pol,eng -r -a
Fix EAC3 bitrate was too high for MP4Box
Local PGS2SRT instead of docker as its faster
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

gacopl wrote:If you run Ubuntu you should really check this out https://github.com/gacopl/dvmkv2mp4/ it's fully automatic
Problem is i dont have sudo access its a seedbox,so it needs to be scripts like resets that dont require installation etc.
and i use M2ts raw files so ill just stick to download and reupload it everytime for now :/ but ty!
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
hell001
Posts: 11
Joined: Sat Mar 26, 2022 1:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hell001 »

Glad to see this thread still active.

I was hoping someone could educate me.

I am working on hybridizing some HDR-only files (both UHD Bluray and 2160p WEBDL) with their corresponding 2160p WEBDL DV-only counterparts. So I have these scenarios:
  • 4K Bluray Remux HDR-only + 4K WEBDL DV-only
  • 4K WEBDL HDR-only + 4K WEBDL DV-only
In these scenarios, as we all know, the WEBDLs are Profile 5, and after being injected into the HDRs, they become Profile 8 (8.1?).

I have some questions about this:
  1. Is this a reversible process? As in if I had the hybrid file, could I revert back to HDR-only and DV-only files? Or would I have need to kept the separated files if I wanted them split again? If it's possible, could someone provide some script examples?
  2. There are many different TVs and streaming clients. From what I understand, some of them either do or don't support Profile 5. Or Profile 7. Or Profile 8. If I was using a client that does not support Profile 8, wouldn't I be out of luck with the hybrid file even though it has DV? Whereas I could have actually been watching in DV if I had just used the DV-only Profile 5 file? So it's not like creating these hybrid files is the one-size-fits-all solution and it is NOT safe to assume that after this process we will always be watching in DV, right?
  3. Related to the above, I am interested in hearing some of your setups that take advantage of this hybrid process where the comments in my previous question are not an issue. What do you do in scenarios where it doesn't play in DV?
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

Those are all good questions @hell001
hell001 wrote:
Sat Mar 26, 2022 1:53 am
Is this a reversible process? As in if I had the hybrid file, could I revert back to HDR-only and DV-only files? Or would I have need to kept the separated files if I wanted them split again? If it's possible, could someone provide some script examples?
You can get back the HDR10-only file from the hybrid, but not the DV-only file. The reason for that is a P8 hybrid takes everything from the HDR10 file and then adds only part of the DV file. The part that's added is called the RPU, and is the precious DV metadata, and so we extract that out, and then discard the rest of the video information from the DV-only source file.
hell001 wrote:
Sat Mar 26, 2022 1:53 am
There are many different TVs and streaming clients. From what I understand, some of them either do or don't support Profile 5. Or Profile 7. Or Profile 8. If I was using a client that does not support Profile 8, wouldn't I be out of luck with the hybrid file even though it has DV? Whereas I could have actually been watching in DV if I had just used the DV-only Profile 5 file? So it's not like creating these hybrid files is the one-size-fits-all solution and it is NOT safe to assume that after this process we will always be watching in DV, right?
Yes, that's right. For me, the point of making hybrids is that it gives the highest possible quality for movies that are available on UHDBD, but don't have DV on the disc. So we extract the DV from the WEB-DL, add that to the HDR10 from the disc, and have the best of both worlds with the high-bitrate video from the disc and the DV metadata from the download to allow your TV to do the best-possible tonemapping.

I hadn't actually heard before of people making hybrids where both the HDR10 and the DV come from different WEB-DL rips. I guess the point of that is if you have a device that can do P8, but not P5? To be honest, in that scenario I would strongly advise just getting another device that can do P5 if at all possible, because they're easy to find and cheap, and making hybrids is always time-consuming even if you have scripts to help.
hell001 wrote:
Sat Mar 26, 2022 1:53 am
Related to the above, I am interested in hearing some of your setups that take advantage of this hybrid process where the comments in my previous question are not an issue. What do you do in scenarios where it doesn't play in DV?
@RESET_9999 made a fantastic spreadsheet summarizing the playback device options with their pros and cons, but my personal setup that I'm very very happy with is:
  • Sony X800M2 for P7 rips (where the original disc had DV), P8 hybrid rips (where the original disc didn't have DV), and HDR10 rips (where I haven't been able to find a DV source)
  • Apple TV 4K for P5 rips and all streaming
The only substantial compromises with the X800M2 are that you have to use M2TS files (easy when you know how), you don't get chapters, have to manually turn on any forced subtitles, and have to use Wi-Fi rather than Ethernet because it only has a 100Mbps Ethernet port which isn't fast enough. But those are all well worth it imo for the best-possible-available video and audio quality.

You can swap the Apple TV 4K for something else if you don't like Apple or disapprove of the price, but since P5 is the totally mainstream format used for DV streaming it's well-supported by lots of devices.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sat Mar 26, 2022 2:58 pm
I hadn't actually heard before of people making hybrids where both the HDR10 and the DV come from different WEB-DL rips. I guess the point of that is if you have a device that can do P8, but not P5? To be honest, in that scenario I would strongly advise just getting another device that can do P5 if at all possible, because they're easy to find and cheap, and making hybrids is always time-consuming even if you have scripts to help.
I do make a p8 hybrid from p5/hdr10 web-dl because I find it more practical to have an HDR10 BL and I can stream it on every TV in my house including the one that doesnt support DV.
plus I don't really see the difference between p5 and p8 eventhough p5 uses a more efficient colorspace.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply