Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
MuffinMcFluffin
Posts: 7
Joined: Wed Dec 16, 2020 4:24 am

Re: Dolby Vision now possible through MP4 Mux.

Post by MuffinMcFluffin »

nekno wrote:
Sat Feb 12, 2022 1:37 am
FubbAyH wrote:
Fri Feb 11, 2022 11:04 pm
RESET_9999 wrote:
Fri Feb 11, 2022 3:09 pm
this seems to take the same processing time as converting the core to regular 640kbps 5.1...
is there a way to generate an ac3 core without re-encoding like they are trying to do in tsmuxer? even if the core is silent, I don't mind as long as TrueHD works.
Yeah, I've been trying to figure out if that's possible too. My guess is that because the TrueHD is based on the AC3 core, when you add the core it needs to re-encode the TrueHD too to match? (which I'm presuming is why it takes a while) So maybe it's possible to create a core that doesn't need the TrueHD data to be re-encoded, but I don't know anywhere near enough about the details of AC3 or TrueHD to know :?

Thank you for your scripts too!
Encoding DTS-HD takes in a lossless LPCM stream, encodes a lossy DTS core, and saves the rest of the discarded audio as lossless extensions. When decoding, the extensions are recombined with the lossy DTS core and decoded to arrive at the original lossless stream.

But TrueHD doesn't require an AC3 lossy core; it isn't a required part of the TrueHD spec. When an AC3 core is included with a TrueHD track it's because of the BD spec, where it's required for BD / UHD BD.

TrueHD tracks are comprised of "access units" where the audio has been divided into frames.

A TrueHD+AC3 track has audio frames alternating between TrueHD and AC3. It's just two completely separate streams interleaved into a single track, kind of how STDL puts two distinct video streams into separate NALUs of a single track.

A THD+AC3 track is the STDL of TrueHD audio streams, where a THD track with a separate AC3 track is DTDL.

So if you have a TrueHD track and an AC3 track, you have all of the encoded audio data you need, you just need to remux/repack the audio frames into the correct format.

That's what I understand they're working on for tsMuxer, and there is no other tool I've found that can do it.

eac3to can remux a TrueHD stream into a THD+AC3 stream, but has to encode a new AC3 stream to do it. It doesn't support remuxing an existing AC3 stream.

The mlp tool for accurately/losslessly editing THD streams has an open issue requesting support, but there's no activity on it.
I'll keep reading if this has been answered, so I'm sorry that this is rather old.

I just did this for Top Gun: Maverick, and the TrueHD track is now significantly louder than the lossy AC3 track. Is that normal, or is it doubling up by adding a track onto a track? I don't want any clipping or harsh sounds from it if so.

I didn't get to play it super loud to determine this yet, by the way. I was just curious if this is normal when this happens, since I can't mux it just as a THD with the AC3 track.

EDIT: Better yet, I muxed the original AC3 track with the THD+AC3 track. Should I have not done that? Is that why it is a louder volume? Should I leave the AC3 track completely out and it'll still be fine?
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

MuffinMcFluffin wrote:
Wed Nov 09, 2022 9:17 pm
nekno wrote:
Sat Feb 12, 2022 1:37 am
eac3to can remux a TrueHD stream into a THD+AC3 stream, but has to encode a new AC3 stream to do it. It doesn't support remuxing an existing AC3 stream.
FYI thdmerge.exe can interleave a THD track and an (existing) AC3 track into THD+AC3. The author of DGDemux added it to the package. You'll find this it in RESET_9999's tool folder.
MuffinMcFluffin wrote:
Wed Nov 09, 2022 9:17 pm
I muxed the original AC3 track with the THD+AC3 track.
If you haven't done yet, maybe you want to try interleaving your native THD and AC3 audio with thdmerge.

As for volume difference, maybe eac3to doesn't include AC3 dialog normalisation metadata during THD --> AC3 recode. OTOH possibly dialog normalisation may have gone lost already during remux of your source.

Note that tsMuxer is able to mux "TrueHD only" nowadays. How your player will behave on it is a whole different matter of course. I can imagine certain BD players absolutely refusing to play. Just sayin'.
mad83
Posts: 7
Joined: Tue Oct 26, 2021 12:35 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mad83 »

@RESET_9999,

i have full tv show season which requires conversion from MKV to mp4 plus adding my local launguage audio with subtitles, is there any option to automate this in a loop?

Could i passthrough some variables to DoVi_Scripts.bat? or maybe there is something better.

Could you please advicce?
docnoir
Posts: 2
Joined: Thu Aug 18, 2022 2:41 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by docnoir »

can someone share the most updated dovi devices playback spreadsheet? thank you
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

DonaldFaQ wrote:
Mon Oct 31, 2022 1:59 pm
FEL playback works only with 2 players, the OPPO and his Clone. And FEL will be only triggered if the Source is an ISO file or in the m2ts container.
There is no chance fpr playback FEL within mkv or mp4 container.
You're wrong, the Chromecast with Google TV 4K, TiVo Stream 4K and the Ugoos AM6B Plus supports FEL playback.
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

docnoir wrote:
Fri Nov 11, 2022 11:18 am
can someone share the most updated dovi devices playback spreadsheet? thank you
Just find the latest post from Reset_9999. The link is in his signature.
More reasons to collect physical media. Ugoos AM6B+.
mad83
Posts: 7
Joined: Tue Oct 26, 2021 12:35 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mad83 »

Hi @RESET_9999,

I have DV 4K profile 5 mkv with top and bottom black bars. I would like to compress it with resolution change to 1080p with DV.
What should i do with extracted RPU before and after re-encodes ?
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

Interesting post. I have no experience with DV @ 1080p.
I would like to know how downscaling a DV P5 baselayer can be achieved in the first place. Given Dolby proprietary IPTPQc2 color space that's used by P5, I can imagine issues rising.
As an educated guess concerning RPU, if the letterbox bars are kept during re-encode, you'd have to adjust top & bottom L5 values to the actual amount of vertical pixels that the bars occupy in the re-encoded 1080p video.
Should you crop the black bars out before re-encoding, the values have to be set to zero.
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

6EAB21D8-4D75-4EF9-90BF-976710A40754.jpeg
6EAB21D8-4D75-4EF9-90BF-976710A40754.jpeg (230.11 KiB) Viewed 16729 times
BC12DF3D-475C-4CAF-AEDA-D81FFE1108C7.jpeg
BC12DF3D-475C-4CAF-AEDA-D81FFE1108C7.jpeg (297.99 KiB) Viewed 16729 times
For those using resolve 18.1 update can now decode profile 5 clips on the time line.
https://professionalsupport.dolby.com/s ... ntent_type
L11 metadata specs
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

Hi guys, I read something about the new Apple TV 2022 outputs HDR10+ for DV content streaming on Samsung TV (S95B).
Does anyone know if it converts DV->HDR10+ on the fly or they just provide HDR10+ source?
Test file:
https://drive.google.com/drive/folders/ ... Ps8NfU53Ee
uhdiznotenough4mee
Posts: 17
Joined: Mon Aug 30, 2021 9:34 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by uhdiznotenough4mee »

sw5163 wrote:
Wed Nov 16, 2022 5:03 pm
Hi guys, I read something about the new Apple TV 2022 outputs HDR10+ for DV content streaming on Samsung TV (S95B).
Does anyone know if it converts DV->HDR10+ on the fly or they just provide HDR10+ source?
Test file:
https://drive.google.com/drive/folders/ ... Ps8NfU53Ee
https://www.whathifi.com/news/hdr10-sup ... ple-tv-app
dcoke22
Posts: 4359
Joined: Wed Jul 22, 2020 11:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by dcoke22 »

I don't think that What Hifi? article really answers the OP's question. Yes, the 2022 AppleTV 4K supports HDR10+. Will it convert Dolby Vision to HDR10+ on the fly? I think that's unlikely, although I have not read an answer to that question.
uhdiznotenough4mee
Posts: 17
Joined: Mon Aug 30, 2021 9:34 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by uhdiznotenough4mee »

dcoke22 wrote:
Wed Nov 16, 2022 9:01 pm
I don't think that What Hifi? article really answers the OP's question. Yes, the 2022 AppleTV 4K supports HDR10+. Will it convert Dolby Vision to HDR10+ on the fly? I think that's unlikely, although I have not read an answer to that question.
Why would it need to convert anything when you can have both HDR10+ and DoVi in one HEVC streamed file and the right one is chosen for you device accordingly?
Last edited by uhdiznotenough4mee on Wed Nov 16, 2022 11:37 pm, edited 1 time in total.
ArArdin
Posts: 196
Joined: Fri Nov 20, 2020 1:40 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ArArdin »

uhdiznotenough4mee wrote:
Wed Nov 16, 2022 10:29 pm
Why would it need to convert anything when you can have both HDR10+ and DoVi in one HEVC streamed file and the reight one is chosen for you device accordingly?
Well, as a first and most basal of thoughts, maybe because then you don't have to convert the file yourself?
bobbymkV
Posts: 71
Joined: Fri Jun 19, 2020 4:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bobbymkV »

sw5163 wrote:
Wed Nov 16, 2022 5:03 pm
Hi guys, I read something about the new Apple TV 2022 outputs HDR10+ for DV content streaming on Samsung TV (S95B).
Does anyone know if it converts DV->HDR10+ on the fly or they just provide HDR10+ source?
Test file:
https://drive.google.com/drive/folders/ ... Ps8NfU53Ee
HDR10+ source is the correct answer.

Code: Select all

General
Unique ID                                : 66233975591032682789646524526102530206 (0x31D4331F0EDCB2A1BED79B2B025F489E)
Complete name                            : Circuit.Breakers.S01E07.No.Place.LIke.Home.2160p.ATVP.WEB-DL.DDP5.1.Atmos.HDR10+.H.265-SMURF.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 5.38 GiB
Duration                                 : 31 min 8 s
Overall bit rate                         : 24.7 Mb/s
Writing application                      : mkvmerge v71.1.0 ('Fortitude') 64-bit
Writing library                          : libebml v1.4.4 + libmatroska v1.7.1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible

Code: Select all

General
Unique ID                                : 234858304283524647418137905566376502389 (0xB0B01068409B4803F858B4D8C413A475)
Complete name                            : Circuit.Breakers.S01E01.Test.Subject.13.2160p.ATVP.WEB-DL.DDP5.1.Atmos.HDR.H.265-FLUX.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 4.04 GiB
Duration                                 : 23 min 20 s
Overall bit rate                         : 24.8 Mb/s
Writing application                      : mkvmerge v71.1.0 ('Fortitude') 64-bit
Writing library                          : libebml v1.4.4 + libmatroska v1.7.1

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Post Reply