Edit: found the answer on AVS forum.
Dolby Vision now possible through MP4 Mux.
-
Manixx2020beyound
- Posts: 127
- Joined: Thu Oct 08, 2020 5:19 pm
Re: Dolby Vision now possible through MP4 Mux.
RGB/DV/8b so that beak should be better than LLDVFubbAyH wrote: ↑Sat Aug 21, 2021 8:19 pmI noticed that x265 can do Dolby Vision encoding now, and I'm thinking about transcoding my DV UHDBD rips to profile 5 so that they're playable with DV on my beloved Apple TV. I used to think transcoding was sacrilege, but I've softened in my old age and am now thinking that if I throw enough CPU time and bitrate allowance at the encode then hopefully it will be indistinguishable from the source, and if it gives a better experience overall (for me) then it might be worth it.
Some questions:
1) Has anyone tried this, and if so do you have any advice?
2) I understand that I can extract the source RPU with dovi_tool, but since profile 5 uses a different color space to profile 7 I assume the RPU would need conversion before passing it to x265? Is that conversion a feature that I could add to dovi_tool using the information that we have available (e.g. the Dolby test files with the same content in profile 5 and profile 8.1)?
3) Do I still need to jump through some hoops to get the static HDR10 metadata and give that to x265, or does the DV RPU completely replace and obsolete that information?
4) Is there anything else I haven't thought of that makes transcoding to profile 5 infeasible or a bad idea?
Spares to p5
Still would need convert the p7 Rpu to p5
If that would ever be possible.
- Attachments
-
- F0E45BB3-2A6F-4978-B55C-3B0DEECB18C3.jpeg (523.87 KiB) Viewed 19495 times
-
- 5B05CDF8-28CB-4BCC-B054-AE4B25C243DB.jpeg (404.25 KiB) Viewed 19495 times
Re: Dolby Vision now possible through MP4 Mux.
Thank you. That's great news because Infuse is my preferred player too. I'm testing the 8.1 test files from Dolby and from Mystery Box, though, and they are both playing as HDR10 for me. I've set output to 4K SDR with Match Dynamic Range on as you suggested, but I get the HDR10 logo on my TV when playing the files rather than the DV logo. Do you have some sample files that are working for you that I could try?
Re: Dolby Vision now possible through MP4 Mux.
That's exactly how my setup is. My ATV is the fists Gen 4k version. It's strange since Apple does not officially support P8 or MEL P7. Not that I am unhappy, but it's Apple we are taking about lolRESET_9999 wrote: ↑Sun Aug 22, 2021 2:44 amIf the appletv is set to 4k SDR with Dynamic Range Match on and it triggers DV, i don't think it's fake DV. Could be easily tested with the files in this post:FubbAyH wrote: ↑Sun Aug 22, 2021 2:06 amPlex on Apple TV does some fakery unfortunately, so it isn't real profile 7 or profile 8 support. It switches the TV to DV mode, but is actually just playing the HDR10 version.
https://www.avsforum.com/threads/dune-p ... f.3188469/
Re: Dolby Vision now possible through MP4 Mux.
Use Plex instead. For some reason, Plex does support P7 MEL/P8, but it fails to play P5 correctly. Infuse is total opposite of it lolFubbAyH wrote: ↑Sun Aug 22, 2021 6:28 pmThank you. That's great news because Infuse is my preferred player too. I'm testing the 8.1 test files from Dolby and from Mystery Box, though, and they are both playing as HDR10 for me. I've set output to 4K SDR with Match Dynamic Range on as you suggested, but I get the HDR10 logo on my TV when playing the files rather than the DV logo. Do you have some sample files that are working for you that I could try?
Re: Dolby Vision now possible through MP4 Mux.
I have noticed weird color issues with online P5 files, mainly from HBO Max and Disney Plus. On Apple TV 4k 1st Gen with Infuse/Plex or my built-in TV apps using USB files, I have these green, purple, and sometimes red color issues. I have two Apple TV 4ks, tested on my Vizio and TCL. But Fire TV 4k Stick has been super stable and rock-solid, with no issues so far. I have had some problems with P5 DV titles in the MP4 container, mainly was related to freezing. I am assuming it has nothing to do with Fire TV itself. There is something wrong with MP4 encoding ( I am at least assuming ).
Re: Dolby Vision now possible through MP4 Mux.
Thank you very much for that link, those files are super useful. I just tested them out and the MKV plays in Plex and triggers the DV logo on the TV (yay!) but there are no dramatic brightness changes from 27 seconds as described in the post, so the RPU is being ignored and it is indeed fake DV (boo!) Playing the MP4 version puts the TV in HDR10 mode and the playback is extremely stuttery, so maybe it's trying to transcode on the fly.RESET_9999 wrote: ↑Sun Aug 22, 2021 2:44 amIf the appletv is set to 4k SDR with Dynamic Range Match on and it triggers DV, i don't think it's fake DV. Could be easily tested with the files in this post:FubbAyH wrote: ↑Sun Aug 22, 2021 2:06 amPlex on Apple TV does some fakery unfortunately, so it isn't real profile 7 or profile 8 support. It switches the TV to DV mode, but is actually just playing the HDR10 version.
https://www.avsforum.com/threads/dune-p ... f.3188469/
Re: Dolby Vision now possible through MP4 Mux.
Are not those files all FEL P7? We need P8 and P7 MEL to properly test to see if it's indeed fake DVFubbAyH wrote: ↑Sun Aug 22, 2021 7:23 pmThank you very much for that link, those files are super useful. I just tested them out and the MKV plays in Plex and triggers the DV logo on the TV (yay!) but there are no dramatic brightness changes from 27 seconds as described in the post, so the RPU is being ignored and it is indeed fake DV (boo!) Playing the MP4 version puts the TV in HDR10 mode and the playback is extremely stuttery, so maybe it's trying to transcode on the fly.RESET_9999 wrote: ↑Sun Aug 22, 2021 2:44 amIf the appletv is set to 4k SDR with Dynamic Range Match on and it triggers DV, i don't think it's fake DV. Could be easily tested with the files in this post:FubbAyH wrote: ↑Sun Aug 22, 2021 2:06 amPlex on Apple TV does some fakery unfortunately, so it isn't real profile 7 or profile 8 support. It switches the TV to DV mode, but is actually just playing the HDR10 version.
https://www.avsforum.com/threads/dune-p ... f.3188469/
Re: Dolby Vision now possible through MP4 Mux.
Good point. Yes, they are FEL P7.The Dolby 8.1 test file I tried played in Plex as HDR10 and with the extreme stutter. Do we know of any P7 MEL test files that have a very noticeable RPU for testing? Perhaps we could make one of those from the FEL test file using dovi_tool?
Re: Dolby Vision now possible through MP4 Mux.
Okay, I think I managed to make a MEL P7 version of the test file from AVS by demuxing, then using dovi_tool:
and then remuxing again. The file is 61% of the size of the original, so it looks like it worked.
The playback results are the same as the FEL P7. That is, in Plex it triggers DV mode on the TV, but RPU is ignored, so it still seems to be fake DV I'm afraid.
Code: Select all
dovi_tool.exe -m 1 convert --discard .\feltest.hevcThe playback results are the same as the FEL P7. That is, in Plex it triggers DV mode on the TV, but RPU is ignored, so it still seems to be fake DV I'm afraid.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
try the files here viewtopic.php?p=111083#p111083FubbAyH wrote: ↑Sun Aug 22, 2021 7:23 pmThank you very much for that link, those files are super useful. I just tested them out and the MKV plays in Plex and triggers the DV logo on the TV (yay!) but there are no dramatic brightness changes from 27 seconds as described in the post, so the RPU is being ignored and it is indeed fake DV (boo!) Playing the MP4 version puts the TV in HDR10 mode and the playback is extremely stuttery, so maybe it's trying to transcode on the fly.
Re: Dolby Vision now possible through MP4 Mux.
Thank you again!
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
what if you make it profile 5(not following dv specs) ? is there a brightness adjustment at the 3-4 sec mark? or on the samples from avs forum
I wouldn't be surprised if the appletv can actually only play true profile 5 with a full range color from streaming websites.
Last edited by RESET_9999 on Sun Aug 22, 2021 8:21 pm, edited 1 time in total.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
What do you mean by "make it profile 5"? By messing with the metadata/headers? Is there a tool to do that easily?RESET_9999 wrote: ↑Sun Aug 22, 2021 8:17 pmwhat if you make it profile 5(not following dv specs) ? is there a brightness adjustment at the 3-4 sec mark? or on the samples from avs forum
I suspect that's right, hence my idea to transcode my profile 7 rips to profile 5.RESET_9999 wrote: ↑Sun Aug 22, 2021 8:17 pmI wouldn't be surprised if the appletv can actually only play true profile 5 with a full range color from streaming websites.