Dolby Vision now possible through MP4 Mux.
-
stevenugent83
- Posts: 4
- Joined: Sun Dec 26, 2021 9:45 pm
Re: Dolby Vision now possible through MP4 Mux.
I wonder if anyone can help,
I have an LG CX, I have tried following several of the steps on here to get a film with DV to play on my ttv but every single time I just get HDR 10 instead.
Tried (movies were gemini man and 1917)
1) Rip to MKV with MakeMKV
2) eac3to titlename.mkv 2: titlename.thd+ac3
Note: titlename should be replaced with the actual name of the MKV
3) Add the MKV and the thd+ac3 track to TSMuxer
4) Remux to TS
Media info shows dolby vision, only audio is ac3, yet only plays in HDR10.
Tried again using this guide.
"1. Make ISO of movie. I have only tested this with Black Panther since that's the only one I own. I will be buying Gladiator this weekend to test out though.
2. Use TS Muxer to open the ISO. Find the correct M2TS file and demux the following files:
A. HEVC1 in 4K (Base layer)
B. HEVC 2 in 1080p (this is the dolby vision enhancement layer)
C. Audio track which you will have to convert to AC3. This is a hard line limitation- you need to use AC3!!!"
Exactly the same, media info shows dolby vision is present in the file, but I only get HDR10 playing.
I have other movie files I downloaded that play dolby vision just fine in mp4, so it's obviously something i'm doing wrong.
I have an LG CX, I have tried following several of the steps on here to get a film with DV to play on my ttv but every single time I just get HDR 10 instead.
Tried (movies were gemini man and 1917)
1) Rip to MKV with MakeMKV
2) eac3to titlename.mkv 2: titlename.thd+ac3
Note: titlename should be replaced with the actual name of the MKV
3) Add the MKV and the thd+ac3 track to TSMuxer
4) Remux to TS
Media info shows dolby vision, only audio is ac3, yet only plays in HDR10.
Tried again using this guide.
"1. Make ISO of movie. I have only tested this with Black Panther since that's the only one I own. I will be buying Gladiator this weekend to test out though.
2. Use TS Muxer to open the ISO. Find the correct M2TS file and demux the following files:
A. HEVC1 in 4K (Base layer)
B. HEVC 2 in 1080p (this is the dolby vision enhancement layer)
C. Audio track which you will have to convert to AC3. This is a hard line limitation- you need to use AC3!!!"
Exactly the same, media info shows dolby vision is present in the file, but I only get HDR10 playing.
I have other movie files I downloaded that play dolby vision just fine in mp4, so it's obviously something i'm doing wrong.
-
ArArdin
- Posts: 196
- Joined: Fri Nov 20, 2020 1:40 pm
Re: Dolby Vision now possible through MP4 Mux.
Where does decoding HEVC Main12 take place with Dolby Vision? I had the impression that the player decodes two 10 bit HEVC streams and its compiler would create 12 bit YCbCr from the results. Please correct me if I'm wrong.RonRicoSuave wrote: Sat Dec 25, 2021 8:24 pmSimilarly most current panels can accept 12bpc 4:4:4 or 4:2:2 over HDMI but as of yet there aren't any hardware decoders that can handle any form of HEVC Main12 that I'm aware of...
Or I must be unaware of a DV format with a HEVC 12 bit baselayer.
-
Buzzie
- Posts: 18
- Joined: Tue Oct 20, 2020 8:01 am
Re: Dolby Vision now possible through MP4 Mux.
Ok Guys,
Please help me out here coz this is driving me nuts.
I am trying to add DV metadata from WEB-DL sources to UHD sources.
I keep getting warning about mismatch lengths.
I have a WEB-DL DV source and a UHD HDR source
What i did are the following steps:
For the WEB-DL file :
c:\Dolby-Vision-Tools\ffmpeg\bin\ffmpeg -y -i z:\temp\DV_WEB-DL.mp4 -an -c:v copy -vbsf hevc_mp4toannexb -f hevc c:\temp\DV_MP4.hevc
For the UHD file :
c:\Dolby-Vision-Tools\ffmpeg\bin\ffmpeg -i "path_to_UHD.mkv" -c:v copy c:\temp\hdr10.hevc
Next Step :
c:\Dolby-Vision-Tools\dovi_tool.exe -m 3 extract-rpu c:\temp\DV_MP4.hevc
After that command i opened up both HEVC files in StaXrip and found in the video comparison an identical frame.
The DV had the particular frame at 3865 and the UHD at 3889
Meaning the UHD frame is higher then the DV so i have to duplicate the frames
This is my json:
{
"duplicate": [
{
"source": 0,
"offset": 0,
"length": 23
}
]
}
After that i did the following command :
c:\Dolby-Vision-Tools\dovi_tool.exe editor -i c:\temp\RPU.bin -j c:\temp\edited.json --rpu-out c:\temp\RPU-edited.bin
Followed by :
c:\Dolby-Vision-Tools\dovi_tool.exe inject-rpu -i c:\temp\HDR10.hevc --rpu-in c:\temp\RPU-edited.bin
I keep getting the following :
Parsing RPU file...
Processing input video for frame order info...
Warning: mismatched lengths. video 201492, RPU 201451
Metadata will be duplicated at the end to match video length
Any ideas what i am doing wrong ?
Thanks in advance
Please help me out here coz this is driving me nuts.
I am trying to add DV metadata from WEB-DL sources to UHD sources.
I keep getting warning about mismatch lengths.
I have a WEB-DL DV source and a UHD HDR source
What i did are the following steps:
For the WEB-DL file :
c:\Dolby-Vision-Tools\ffmpeg\bin\ffmpeg -y -i z:\temp\DV_WEB-DL.mp4 -an -c:v copy -vbsf hevc_mp4toannexb -f hevc c:\temp\DV_MP4.hevc
For the UHD file :
c:\Dolby-Vision-Tools\ffmpeg\bin\ffmpeg -i "path_to_UHD.mkv" -c:v copy c:\temp\hdr10.hevc
Next Step :
c:\Dolby-Vision-Tools\dovi_tool.exe -m 3 extract-rpu c:\temp\DV_MP4.hevc
After that command i opened up both HEVC files in StaXrip and found in the video comparison an identical frame.
The DV had the particular frame at 3865 and the UHD at 3889
Meaning the UHD frame is higher then the DV so i have to duplicate the frames
This is my json:
{
"duplicate": [
{
"source": 0,
"offset": 0,
"length": 23
}
]
}
After that i did the following command :
c:\Dolby-Vision-Tools\dovi_tool.exe editor -i c:\temp\RPU.bin -j c:\temp\edited.json --rpu-out c:\temp\RPU-edited.bin
Followed by :
c:\Dolby-Vision-Tools\dovi_tool.exe inject-rpu -i c:\temp\HDR10.hevc --rpu-in c:\temp\RPU-edited.bin
I keep getting the following :
Parsing RPU file...
Processing input video for frame order info...
Warning: mismatched lengths. video 201492, RPU 201451
Metadata will be duplicated at the end to match video length
Any ideas what i am doing wrong ?
Thanks in advance
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Convert to profile 8 for playback on LG (CX +) oled TVs and then use TSmuxer or the MP4muxer. And If the first audio is TrueHD or DTSHD or DTS, DV won't work, so keep the first audio in AC3 or EC3 (or select it in plex before playback). PGS subtitles will fail to play DV TS as well but external SRT works (internal srt in mp4 works too).
viewtopic.php?f=12&t=18602&start=2970#p96282
As long as the video and the rpu start at the same frame, you can ignore the mismatch at the end(will be the case for almost all the movies).Buzzie wrote: Wed Dec 29, 2021 3:12 pm Ok Guys,
Please help me out here coz this is driving me nuts.
-
Buzzie
- Posts: 18
- Joined: Tue Oct 20, 2020 8:01 am
Re: Dolby Vision now possible through MP4 Mux.
Thanks....but the particular scene is not at the same frame:RESET_9999 wrote: Wed Dec 29, 2021 3:22 pmAs long as the video and the rpu start at the same frame, you can ignore the mismatch at the end(will be the case for almost all the movies).Buzzie wrote: Wed Dec 29, 2021 3:12 pm Ok Guys,
Please help me out here coz this is driving me nuts.
The DV had the particular frame at 3865 and the UHD at 3889
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yea, that's what your json fixed, so what remains is a mismatch at the end which you can ignoreBuzzie wrote: Wed Dec 29, 2021 3:31 pm Thanks....but the particular scene is not at the same frame:
The DV had the particular frame at 3865 and the UHD at 3889
Code: Select all
{
"duplicate": [
{
"source": 0,
"offset": 0,
"length": 24
}
]
}
Last edited by RESET_9999 on Wed Dec 29, 2021 10:20 pm, edited 1 time in total.
-
Buzzie
- Posts: 18
- Joined: Tue Oct 20, 2020 8:01 am
Re: Dolby Vision now possible through MP4 Mux.
ok thanks !!RESET_9999 wrote: Wed Dec 29, 2021 3:33 pmyea, that's what your json fixed, so what remains is a mismatch at the end which you can ignoreBuzzie wrote: Wed Dec 29, 2021 3:31 pm Thanks....but the particular scene is not at the same frame:
The DV had the particular frame at 3865 and the UHD at 3889
Code: Select all
{ "duplicate": [ { "source": 0, "offset": 0, "length": 23 } ] }
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
@all
I was testing some hdr10 patterns converted to DV and look what happen on the Shield/X700/C8 with this P8 pattern : https://slow.pics/c/tnFWN04T (there's definitely something wrong with P8/P7 DV on the shield)
Re-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC
I was testing some hdr10 patterns converted to DV and look what happen on the Shield/X700/C8 with this P8 pattern : https://slow.pics/c/tnFWN04T (there's definitely something wrong with P8/P7 DV on the shield)
Re-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC
-
staknhalo
- Posts: 178
- Joined: Sun Oct 11, 2020 12:05 am
Re: Dolby Vision now possible through MP4 Mux.
Thanks for this - just going over the names - seems there's a p5 with incorrect/misaligned RPU or something so we can test DV RPU working on p5 only setups, was gonna ask for this eventuallyRESET_9999 wrote: Wed Dec 29, 2021 4:17 pmRe-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yep, some with hlg base layer as wellstaknhalo wrote: Wed Dec 29, 2021 4:41 pmseems there's a p5 with incorrect/misaligned RPU or something so we can test DV RPU working on p5 only setups, was gonna ask for this eventuallyRESET_9999 wrote: Wed Dec 29, 2021 4:17 pmRe-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC![]()
-
quietvoid
- Posts: 377
- Joined: Sun Apr 19, 2020 4:15 pm
Re: Dolby Vision now possible through MP4 Mux.
Pattern looks decent on my firestick, though I can barely see the flashing blocks in the top PQ tracking.RESET_9999 wrote: Wed Dec 29, 2021 4:17 pm @all
I was testing some hdr10 patterns converted to DV and look what happen on the Shield/X700/C8 with this P8 pattern : https://slow.pics/c/tnFWN04T (there's definitely something wrong with P8/P7 DV on the shield)
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
good to know.
If the other devices don't have issues as well(which I expect), the pattern may be exposing the famous Shield color issues and Nvidia could finally be able to fix it.
If the other devices don't have issues as well(which I expect), the pattern may be exposing the famous Shield color issues and Nvidia could finally be able to fix it.
-
stevenugent83
- Posts: 4
- Joined: Sun Dec 26, 2021 9:45 pm
Re: Dolby Vision now possible through MP4 Mux.
RESET_9999 wrote: Wed Dec 29, 2021 3:22 pmConvert to profile 8 for playback on LG (CX +) oled TVs and then use TSmuxer or the MP4muxer. And If the first audio is TrueHD or DTSHD or DTS, DV won't work, so keep the first audio in AC3 or EC3 (or select it in plex before playback). PGS subtitles will fail to play DV TS as well but external SRT works (internal srt in mp4 works too).
viewtopic.php?f=12&t=18602&start=2970#p96282
Cheers, converting now. fingers crossed.
-
NiCE77
- Posts: 86
- Joined: Sat Mar 28, 2020 7:49 am
Re: Dolby Vision now possible through MP4 Mux.
Thanks for the test files!RESET_9999 wrote: Wed Dec 29, 2021 4:17 pm @all
I was testing some hdr10 patterns converted to DV and look what happen on the Shield/X700/C8 with this P8 pattern : https://slow.pics/c/tnFWN04T (there's definitely something wrong with P8/P7 DV on the shield)
Re-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC
Can you make a P8 RPU test file with HLG base layer like iPhone recordings?
Allegedly, the latest version of Infuse handles these DV files natively and I want to test this to see if the RPU is actually used by the Apple TV 4K.
-
staknhalo
- Posts: 178
- Joined: Sun Oct 11, 2020 12:05 am
Re: Dolby Vision now possible through MP4 Mux.
he has p8 hlg files in thereNiCE77 wrote: Thu Dec 30, 2021 3:45 pmThanks for the test files!RESET_9999 wrote: Wed Dec 29, 2021 4:17 pm @all
I was testing some hdr10 patterns converted to DV and look what happen on the Shield/X700/C8 with this P8 pattern : https://slow.pics/c/tnFWN04T (there's definitely something wrong with P8/P7 DV on the shield)
Re-did the FEL test files as well, hopefully, they work better on different devices...
https://drive.google.com/drive/u/1/fold ... V0E3VVkhiC
Can you make a P8 RPU test file with HLG base layer like iPhone recordings?
Allegedly, the latest version of Infuse handles these DV files natively and I want to test this to see if the RPU is actually used by the Apple TV 4K.