Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

RESET_9999 wrote:
Sat Jan 06, 2024 3:45 pm
azreil24 wrote:
Sat Jan 06, 2024 3:38 pm
Wait wait wait, if I install Kodi through that method, I get DV MKV support on my C2 through the built-in player?
yep, finally!! :)
Can this tool also be used to enable the limited DTS support? I know there was an option to do so with a command line.
I'm not sure, I have to test this again but I think DTS and PGS subs are working (probably sent in pcm??)
TrueHD doesn't work and it breaks the app on my end. I have to restart the TV if I want Kodi to work again.
Does it break TrueHD support or something through this method or is a Kodi thing? As I don't remember having issues with Atmos tracks on my C2 or does it actually drop to the core track although it says it plays the Atmos track?
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

only on Kodi but I have more tests to do. In my initial test, playing a file with Truehd triggered DV but no sounds and the video froze at some point. Then any other file will freeze too unless you restart the TV.
You cannot even use the exit button in Kodi, it freezes the app(not the TV) but you can use the remote and go back to any other app.

This is using the Plex addon to access my library though, I haven't tried to access my PC directly without plex server, maybe it will behave differently.
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

RESET_9999 wrote:
Sat Jan 06, 2024 3:55 pm
only on Kodi but I have more tests to do. In my initial test, playing a file with Truehd triggered DV but no sounds and the video froze at some point. Then any other file will freeze too unless you restart the TV.
You cannot even use the exit button in Kodi, it freezes the app(not the TV) but you can use the remote and go back to any other app.

This is using the Plex addon to access my library though, I haven't tried to access my PC directly without plex server, maybe it will behave differently.
Got it. Will give it a go later today. Mine is not even rooted yet. Many thanks! :)
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yea, i tried again and DTSHD is working on my end (kodi set to best match). My AVR reports PCM multi-channels and plex EC3.
This is much better than plex where it fallback to HDR10 when input has DTS.

Image
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

RESET_9999 wrote:
Sat Jan 06, 2024 4:44 pm
yea, i tried again and DTSHD is working on my end (kodi set to best match). My AVR reports PCM multi-channels and plex EC3.
This is much better than plex where it fallback to HDR10 when input has DTS.

Image
Is this with the DTS enabling on the C2 mod?

Also, from the screenshot it seems it drops to EAC3, it does not play DTS.
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

azreil24 wrote:
Sat Jan 06, 2024 5:13 pm
Is this with the DTS enabling on the C2 mod?
whats the C2 mod???
I did not root my TV to enable DTS support if that is what you are referring to.
Also, from the screenshot it seems it drops to EAC3, it does not play DTS.
as I said, my AVR reports PCM multi-channels and plex EC3

But I suspect I'm only getting 2.0 channels PCM because the C2 doesn't support 5.1 pcm.

Code: Select all

  Audio Data Block:
    Linear PCM:
      Max channels: 2
      Supported sample rates (kHz): 192 96 48 44.1 32
      Supported sample sizes (bits): 24 20 16
    AC-3:
      Max channels: 6
      Supported sample rates (kHz): 48 44.1 32
      Maximum bit rate: 640 kb/s
    Enhanced AC-3 (DD+):
      Max channels: 8
      Supported sample rates (kHz): 48 44.1 32
      Supports Joint Object Coding
    MAT (MLP):
      Max channels: 8
      Supported sample rates (kHz): 48
      Supports Dolby TrueHD, object audio PCM and channel-based PCM
      Hash calculation not required for object audio PCM or channel-based PCM
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

ok, I did more tests...

My previous picture was reporting EC3 because PLEX was configured to play the EC3 track while kodi was playing the DTSHD track. So I removed the DDP+ track just to be sure and now plex reports DTSHD and my AVR PCM and it sounds like 5.1 audio.

But one problem, if I play any DD DD+ track in bitstreaming, then my AVR get stuck in that mode and DTSHD no longer play.(I have to restart the AVR). This might have to do with the ''best match'' vs ''optimized'' kodi audio settings. And the FFMPEG EAC3 1536kbps tracks stutter just like on my x800 :( 7.1 EAE encoded tracks are fine.

One more issue I think. Kodi also allows P7 ST rip to trigger DV but the RPU is ignored with my test file...
https://drive.google.com/file/d/1OyBr60 ... drive_link

Image
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

Hello, I stumbled upon issue, maybe someone here might be able to help me.

I want to convert 4K DV+HDR10 MKV into lower bitrate MP4 to play DV on my LG Plex.

Normally, when I only want to change the container from MKV to MP4 I just use

Code: Select all

ffmpeg.exe -i "source.mkv" -map 0 -c copy -c:s mov_text -strict unofficial "output.mp4" 
and all is nice and dandy. It triggers DV on my LG, but preservers the HDR10 metadata also, so all is OKay.

When I want to convert video stream I use:

Code: Select all

ffmpeg.exe -i "source.mkv" -map 0 -c copy -c:0 hevc_nvenc -cq 32 -preset p5 -c:s mov_text -strict unofficial "output.mp4" 
and it also copy all DV/HDR metadata, it even triggers Dolby Vision playback on TV (DV logo appears in the top right) but brightness is like in SD material. MediaInfoGUI claims all is okay. I lose HDR10+ but I do not care for that.

First is original MKV file:
Image
converted MP4:
Image

Any ideas whit it triggers DV but plays in low brightness?
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

RESET_9999 wrote:
Sat Jan 06, 2024 2:17 pm
ragico wrote:
Sat Jan 06, 2024 2:11 pm
How I know a movie RPU nits trough your scripts?
Workflow 2-3

Image
Very useful . I checked my almost 500 DV P8 movies and found that about 40% are Rpu 4000. Therefore I have created separate folders for them to be watched on the boxes mentioned earlier in this thread,
Thank you
susanstone2022
Posts: 31
Joined: Sat Feb 26, 2022 12:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by susanstone2022 »

RESET_9999 wrote:
Sat Jan 06, 2024 3:22 pm
Yes, if the content is within your display capabilities, DV doesn't have to tonemap/compress highlights/gamut.
But sometimes they do use the L2 trims to raise the brightness. The latest Mission Impossible flick is a good example.

Image
So if I do want DV, Apple TV is a better choice than other players?
L2 trims typically are 100nits, 600nits, 1000nits. Does DV actually use L2 trims at all for 2000nits TV (assuming it will use 1000nits)?
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

RESET_9999 wrote:
Sat Jan 06, 2024 5:51 pm
azreil24 wrote:
Sat Jan 06, 2024 5:13 pm
Is this with the DTS enabling on the C2 mod?
whats the C2 mod???
I did not root my TV to enable DTS support if that is what you are referring to.
Yes, this one https://github.com/RootMyTV/RootMyTV.gi ... 1347543431

I just installed Kodi in Developer Mode and DV works just fine... and I'm out of the return period for my Zidoo too... damn it! :lol:

LE: And it also plays DV with DTS tracks and PGS subs just fine... This was everything I wanted, albeit, not a big fan of the Kodi interface, but could've saved myself $200 also, spent on the Z9X Pro :mrgreen:
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

susanstone2022 wrote:
Sat Jan 06, 2024 9:07 pm
So if I do want DV, Apple TV is a better choice than other players?
L2 trims typically are 100nits, 600nits, 1000nits. Does DV actually use L2 trims at all for 2000nits TV (assuming it will use 1000nits)?
I'm not sure. When I force LLDV, they certainly don't work with a 1000nits edid + 1000 nits rpu but when I use the A95 1600nits TV-LED edid, they work but the image looks a bit strange.
Since the colorist can use the trims to raise brightness, it would make sense to always use them regardless of the display edid.

but yeah, the best you can do is to use a TV-LED device (atv shield or sony/oppo).
Last edited by RESET_9999 on Sat Jan 06, 2024 10:56 pm, edited 1 time in total.
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

Seems I rejoiced too soon. Having issues with audio sync, even with non-DTS audio. Any tips on that? I don't use an AVR currently, I use a stereo system through optical connection. No issues with other sources.
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

no idea...

But on my end(non-rooted), I tried a 5.1 dts-hd channel test file and it's definitely only pcm 2.0 channels :(
azreil24
Posts: 45
Joined: Mon Dec 14, 2020 3:28 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by azreil24 »

Enabled pass-through and seems the issue is fixed for non-DTS tracks.
Post Reply