Page 391 of 756

Re: Dolby Vision now possible through MP4 Mux.

Posted: Sun Dec 26, 2021 10:15 pm
by stevenugent83
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Tue Dec 28, 2021 4:32 pm
by ArArdin
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...
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.
Or I must be unaware of a DV format with a HEVC 12 bit baselayer.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 3:12 pm
by Buzzie
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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 3:22 pm
by RESET_9999
stevenugent83 wrote: Sun Dec 26, 2021 10:15 pm I wonder if anyone can help,
I have an LG CX,
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
Buzzie wrote: Wed Dec 29, 2021 3:12 pm Ok Guys,
Please help me out here coz this is driving me nuts.
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).

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 3:31 pm
by Buzzie
RESET_9999 wrote: Wed Dec 29, 2021 3:22 pm
Buzzie wrote: Wed Dec 29, 2021 3:12 pm Ok Guys,
Please help me out here coz this is driving me nuts.
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).
Thanks....but the particular scene is not at the same frame:
The DV had the particular frame at 3865 and the UHD at 3889

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 3:33 pm
by RESET_9999
Buzzie 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
yea, that's what your json fixed, so what remains is a mismatch at the end which you can ignore

Code: Select all

{
	"duplicate": [
		{
			"source": 0,
			"offset": 0,
			"length": 24
		}
	]
}

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 3:35 pm
by Buzzie
RESET_9999 wrote: Wed Dec 29, 2021 3:33 pm
Buzzie 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
yea, that's what your json fixed, so what remains is a mismatch at the end which you can ignore

Code: Select all

{
	"duplicate": [
		{
			"source": 0,
			"offset": 0,
			"length": 23
		}
	]
}
ok thanks !!

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 4:17 pm
by RESET_9999
@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

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 4:41 pm
by staknhalo
RESET_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
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 eventually 8)

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 4:44 pm
by RESET_9999
staknhalo wrote: Wed Dec 29, 2021 4:41 pm
RESET_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
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 eventually 8)
yep, some with hlg base layer as well

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 7:16 pm
by quietvoid
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)
Pattern looks decent on my firestick, though I can barely see the flashing blocks in the top PQ tracking.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 8:42 pm
by RESET_9999
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Wed Dec 29, 2021 10:03 pm
by stevenugent83
RESET_9999 wrote: Wed Dec 29, 2021 3:22 pm
stevenugent83 wrote: Sun Dec 26, 2021 10:15 pm I wonder if anyone can help,
I have an LG CX,
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

Cheers, converting now. fingers crossed.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Thu Dec 30, 2021 3:45 pm
by NiCE77
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
Thanks for the test files!
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.

Re: Dolby Vision now possible through MP4 Mux.

Posted: Thu Dec 30, 2021 7:30 pm
by staknhalo
NiCE77 wrote: Thu Dec 30, 2021 3:45 pm
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
Thanks for the test files!
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.
he has p8 hlg files in there