Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Sun Aug 15, 2021 9:09 pm
Hey rpu master,

long shot.... could it be possible to modify the rpu and allow my x700/oppo to play cropped DV content properly (without the grey black bars)?

thank's

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Sat Aug 21, 2021 12:06 am
Hey rpu master,

long shot.... could it be possible to modify the rpu and allow my x700/oppo to play cropped DV content properly (without the grey black bars)?

thank's
I don't really understand, normally setting the active area offsets to 0 (with "crop": true) allows for cropped video playback.
A limit to the "lift" is not necessary.

I think this only mentions that it's an issue for uncropped video. Does your video have black bars?
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Sat Aug 21, 2021 2:36 am
Does your video have black bars?
No, some don't have black bars.
I was just looking for maybe a way to play the appleTV p5 web-dl (no black bars) on the x700/oppo without having the raised black bars. Sounds like bluray players just can't play properly cropped DV content.

going from p5 cropped webdl to p8 bluray remux with black bars works, if that's what you think I was talking about.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Sat Aug 21, 2021 3:21 am
I was just looking for maybe a way to play the appleTV p5 web-dl (no black bars) on the x700/oppo without having the raised black bars. Sounds like bluray players just can't play properly cropped DV content.
This is confusing me. How do you have raised black bars when the content has no black bars?
Is it not 16:9?

Though if it has no black bars encoded in the video, and the Dolby documentation says that L5 metadata is ignored, there isn't anything to be done..
Adding L5 metadata to a cropped video results in overcropping IIRC.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Sat Aug 21, 2021 3:33 am

there isn't anything to be done..
I see, thank you


Image

Code: Select all

Video

HDR format                               : Dolby Vision, Version 1.0, dvhe.05.06, BL+RPU
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 44 min 2 s
Bit rate                                 : 24.4 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 920 pixels
Display aspect ratio                     : 2.000
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

I 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?
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

AFAIK, it's not possible to encode from profile 7 to 5 yet but you can encode to profile 8. I think I read some weeks ago in this thread that the appleTV now supports this profile ?

Code: Select all

x265.exe --crf 14 --preset slower --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-luma 1023 --max-cll "0,0" --hdr10-opt --dolby-vision-profile 8.1 --dolby-vision-rpu D:\p8.rpu.bin --repeat-headers --hrd --aud --deblock -3:-3 --no-sao  --chromaloc 2  --aq-mode 1

***of course, you adjust the hdr10 static metadata according to your source.
Last edited by RESET_9999 on Sun Aug 22, 2021 1:49 am, edited 1 time in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Sat Aug 21, 2021 3:07 pm
I see, thank you
That's really weird. Never seen that with the Firestick nor internal player when playing cropped video, so it might be a bug with the UHD BD players...
They're not really meant to be playing anything but discs after all.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Sat Aug 21, 2021 10:20 pm
That's really weird. Never seen that with the Firestick nor internal player when playing cropped video, so it might be a bug with the UHD BD players...
They're not really meant to be playing anything but discs after all.
yes, as the documentation says, bluray players expect black bars for the subtitles.

there's the Netflix app but all content is 16:9.
Amazon prime crop all its content. I know Jack Ryan season 01 was DV at some point but this show is fullscreen. I don't know if there is other DV content there but If they were to stream more in DV, I think that would be a problem for the x700.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

RESET_9999 wrote:
Sat Aug 21, 2021 9:26 pm
AFAIK, it's not possible to encode to from profile 7 to 5 yet but you can encode to profile 8. I think I read some weeks ago in this thread that the appleTV now supports this profile ?
Ah, thank you. I did a bit of Googling about profile 8.1 on Apple TV and couldn't find anything. I tried the Dolby profile 8.1 sample video playing through Infuse on Apple TV 4K and it plays as HDR10 for me. I know it's not possible to losslessly convert profile 7 to 5 because of the different color spaces, but I'm hoping that re-encoding the whole video stream would work?
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sun Aug 22, 2021 12:40 am
Ah, thank you. I did a bit of Googling about profile 8.1 on Apple TV and couldn't find anything. I tried the Dolby profile 8.1 sample video playing through Infuse on Apple TV 4K and it plays as HDR10 for me. I know it's not possible to losslessly convert profile 7 to 5 because of the different color spaces, but I'm hoping that re-encoding the whole video stream would work?
viewtopic.php?p=110931#p110931
mulucy wrote:
Thu Jul 22, 2021 11:54 pm
I am not sure what the deal is. But my Apple TV 4K ( the previous Gen ) plays P7 MEL and P8 with Plex. What's interesting is, Plex plays P5 files with messed-up green or purple colors lol. Infuse Pro falls back to HDR10 with all profiles, but P5. Anybody knows what's happening, is it Plex magic or has Apple added more support via software update?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
FubbAyH
Posts: 55
Joined: Wed Jan 02, 2019 7:06 am

Re: Dolby Vision now possible through MP4 Mux.

Post by FubbAyH »

RESET_9999 wrote:
Sun Aug 22, 2021 1:46 am
mulucy wrote: ↑Thu Jul 22, 2021 11:54 pm
I am not sure what the deal is. But my Apple TV 4K ( the previous Gen ) plays P7 MEL and P8 with Plex. What's interesting is, Plex plays P5 files with messed-up green or purple colors lol. Infuse Pro falls back to HDR10 with all profiles, but P5. Anybody knows what's happening, is it Plex magic or has Apple added more support via software update?
Plex 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.
RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

FubbAyH wrote:
Sun Aug 22, 2021 2:06 am
Plex 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.
If 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:

https://www.avsforum.com/threads/dune-p ... f.3188469/
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by glc650 »

RESET_9999 wrote:
Sun Aug 22, 2021 2:44 am
If 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:

https://www.avsforum.com/threads/dune-p ... f.3188469/
That's exactly how I have my gen2 Apple TV 4K setup and my HDFury confirms that Infuse plays DV (P8 & 5) back correctly.
FubbAyH wrote:
Sun Aug 22, 2021 2:06 am
Plex 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.
I don't use Plex but if Infuse works as expected and Plex doesn't then I'd have to assume the issue is Plex (or possibly not having 4K SDR with match DR set on the Apple TV as RESET_9999 mentioned above).
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

Does Apple TV 4K have TV-led or Player-led?
Post Reply