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 »

higher wrote:
Fri Aug 27, 2021 2:26 pm
RESET_9999 wrote:
Fri Aug 27, 2021 2:07 pm
the C8 supports all the DV profiles.
The ts file you tried must be dual-layer which the c8 won't trigger DV in this container (or it will even say ''corrupted'').

so you have to demux and remux with the mp4muxer using profile 7
I was trying with a Hulu DoVi mkv file floating on the web which is Profile 8 but remuxing it to ts didn't trigger Dolby Vision, only regular HDR.
that's strange... I dont think I ever had a p8 file that my C8 didnt play in DV.
I will try tonight. which web-dl did you try?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
higher
Posts: 8
Joined: Thu Aug 26, 2021 2:02 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by higher »

RESET_9999 wrote:
Fri Aug 27, 2021 3:22 pm
higher wrote:
Fri Aug 27, 2021 2:26 pm
RESET_9999 wrote:
Fri Aug 27, 2021 2:07 pm
the C8 supports all the DV profiles.
The ts file you tried must be dual-layer which the c8 won't trigger DV in this container (or it will even say ''corrupted'').

so you have to demux and remux with the mp4muxer using profile 7
I was trying with a Hulu DoVi mkv file floating on the web which is Profile 8 but remuxing it to ts didn't trigger Dolby Vision, only regular HDR.
that's strange... I dont think I ever had a p8 file that my C8 didnt play in DV.
I will try tonight. which web-dl did you try?
I was trying it with an episode of Nine Perfect Strangers. Will be home soon and I'm going to give tsMuxer yet another try because I used 2.6.12 not the nightly build you linked. Will also try mp4muxer with P5.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

higher wrote:
Fri Aug 27, 2021 3:33 pm
I was trying it with an episode of Nine Perfect Strangers. Will be home soon and I'm going to give tsMuxer yet another try because I used 2.6.12 not the nightly build you linked. Will also try mp4muxer with P5.
hulu web-dl are not in profile 5 but you can use the mp4muxer and remux to profile 8.
nightly tsmuxer should work though
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
higher
Posts: 8
Joined: Thu Aug 26, 2021 2:02 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by higher »

Got home and tried the nightly tsMuxer build you posted earlier and it works, ts is now triggering DV on the TV. Thank you for the link! :)
cannibalist2
Posts: 9
Joined: Sun Aug 29, 2021 11:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by cannibalist2 »

Guys thanks for all the information you shared so far. I started to reading all of the pages for making dolby vision rips properly. But I need to ask you some questions before that. I have LG G1 and I'm gonna use native plex app. (I don't have shield or apple tv)
1. Does this tv support only mp4/m2ts/ts and single layer dolby vision?
2. My pc doesn't have a strong cpu. Does making dolby vision rips take too much time?
3. I want to get best picture as possible. Is plex app enough or do I need shield pro?
Last edited by cannibalist2 on Sun Aug 29, 2021 4:10 pm, edited 1 time in total.
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

galarond wrote:
Sun Aug 29, 2021 12:28 pm
How can i see if a mt2s or mkv have hdr10plus metadata'?

Trying to find a Alien 1979 hdr10plus disk backup version...
It should be apparent in mediainfo

Image
thetoad
Posts: 251
Joined: Thu Jul 28, 2016 4:18 am

Re: Dolby Vision now possible through MP4 Mux.

Post by thetoad »

are hdrplus10 and dovi rpu (i.e. not enhancement layers) metadata effectively similar information? could one conceptually convert one to the other? (i.e. assuming one has an hdr10 base, could one convert hdr10plus to give a dolby vision only tv dynamic metadata and vice versa for an hdr10plus tv).

or are they totally different (or different enough) that this isn't possible. just wondering if anyone has thought about this?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

thetoad wrote:
Mon Aug 30, 2021 5:58 am
are hdrplus10 and dovi rpu (i.e. not enhancement layers) metadata effectively similar information? could one conceptually convert one to the other? (i.e. assuming one has an hdr10 base, could one convert hdr10plus to give a dolby vision only tv dynamic metadata and vice versa for an hdr10plus tv).

or are they totally different (or different enough) that this isn't possible. just wondering if anyone has thought about this?
Going from HDR10+ to Dolby Vision can be done partially, since both include the image analysis info (min/max/avg luminance). The rest of the info is incompatible without heavy calculations.
Going from Dolby Vision to HDR10+ isn't really possible because HDR10+ requires some information (luminance percentiles per shot) that's not present in Dolby Vision, and would require analyzing the image and more calculations..

Not to mention most of the steps for calculations are proprietary.
fortnate90
Posts: 1
Joined: Mon Aug 30, 2021 1:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fortnate90 »

RESET_9999 wrote:
Thu Aug 26, 2021 11:43 pm
hulu recently added dv and hdr10plus support and it looks like they are all in profile 8 DV

Code: Select all

Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Seems hulu has no extra HDR encoding so would it be possible to demux the HDR part from the hevc stream?
I found out that this dovi_tool has a demux option and now i got 2 files BL.hevc and EL.hevc. The BL.hevc seems to be the HDR part, is that right? Or is there another way to force HDR playback instead of DV?
MastaG
Posts: 98
Joined: Thu Aug 08, 2019 11:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MastaG »

EDIT:

I really hope somebody can answer this.

Does the Plex app for Shield support DV from MKV containers?
If yes, which profiles?

And what about the LG WebOS Plex app?
I believe it only supports DV profile 5 (MEL) from MKV containers right?
What about .TS containers?

I'm looking to store my videos in a container which can also carry lossless audio, but is capable of triggering DV on both LG TVs and the Shield using Plex.

I know LG only supports AC3, but that's no problem because I can just store the TrueHD track as the second one.
Last edited by MastaG on Mon Aug 30, 2021 6:20 pm, edited 1 time in total.
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

fortnate90 wrote:
Mon Aug 30, 2021 2:04 pm
The BL.hevc seems to be the HDR part, is that right?
Yes, the BL.hevc file does not contain any Dolby Vision data, but it does still fallback to HDR10+.
uhdiznotenough4mee
Posts: 17
Joined: Mon Aug 30, 2021 9:34 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by uhdiznotenough4mee »

Hi! I am newbee here so please bear with me. I've experimented with dovi_tool a little bit but failed every time. Obviously I am doing something wrong so I would appreciate your help. Thank you.

Here are my exact steps (using Windows 10 Pro 64bit and everything like source files and dovi_tool.exe/ffmpeg.exe are inside main folder):

01, ffmpeg -i DV_WEB-DL.mp4 -c:v copy -vbsf hevc_mp4toannexb -f hevc - | dovi_tool -m 3 extract-rpu -
02, ffmpeg -i HDR.mkv -c:v copy hdr.hevc
03, dovi_tool inject-rpu -i hdr.hevc --rpu-in RPU.bin -o output.hevc
04, final output.hevc is muxed in latest MKVToolnix with sound and subtitles from HDR.mkv

There is a difference between DV web-dl and remux HDR10 file in frames but if I understood correctly, dovi_tool should adjust it automatically for metadata. Am I right? Using the latest 0.5 version.

I do not have any errors either in ffmpeg or dovi_tool. All is going smooth. Except when I try to play the final file in either mpv or mpc-hc I see glitches - for example in the beginning when the the logo appears, the picture will freeze for a couple of seconds and the sound is continuing. At that time the glitch in small rectangle in left upper corner will appear. Here are examples:

Image

Image

Image

Here is MediaInfo (some info reducted):

Code: Select all

Format                         : Matroska
Format version                 : Version 4
File size                      : 51.0 GiB
Duration                       : 2 h 13 min
Overall bit rate mode          : Variable
Overall bit rate               : 54.5 Mb/s
Movie name                     : MOVIE
Encoded date                   : UTC 2021-08-30 21:24:30
Writing application            : mkvmerge v61.0.0 ('So') 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 13 min
Bit rate                       : 48.9 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.246
Stream size                    : 45.7 GiB (90%)
Writing library                : ATEME Titan File 3.9.6 (4.9.6.2)        
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 primar : Display P3
Mastering display luminance    : min: 0.0000 cd/m2, max: 1000 cd/m2

Audio #1
ID                             : 2
Format                         : MLP FBA 16-ch
Format/Info                    : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                : Dolby TrueHD with Dolby Atmos
Codec ID                       : A_TRUEHD
Duration                       : 2 h 13 min
Bit rate mode                  : Variable
Bit rate                       : 4 651 kb/s
Maximum bit rate               : 6 930 kb/s
Channel(s)                     : 8 channels
Channel layout                 : L R C LFE Ls Rs Lb Rb
Sampling rate                  : 48.0 kHz
Frame rate                     : 1 200.000 FPS (40 SPF)
Compression mode               : Lossless
Stream size                    : 4.35 GiB (9%)
Title                          : TrueHD Atmos 7.1
Language                       : English
Default                        : Yes
Forced                         : No
Number of dynamic objects      : 13
Bed channel count              : 1 channel
Bed channel configuration      : LFE

Audio #2
ID                             : 3
Format                         : AC-3
Format/Info                    : Audio Coding 3
Commercial name                : Dolby Digital
Codec ID                       : A_AC3
Duration                       : 2 h 13 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
Stream size                    : 613 MiB (1%)
Title                          : Compatibility Track
Language                       : English
Service kind                   : Complete Main
Default                        : No
Forced                         : No

Text #1
ID                             : 4
Format                         : PGS
Codec ID                       : S_HDMV/PGS
Codec ID/Info                  : Picture based subtitle format used on BDs/HD-DVDs
Duration                       : 2 h 11 min
Bit rate                       : 34.8 kb/s
Count of elements              : 3804
Stream size                    : 32.8 MiB (0%)
Title                          : SDH
Language                       : English
Default                        : No
Forced                         : No
Thanks for your inputs.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Just got a Zidoo z9x player.. works great for any file I played but tv-led has the wrong bt2020 flag as well SMH :(
https://slow.pics/c/8zWhGixS

Image


The x700, the Shield, the appleTV, the firestick, Chromecast, Ugoos:

Image

colors are mostly accurate, still have to check DV but at least there is no red push on Doctor Sleep. if they fix the bt2020 flag, it is a better device than the Shield IMO

HDR10 422 12bit
zidoo vs source vs htpc: https://slow.pics/c/sjhJStHn

SDR 422 12bit (444 8bit is the same accuracy):
zidoo vs source vs htpc: https://slow.pics/c/MZyuVwBq
Last edited by RESET_9999 on Tue Aug 31, 2021 3:30 am, edited 1 time in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

RESET_9999 wrote:
Mon Aug 30, 2021 11:10 pm
Just got a Zidoo z9x player.. works great for any file I played but tv-led has the wrong bt2020 flag as well SMH :(

Image


The x700, the Shield, the appleTV, the firestick, Chromecast, Ugoos:

Image

colors are mostly accurate, still have to check DV but at least there is no red push on Doctor Sleep. if they fix the bt2020 flag, it is a better device than the Shield IMO

HDR10 422 12bit
zidoo vs source vs htpc: https://slow.pics/c/sjhJStHn

SDR 422 12bit (444 8bit is the same accuracy):
zidoo vs source vs htpc: https://slow.pics/c/MZyuVwBq
damn with all the players you've bought recently, you should've just bit the bullet and gotten one of the oppo clones :lol:
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

shawnc22 wrote:
Tue Aug 31, 2021 1:15 am

damn with all the players you've bought recently, you should've just bit the bullet and gotten one of the oppo clones :lol:
:lol:
yeah but just like the x700, the oppo cant play cropped DV properly. with all the appletv and amazon(hdr10+ to DV) content , it was a problem.

And now I can watch all the mel DV content via my network and only use my hdd /x700 for FEL. It's much more practical now. plus I get to reduce the amount of TS files in my library ( i prefer all MKV)
zidoo works surprisingly well, literally played every single file I tried.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply