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 »

mimi8384 wrote:
Fri Feb 04, 2022 2:06 pm
RESET_9999 can you link me the files that i can test to see if dolby vision is correctly displayed?
the link is in my signature.
mimi8384 wrote:
Fri Feb 04, 2022 2:06 pm
Ah, another question how i can convert a DTS audio bluray traks to AC3 5.1 ( or best ) , because my sound bar ( SONOS ARC ) not support DTS .
I recommend converting to DD+ 1536kbps with ffmpeg:

Code: Select all

ffmpeg.exe -i input.mkv -map 0:1 -c:a eac3 -b:a 1536k -c:s copy output.mkv
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
mimi8384
Posts: 3
Joined: Fri Feb 04, 2022 1:56 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mimi8384 »

RESET_9999 wrote:
Fri Feb 04, 2022 3:05 pm
mimi8384 wrote:
Fri Feb 04, 2022 2:06 pm
RESET_9999 can you link me the files that i can test to see if dolby vision is correctly displayed?
the link is in my signature.
mimi8384 wrote:
Fri Feb 04, 2022 2:06 pm
Ah, another question how i can convert a DTS audio bluray traks to AC3 5.1 ( or best ) , because my sound bar ( SONOS ARC ) not support DTS .
I recommend converting to DD+ 1536kbps with ffmpeg:

Code: Select all

ffmpeg.exe -i input.mkv -map 0:1 -c:a eac3 -b:a 1536k -c:s copy output.mkv
But i not have the mkv file.I can demux m2ts file from bluray to obtain DTS audio track with TS MUXER, and then?
mimi8384
Posts: 3
Joined: Fri Feb 04, 2022 1:56 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mimi8384 »

Tested “RPU-FEL Test DT DL p7” .mp4 and .ts, both show same images ( as your post ), but .mp4 stuck at 0,20” while .ts play entitely….so, DV work?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

mimi8384 wrote:
Fri Feb 04, 2022 4:06 pm
But i not have the mkv file.I can demux m2ts file from bluray to obtain DTS audio track with TS MUXER, and then?
just change the input extension to whatever your source is.

Code: Select all

ffmpeg.exe -i input.m2ts -map 0:1 -c:a eac3 -b:a 1536k -c:s copy output.mkv
-map 0:1 is the track this cmd will encode... If the bluray has dolby vision, it will be -map 0:2
0 being video 1
1 being video 2
2 being english audio
mimi8384 wrote:
Fri Feb 04, 2022 4:32 pm
Tested “RPU-FEL Test DT DL p7” .mp4 and .ts, both show same images ( as your post ), but .mp4 stuck at 0,20” while .ts play entitely….so, DV work?
You're supposed to see flashes if the rpu is used, and a video on top of the red image if fel is used...

see @staknhalo video: viewtopic.php?p=118382#p118382
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

mtotheb wrote:
Thu Feb 03, 2022 8:35 pm
- DTS (HD*) 5.1 & 7.1
— My Soundbar only shows “DTS Audio” for HD and compressed but by playing back the 5.1/7.1 HD Test files the channels are mapped correctly and it is highly likely passing through the right format using OMX.amlogic.audio.decoder.dtshd
You really just want the DTS-HD bitstream passed through, not decoded, right?

Seems likely that the Amlogic DTS-HD decoder takes DTS-HD input but only decodes the lossy DTS core.

That's how, e.g., Plex's DCA decoder works.

Otherwise they would need to be paying for a hardware decoder license.

But ultimately, you don't want it decoded by the stick, you want it passed through for the soundbar to decode.

Since your soundbar is reporting DTS, seems like the Amlogic is decoding and re-encoding to DTS at worst, or only the DTS core is getting pass through at best.

I assume you have this plugged into your LG B1 and it's passing audio to the soundbar via eARC? Does the B1 pass lossless audio from an HDMI input out via eARC?

On the Sony A80J/A90J, it supports lossless audio over eARC, but only when played back via internal apps. The Sony OLEDs won't take lossless audio from one HDMI port and pass it out through to the eARC HDMI input. TrueHD audio doesn't play at all and DTS-HD only passes through the DTS core or doesn't play, either. So that may be what's happening here if the B1 behaves the same way.
Last edited by nekno on Fri Feb 04, 2022 8:34 pm, edited 2 times in total.
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

Albano wrote:
Fri Feb 04, 2022 4:45 am
nekno wrote:
Mon Jan 31, 2022 1:07 am

OK, so you want to convert P5 to P8.1 but Apple is using an odd "max_display_mastering_luminance".
Please tell me the way convert P5 to P8 of this file.
This file have not info of Mastering display luminance, Maximum Content Light Level, Maximum Frame-Average Light Le
You can extract the values from the original RPU and see what it's using.

Or maybe quiet_void or RESET_9999 can confirm what happens if you specify 0 for MaxCLL and MaxFALL when editing the L6 data. Some of RESET_9999's tutorial videos show leaving those values at 0 when editing the L6 data with dovi_tool.

Code: Select all

dovi_tool extract-rpu video.hevc
dovi_tool info -i RPU.bin -f 0
That should show the MaxCLL and MaxFALL values already in use. Copy those to your L6.json file, and just set the min display luminance value to 50 and the max display luminance value to 1000 to correct those values.

Then you can follow the remaining steps to edit and inject the RPU from my earlier post.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yeah , I don't edit the L6 metadata when I go from p5 to p8. (unless the metadata is invalid like some of the iTunes web-dl)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Mattl0
Posts: 37
Joined: Mon Apr 26, 2021 6:57 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mattl0 »

nekno wrote:
Mon Jan 31, 2022 1:36 am
jayper wrote:
Sun Jan 30, 2022 7:53 pm
Is it possible to create BDMV folders or ISO files with Dolby Vision Profile 8 files and have them properly play back on a UHD Disc player, like an Oppo? Or is profile 8 not supported by the BD player spec?

I am asking, as I only have an Nvidia Shield, x700 and an Oppo 203 clone, and from what I have gathered, the Shield does not have accurate coloring for Profile 8 DV.
I don't know about the other players, but the X700 wouldn't play P8 in BDMV format in my testing. It locked up the player with a black screen.

The only DV profile supported by UHD BD is P7, with either FEL or MEL.

The best combo of DV P8 + lossless audio + subtitles + FF/RW support on the X700 is to use tsMuxer to create m2ts files.

I also asked about this a week or so back, and to use BDMV format, we'd need a legitimate EL with the same frame types in the same order as each frame in the BL in order to carry the RPU. P7 doesn't support BL+RPU, it needs BL+EL+RPU.

I haven't seen anyone successfully accomplish that yet.

quietvoid mentioned he might think about adding support for generating an MEL to dovi_tool, which would make P8 or P5 conversions to P7 possible.
That would be great!!
Albano
Posts: 29
Joined: Sat Jan 15, 2022 8:30 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Albano »

nekno wrote:
Fri Feb 04, 2022 8:28 pm

You can extract the values from the original RPU and see what it's using.

Or maybe quiet_void or RESET_9999 can confirm what happens if you specify 0 for MaxCLL and MaxFALL when editing the L6 data. Some of RESET_9999's tutorial videos show leaving those values at 0 when editing the L6 data with dovi_tool.

Code: Select all

dovi_tool extract-rpu video.hevc
dovi_tool info -i RPU.bin -f 0
That should show the MaxCLL and MaxFALL values already in use. Copy those to your L6.json file, and just set the min display luminance value to 50 and the max display luminance value to 1000 to correct those values.

Then you can follow the remaining steps to edit and inject the RPU from my earlier post.
This is RPU info of file.
I want to convert this RPU from P5 to P8.1

Image
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

So I read that for the x700 to play dolby vision m2ts without issues we need to remux it to bluray folder structure and put it in the root folder.

What about non dolby vision movies, i.e. hdr10 movies? Do we need to the same thing? What if the file is not m2ts but remuxed mkv, will the hdr10 and dolby atmos still work on the x700?
Last edited by deadchip12 on Sun Feb 06, 2022 10:38 am, edited 1 time in total.
mtotheb
Posts: 38
Joined: Wed Jan 27, 2021 12:18 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by mtotheb »

nekno wrote:
Fri Feb 04, 2022 8:11 pm
You really just want the DTS-HD bitstream passed through, not decoded, right?
Yes
nekno wrote:
Fri Feb 04, 2022 8:11 pm
Seems likely that the Amlogic DTS-HD decoder takes DTS-HD input but only decodes the lossy DTS core.

That's how, e.g., Plex's DCA decoder works.

Otherwise they would need to be paying for a hardware decoder license.
Which I think they do with this stick. DTS-HD branding/license info is all over the packaging and info material for this stick. Also the DTS-HD source I used didn’t have the lossy core which might explain why DTS:X doesn’t play/bitstream but DTS-HD MA does.
nekno wrote:
Fri Feb 04, 2022 8:11 pm

But ultimately, you don't want it decoded by the stick, you want it passed through for the soundbar to decode.

Since your soundbar is reporting DTS, seems like the Amlogic is decoding and re-encoding to DTS at worst, or only the DTS core is getting pass through at best.
With the sound settings set to Bitstream it seems to do the right passthrough when the edid supports it else it probably HW decodes that with any source that is “supported”. Not using Bitstream just reencodes everything to Dolby Digital.

I assume you have this plugged into your LG B1 and it's passing audio to the soundbar via eARC? Does the B1 pass lossless audio from an HDMI input out via eARC?

On the Sony A80J/A90J, it supports lossless audio over eARC, but only when played back via internal apps. The Sony OLEDs won't take lossless audio from one HDMI port and pass it out through to the eARC HDMI input. TrueHD audio doesn't play at all and DTS-HD only passes through the DTS core or doesn't play, either. So that may be what's happening here if the B1 behaves the same way.
I have the devices directly connected to the Soundbar bc I know the LG B1 doesn’t passthrough any DTS (so stupid but that’s a another discussion) over eArc.
Shield TV 2017 -> LG DSN10YG Soundbar with SPK8 Rears -> LG B1 OLED
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

deadchip12 wrote:
Sat Feb 05, 2022 1:28 pm
So I read that for the x700 to play dolby vision m2ts without issues we need to remux it to bluray folder structure and put it in the root folder.
If you want to play a DV P7 file that was originally ripped from a UHD BD, then yes, you want to remux back into BDMV format and put the folders at the root of a USB drive.

If you want to play a DV P8 file that was converted from P5 (streaming services) or P7 (UHD BD) then you want to remux the file into a single m2ts file and can place the file anywhere on a USB drive.

It's possible you can also remux DV P8 files into BDMV format in order to preserve chapters. I had this work a while back, but I haven't gotten it to work more recently. It just locks up the X700 with a black screen.

I did some testing as I was trying to figure out what the X700 supports. You can see that here.
deadchip12 wrote:
Sat Feb 05, 2022 1:28 pm
What about non dolby vision movies, i.e. hdr10 movies? Do we need to the same thing? What if the file is not m2ts but remuxed mkv, will the hdr10 and dolby atmos still work on the x700?
The X700 should play back HDR10 from an mkv file, but I don't think Dolby Atmos is supported. It has been a complaint registered with Sony for years and I don't believe they've done anything to add Atmos support for mkv.
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

Albano wrote:
Sat Feb 05, 2022 12:43 pm
This is RPU info of file.
I want to convert this RPU from P5 to P8.1

Image
Yeah, I expected to see values for MaxFALL and MaxCLL and some incorrect values for the max/min display luminance.

That RPU isn't showing it there, but perhaps dovi_tool fixed it on extraction.

Maybe now try just converting that RPU.bin file to P8 with "mode: 3" and see if it works when re-injected.
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

mtotheb wrote:
Sat Feb 05, 2022 2:07 pm
DTS-HD branding/license info is all over the packaging and info material for this stick. Also the DTS-HD source I used didn’t have the lossy core which might explain why DTS:X doesn’t play/bitstream but DTS-HD MA does.
Oh, nice. I missed that in the product info. It sounds like you've got it figured out and I'm not really helping. It's just odd that the soundbar would report DTS when DTS-HD is supported.

Maybe this has reached the limits of my knowledge of DTS-HD, but I thought all DTS-HD streams are formatted with a DTS lossy core and lossless extensions; that it's part of the file format. There's such a thing as DTS-HD without a DTS core?
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

nekno wrote:
Sun Feb 06, 2022 10:54 pm
deadchip12 wrote:
Sat Feb 05, 2022 1:28 pm
So I read that for the x700 to play dolby vision m2ts without issues we need to remux it to bluray folder structure and put it in the root folder.
If you want to play a DV P7 file that was originally ripped from a UHD BD, then yes, you want to remux back into BDMV format and put the folders at the root of a USB drive.

If you want to play a DV P8 file that was converted from P5 (streaming services) or P7 (UHD BD) then you want to remux the file into a single m2ts file and can place the file anywhere on a USB drive.

It's possible you can also remux DV P8 files into BDMV format in order to preserve chapters. I had this work a while back, but I haven't gotten it to work more recently. It just locks up the X700 with a black screen.

I did some testing as I was trying to figure out what the X700 supports. You can see that here.
deadchip12 wrote:
Sat Feb 05, 2022 1:28 pm
What about non dolby vision movies, i.e. hdr10 movies? Do we need to the same thing? What if the file is not m2ts but remuxed mkv, will the hdr10 and dolby atmos still work on the x700?
The X700 should play back HDR10 from an mkv file, but I don't think Dolby Atmos is supported. It has been a complaint registered with Sony for years and I don't believe they've done anything to add Atmos support for mkv.
Thanks for your reply. How do we know which one is DV P7 and which one is DV P8? As for mkv file, can't I just remux it to bmdv format and then the x700 will be able to play it with atmos?
Post Reply