Page 460 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 3:23 pm
by RESET_9999
quietvoid wrote: Sat Jul 16, 2022 7:29 pm The original post asked about HDR playback.

What you're talking about is the Windows app, which only outputs SDR.
That does dynamic tone mapping but no HDR output.
actually, if you turn HDR on in the windows display settings, you get HDR10 output with the RPU being used for the Windows app. Works with MP4 only.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 5:21 pm
by Manixx2020beyound
Monitor need to be seen as this
Monitor need to be seen as this
46246671-22CB-4053-B3AB-1F35A0450056.jpeg (1.91 MiB) Viewed 20765 times
RESET_9999 wrote: Sun Jul 17, 2022 3:20 pm
Manixx2020beyound wrote: Sun Jul 17, 2022 2:59 pm I use a dv tv as monitor & widows app this is the playback I get from windows app
This is probably as close to dv on a pc with mp4, pc is in hdr mode when dv kicks in.
https://drive.google.com/file/d/1bEHAjx ... p=drivesdk
you forgot to mention that you have to use the Vertex to trick windows into thinking you have a DV monitor. :)
True lol

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 7:36 pm
by sergonnn111
Hi guys how can i do dolby vision file for my LG OLED 2018 from mkv 8 profile hybrid dolby vision ?

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 8:33 pm
by sw5163
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm script is almost ready:
Thank you all for your guys' efforts! Excellent work!
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm I don't know, it plays fine in MPC and MPV.
I tried with another fake p5 mkv and indeed, the Movies and TV app can't play it.
Maybe mkvtoolnix did something wrong when remux fake p5 mkv?
I'm not familiar with mkvtoolnix.
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm FYI, @ragico tested, LPCM, DTSHD, and TrueHD in a dvh1 MP4 container and the ATV fails the play the audio.
So the best we can get is EAC3 1536kbps.
That is strange, Apple says it can play them.
The attachment 无标题.png is no longer available
TrueHD and DTS shouldn't work.
LPCM(7.1), flac(7.1), alac(6.1) all work fine on my iPad. But it would be impossible to tell if they are true loseless through the built-in speaker, lol.

I have some samples produced through my usually workflow. These could probably be the highest standards video on iOS devices for now. Feel free to test them:
https://drive.google.com/drive/folders/ ... sp=sharing

Those files are from Dolby demo disc "Core Universe". They are produced with the following command:
1. FLAC_7.1 (ffmpeg only encodes it in mp4)
ffmpeg -i 00003.m2ts -map 0:2 -c flac -strict -2 flac.mp4
2. ALAC_6.1 (ffmpeg only encodes 6.1)
ffmpeg -i 00003.m2ts -map 0:2 -c alac alac.mp4
3. PCM_7.1 (ffmpeg only encodes it in mov)
ffmpeg -i 00003.m2ts -map 0:2 -c pcm_s32le pcm.mov

And then muxed with BL_RPU.hevc by mp4box
mp4box -add BL_RPU.hevc -add audio.mp4 -new out.mp4

ALAC_6.1 sound channel is like this:
无标题.png
无标题.png (93.43 KiB) Viewed 20732 times
Also I would like to ask those pcm encoders in ffmpeg, cause there are so many of them.
pcm_(signed/unsigned/float)(16/32/64)bit(little-endian/big-endian), how can I know which is best to use?
I normally just use -c:a flac, it also saves some bandwidth.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 8:47 pm
by sw5163
RESET_9999 wrote: Sun Jul 17, 2022 3:23 pm actually, if you turn HDR on in the windows display settings, you get HDR10 output with the RPU being used for the Windows app. Works with MP4 only.
"with the RPU being used", like software decoding DV and lldv? or HDR10+? or just plain HDR10?
Samsung refuses to support DV.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 9:20 pm
by sw5163
RESET_9999 wrote: Sat Jul 16, 2022 4:22 pm
sw5163 wrote: Sat Jul 16, 2022 4:19 pm Do you have a file with a lot of cmv40 data?
According to saindriches, cmv4 seems to have a problem on Apple platform. I want to give it a test but I don't know what file is FEL with cmv40.
屏幕截图 2022-07-16 120548.png
you can check out the movie Hitman's Wife's Bodyguard. And I think you can remove cmv4.x with the dovi_tool
Update: This particular file seems fine to my eyes on SDR iPad. Hopefully apple can handle cmv4.x properly.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 9:39 pm
by staknhalo
sw5163 wrote: Sun Jul 17, 2022 8:47 pm
RESET_9999 wrote: Sun Jul 17, 2022 3:23 pm actually, if you turn HDR on in the windows display settings, you get HDR10 output with the RPU being used for the Windows app. Works with MP4 only.
"with the RPU being used", like software decoding DV and lldv? or HDR10+? or just plain HDR10?
Samsung refuses to support DV.
RPU effects are displayed in the Windows apps.

Has to be a Microsoft store app, not Win32 app and you need the Dolby Vision Extensions app from the store installed to make it work in store apps. Works with Microsoft Movies & TV app and new Media Player store app. Worked in the old Plex store app too but it's broken with collections introduction so not worth it IMO there for Plex. Has to be MP4 as stated.

It's how I verify any RPU misalignments myself when making the DV files on a Win10/11 computer for a while now.

Used to be able to watch too if you didn't care about pq inaccuracies but there's a bug lately on my end with Win 11 at least across reinstalls, DV file will cause video orientation to constantly switch upside down back again upside down again etc.

Playback/player probably tripping up parsing the Metadata, it's only on DV files it happens. Or they did something intentional to make you need more than we had so you go buy a licenced DV PC.

I just use my computer just to verify anyway like I said as my monitor has no local dimming so after 30 mins in HDR my eyes are bleeding anyway, oh well.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 9:46 pm
by RESET_9999
sw5163 wrote: Sun Jul 17, 2022 8:47 pm
RESET_9999 wrote: Sun Jul 17, 2022 3:23 pm actually, if you turn HDR on in the windows display settings, you get HDR10 output with the RPU being used for the Windows app. Works with MP4 only.
"with the RPU being used", like software decoding DV and lldv? or HDR10+? or just plain HDR10?
Samsung refuses to support DV.
it works just like LLDV but in HDR10 PQ with brightness ajdustments ...

see DV P8:
https://www.youtube.com/watch?v=lQFjyBm7ToA

HDR10 P8 Win 10 Movies&TV app:
https://www.youtube.com/watch?v=3m0M_Svn-xQ

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 10:22 pm
by sw5163
RESET_9999 wrote: Sun Jul 17, 2022 9:46 pm
sw5163 wrote: Sun Jul 17, 2022 8:47 pm
RESET_9999 wrote: Sun Jul 17, 2022 3:23 pm actually, if you turn HDR on in the windows display settings, you get HDR10 output with the RPU being used for the Windows app. Works with MP4 only.
"with the RPU being used", like software decoding DV and lldv? or HDR10+? or just plain HDR10?
Samsung refuses to support DV.
it works just like LLDV but in HDR10 PQ with brightness ajdustments ...
Let me get this straight.
In theory, we can have BL+RPU(MEL) played through Windows app on non DV support display (like Samsung QD-OLED) as LLDV.
And if we can adapt that DV extension as decoder, theoretically we are using software to decode DV and completely disregard DV licence certification?
This seems a little unreal to me.
staknhalo wrote: Sun Jul 17, 2022 9:39 pm if you didn't care about pq inaccuracies
I think that is what DV intends to do, not having exactly pq accuracy.
Basically no device is capable of 4000 or 10000 nit brightness or 100% Bt.2020
The RPU records how filmmaker would like the video to be shown on 100nitSDR/600nit/1000nit/10000nit display.
So it is supposed to not follow the base HDR10 pq curve.
This is my understanding, please point out my mistake if there is something wrong.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 10:35 pm
by RESET_9999
sw5163 wrote: Sun Jul 17, 2022 10:22 pm Let me get this straight.
In theory, we can have BL+RPU(MEL) played through Windows app on non DV support display (like Samsung QD-OLED) as LLDV.
And if we can adapt that DV extension as decoder, theoretically we are using software to decode DV and completely disregard DV licence certification?
This seems a little unreal to me.
yep but that's nothing new, my old Sony x700 has been able to do that since day 1, it even process FEL... It's part of the dolby capabilities.
Also, as @manix just showed, you don't need a DV-certified pc/monitor to get DV on windows. Just a DV TV, a vertex and an HDR10 capable pc.


sw5163 wrote: Sun Jul 17, 2022 10:22 pm I think that is what DV intends to do, not having exactly pq accuracy.
Basically no device is capable of 4000 or 10000 nit brightness or 100% Bt.2020
The RPU records how filmmaker would like the video to be shown on 100nitSDR/600nit/1000nit/10000nit display.
So it is supposed to not follow the base HDR10 pq curve.
This is my understanding, please point out my mistake if there is something wrong.
he's talking about the fact that the movies&TV app (windows HDR10) is not color accurate (regardless of DV). At least it wasn't the last time i checked(months ago). I should probably check that again.
i just dont really care about HDR10 anymore.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 10:55 pm
by sw5163
RESET_9999 wrote: Sun Jul 17, 2022 10:35 pm Also, as @manix just showed, you don't need a DV-certified pc/monitor to get DV on windows. Just a DV TV, a vertex and an HDR10 capable pc.
Does it have to be a DV tv? What will happen for something like Samsung QD-OLED directly connects to PC without vertex? Only plain HDR10?
RESET_9999 wrote: Sun Jul 17, 2022 10:35 pm he's talking about the fact that the movies&TV app (windows HDR10) is not color accurate (regardless of DV). At least it wasn't the last time i checked(months ago). I should probably check that again.
i just dont really care about HDR10 anymore.
Thank you so much for the clarification!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 10:59 pm
by RESET_9999
sw5163 wrote: Sun Jul 17, 2022 10:55 pm Does it have to be a DV tv? What will happen for something like Samsung QD-OLED directly connects to PC without vertex? Only plain HDR10?
works on any HDR10/SDR display. The pc just needs what @staknhalo listed.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Jul 17, 2022 11:02 pm
by staknhalo
sw5163 wrote: Sun Jul 17, 2022 10:55 pm
RESET_9999 wrote: Sun Jul 17, 2022 10:35 pm Also, as @manix just showed, you don't need a DV-certified pc/monitor to get DV on windows. Just a DV TV, a vertex and an HDR10 capable pc.
Does it have to be a DV tv? What will happen for something like Samsung QD-OLED directly connects to PC without vertex? Only plain HDR10?
RESET_9999 wrote: Sun Jul 17, 2022 10:35 pm he's talking about the fact that the movies&TV app (windows HDR10) is not color accurate (regardless of DV). At least it wasn't the last time i checked(months ago). I should probably check that again.
i just dont really care about HDR10 anymore.
Thank you so much for the clarification!
Information is sent out to display through hdr10 signal no DV display needed, works on p5 and p8 - think I tried the corrected p8.4 HLG quietvoid provided a little while back and it worked too but not at PC ATM can't 100% recall.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon Jul 18, 2022 12:08 am
by sw5163
Well, this is interesting. Thank you guys for explanation.
RESET_9999 wrote: Sun Jul 17, 2022 12:24 pm FYI, @ragico tested, LPCM, DTSHD, and TrueHD in a dvh1 MP4 container and the ATV fails the play the audio.
So the best we can get is EAC3 1536kbps.
It seems loseless + atmos is possible on Apple device as they did it in Apple Music.
I guess they use alac+atmos.
Is there a public way to convert trueHD/atmos to "loseless 7.1 PCM atmos" as Dolby MAT 2.0?
I would say the limitation for ATV is MEL + loseless 7.1 atmos.
We just don't know how to get the loseless atmos yet.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Mon Jul 18, 2022 12:45 am
by RESET_9999
sw5163 wrote: Mon Jul 18, 2022 12:08 am
It seems loseless + atmos is possible on Apple device as they did it in Apple Music.
I guess they use alac+atmos.
Is there a public way to convert trueHD/atmos to "loseless 7.1 PCM atmos" as Dolby MAT 2.0?
I would say the limitation for ATV is MEL + loseless 7.1 atmos.
We just don't know how to get the loseless atmos yet.
none that I know. I have the dolby encode engine and I still can't encode lossless atmos to lossyDDP atmos AFAIK.

I'll try your ffmpeg cmd and flac.
ffmpeg -i 00003.m2ts -map 0:2 -c pcm_s32le pcm.mov

i tried:
-map 0:AUDIO_STREAM_ID -c pcm_s24be -ar 48000 -rf64 auto \path\to\audio.mov
and
-map 0:AUDIO_STREAM_ID -c pcm_s24le -ar 48000 -rf64 auto \path\to\audio.mov