I want to generate dolby vision from remux HDR10 to remux dolby vision with your scripts and tools , is it good idea or this is not good at all and better not to be done ?
Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
3-1 for that but I recommend generating DV in Resolve which use the official Dolby algo. There's a tutorial video link somewhere in my signature link.
-
Mithrandir
- Posts: 12
- Joined: Tue May 10, 2022 5:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi, I've found what the issue is with Disney+ (at least with ffmepg), it's the presence of chapters in mkv file (which get copied to mp4).TheEqualizer wrote: ↑Fri May 05, 2023 8:29 pmThis problem is observed only on Disney+ and Netflix web-dl and only when playing over the network (NAS or DLNA PC), if run via usb, everything will work. If RESET_9999 knows the treatment method, it will be great, but as far as I know, when building mp4box, it will not be possible to make a working version, you need to build using ffmpeg
-map_chapters -1 does the trick with ffmpeg.
This is the full command i used:
Code: Select all
ffmpeg -i "video.mkv" -map 0:v -map 0:a -map 0:s:0 -map_chapters -1 -c:v copy -c:a copy -c:s mov_text -strict unofficial "video.mp4"Re: Dolby Vision now possible through MP4 Mux.
Can anyone provide me a screenshot or picture of what it looks like when the RPU doesn't match the HDR10(+) stream?
I'm both curious and looking for a reference as I think I'm having trouble lining up an RPU with the HDR10+ stream.
I'm in the process of adding Dolby Vision to an existing HDR10+ stream (Ford v Ferrari by WilDCAT). Assuming both would be the same, I got the following message:
After a bit of comparing between the files, it turns out the HDR10+ starts 40 black frames earlier than the RPU I have.
I delayed the RPU by 40 frames with this JSON:
However, when playing it with my C2s internal player, I'm not seeing any difference between this and the previous file when it was 100% misaligned by 40 frames. Did my version of Dovi Tools (2.0.2) automatically align the two the first time I injected the RPU or am I doing something wrong?
P.S.: I do not have Windows (I have Linux) so I'm using the old-skool method of manually creating a JSON and injecting that into the RPU instead of working with the more user friendly DoVi Scripts workflow.
I'm both curious and looking for a reference as I think I'm having trouble lining up an RPU with the HDR10+ stream.
I'm in the process of adding Dolby Vision to an existing HDR10+ stream (Ford v Ferrari by WilDCAT). Assuming both would be the same, I got the following message:
I let the process finish and watched with my C2s internal player (M2TS, DV logo triggers) and saw nothing out of the ordinary.Warning: mismatched lengths. video 219511, RPU 219471
Metadata will be duplicated at the end to match video length
After a bit of comparing between the files, it turns out the HDR10+ starts 40 black frames earlier than the RPU I have.
I delayed the RPU by 40 frames with this JSON:
Code: Select all
{
"duplicate": [
{
"source": 1,
"offset": 1,
"length": 40
}
]
}P.S.: I do not have Windows (I have Linux) so I'm using the old-skool method of manually creating a JSON and injecting that into the RPU instead of working with the more user friendly DoVi Scripts workflow.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
I wouldn't trust any WilDCAT HDR10plus source. This guy uses outdated tools to inject metadata.
And there's an official DV webdl source for this movie, here's the RPU already in sync: https://drive.google.com/file/d/1abh85Y ... share_link
You cant really miss it when the RPU is misaligned, you will see some brightness change between shots like in this video:Can anyone provide me a screenshot or picture of what it looks like when the RPU doesn't match the HDR10(+) stream?
https://www.youtube.com/watch?v=yxpMguEmVBQ
Re: Dolby Vision now possible through MP4 Mux.
Just FYI anyone who cares - the solution for me in the end for the NF HEV1 DV8 issue was to just use my 5950x and transcode the base layer so it worked fine as HVC1
Luckily even with NF's native horrible color artificing I see at times (makes people look like they're blushing, but blocky) hard to spot any quality loss from encoding just because stuff is 4k and bigger bitrates now than h264 days, even though it takes a hit with the encode no matter what
Plus I bought the 5950x to use the thing
Luckily even with NF's native horrible color artificing I see at times (makes people look like they're blushing, but blocky) hard to spot any quality loss from encoding just because stuff is 4k and bigger bitrates now than h264 days, even though it takes a hit with the encode no matter what
Plus I bought the 5950x to use the thing
Re: Dolby Vision now possible through MP4 Mux.
I agree. I've seen quite a lot of releases done with outdated software for some reason... However, I'd argue any HDR10+ is better than HDR10. I'd say WiLDCAT is the best we have when it comes to upgrading HDR10 content, no?RESET_9999 wrote: ↑Thu May 18, 2023 4:37 pmI wouldn't trust any WilDCAT HDR10plus source. This guy uses outdated tools to inject metadata.
Quick question, how is the process upgrading from HDR10 to HDR10+ done? Can it be done with the tools at our disposal?
Thank you for this. Interestingly it's a almost a 2 MB larger than my RPU from an already existing Hybrid, how is that possible? Different Doby Vision master? Do different streaming services have different DV settings?RESET_9999 wrote: ↑Thu May 18, 2023 4:37 pmAnd there's an official DV webdl source for this movie, here's the RPU already in sync: https://drive.google.com/file/d/1abh85Y ... share_link
Thank you. Now at least I know what to expect from a wrongly injected RPU!RESET_9999 wrote: ↑Thu May 18, 2023 4:37 pmYou cant really miss it when the RPU is misaligned, you will see some brightness change between shots like in this video:
https://www.youtube.com/watch?v=yxpMguEmVBQ
Bonus question: Is it possible to inject HDR10 metadata to an 2160p SDR HEVC? I'd like to upgrade my Stranger Things Season 1 SDR remuxes to HDR10.
Also, could you confirm or deny this is correct in adding 40 frames to the beginning of an RPU?
Code: Select all
{
"duplicate": [
{
"source": 1,
"offset": 1,
"length": 40
}
]
}-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yes, this json duplicate 40 times frame number 2
Most of the time yes but I still prefer generating DV in resolve because it produces better metadata (cmv4.0, proper avg and min_pq)However, I'd argue any HDR10+ is better than HDR10
Yes but it might require manual scene cut because I read somewhere that HDR10plus must only be changing metadata at scene cuts. DV in the other hand, can be frame by frame so its not really a problem.Quick question, how is the process upgrading from HDR10 to HDR10+ done? Can it be done with the tools at our disposal?
https://www.youtube.com/watch?v=ZdFiqATo_j8
the official rpu may have more shots. Or maybe your rpu is missing L5 which is often the case with iTunes webdl if the hybrid was not done correctlyThank you for this. Interestingly it's a almost a 2 MB larger than my RPU from an already existing Hybrid, how is that possible? Different Doby Vision master? Do different streaming services have different DV settings?
It requires re-encoding but it can be done in resolve. I actually convert all my SDR bluray to HDR/DV.Bonus question: Is it possible to inject HDR10 metadata to an 2160p SDR HEVC? I'd like to upgrade my Stranger Things Season 1 SDR remuxes to HDR10.
Re: Dolby Vision now possible through MP4 Mux.
For titles that don't have UHD/UHD web releases? Or for all just to have a 1080p HDR/DV library?RESET_9999 wrote: ↑Thu May 18, 2023 6:27 pmIt requires re-encoding but it can be done in resolve. I actually convert all my SDR bluray to HDR/DV.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Anything I want to watch that doesn't get an official HDR release.staknhalo wrote: ↑Thu May 18, 2023 7:36 pmFor titles that don't have UHD/UHD web releases? Or for all just to have a 1080p HDR/DV library?RESET_9999 wrote: ↑Thu May 18, 2023 6:27 pmIt requires re-encoding but it can be done in resolve. I actually convert all my SDR bluray to HDR/DV.
Only DV is allowed in my Home theater, I haven't watched SDR/HDR10 in years.
Re: Dolby Vision now possible through MP4 Mux.
Can Resolve produce DV from SDR? Will the result be better than RTD1619DR using VS10?RESET_9999 wrote: ↑Thu May 18, 2023 8:32 pmAnything I want to watch that doesn't get an official HDR release.staknhalo wrote: ↑Thu May 18, 2023 7:36 pmFor titles that don't have UHD/UHD web releases? Or for all just to have a 1080p HDR/DV library?RESET_9999 wrote: ↑Thu May 18, 2023 6:27 pmIt requires re-encoding but it can be done in resolve. I actually convert all my SDR bluray to HDR/DV.
Only DV is allowed in my Home theater, I haven't watched SDR/HDR10 in years.
-
RESET_9999
- Posts: 2406
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
no idea if it can produce metadata for an SDR base layer. I guess it can but never tried.
I convert the sdr bl to pq.
-
TheEqualizer
- Posts: 51
- Joined: Tue Feb 21, 2023 3:50 pm
Re: Dolby Vision now possible through MP4 Mux.
Thanks, I'll try.Mithrandir wrote: ↑Tue May 16, 2023 8:26 pmHi, I've found what the issue is with Disney+ (at least with ffmepg), it's the presence of chapters in mkv file (which get copied to mp4).
-map_chapters -1 does the trick with ffmpeg.
If you collect in mp4box, then the absence of chapters does not affect the performance, it has been checked repeatedly
P.S. So, I conducted tests, used material from Disney, if you assemble using ffmpeg, there really are no problems with sound, but it remains unpleasant as after assembly in mp4box, namely, there is no possibility of switching subtitle tracks, of course we are talking only about playback over the network (NAS or DLNA). Perhaps you know how this is solved?
Re: Dolby Vision now possible through MP4 Mux.
I've figured out I can only playback Dovi files on my TV from USB/Network, however I only ever get HDR from the 4K remuxes.
The DOvi test files show Dovi just fine, but obviously I don't care for watching those
I'm trying to play them back on a Panasonic LZ series OLED. What needs to be modified in the MKV to allow the TV pick up the stream?
The DOvi test files show Dovi just fine, but obviously I don't care for watching those
I'm trying to play them back on a Panasonic LZ series OLED. What needs to be modified in the MKV to allow the TV pick up the stream?
Re: Dolby Vision now possible through MP4 Mux.
Hi @RESET_9999,
As always, thank you for maintaining the amazing script and tirelessly testing DV displays and releases. A few feedbacks:
1. On line 10467 in the DoViBaker workflow, the path to DGDecodeNV.dll is hardcoded instead of referencing DGIndexNV_path.
2. I tried out the new DoViBaker FEL screenshot workflow. First of all, great stuff! I was able to compare the BL vs FEL on Criterion's Three Colors: Red and confirm that there's basically zero recovered detail from their filtered BL. One pain point though: It appears that we still need to manually take screenshots through AvsPmod. Do you know whether AvsPmod is scriptable? Would it be possible to automatically take X sets of BL vs FEL screenshot comparisons from a given clip? Obviously you can't select ideal frames for screenshots this way, but it's still useful for a quick comparison to see if the EL contains visible information.
3. The 1.8.3 release notes currently suggest "copy[ing] the dovi.dll into 'C:\Windows\System32'". FYI it doesn't need to be System32--any dir in the Path environment variable would do. IMO it is a security risk to ask users to copy binaries into System32.
4. On line 10385, have you considered making the sample maker's timestamp range configurable at the top of the file?
5. On your GRADE/MASTER CHECK (P8 DV HYBRID) sheet, some titles are released in different regions with different gradings/ecnodes by different studios, so clarifying the version may be helpful. For example, Paramount's Arrival (2016) in the US/UK looks different from Sony's in the EU and all the DV WEB-DLs I can find seem to be Sony's grading. (From what I've read, Paramount's grading is more faithful to the original.) Another one would be Escape from New York (1981): Both Shout Factory and StudioCanal's releases have DV FEL. Wondering which one is your plots taken from?
Finally, a question I've been curious about but don't know where else to ask:
Does anyone know how DV tone mapping interacts with ABL? Say we play a prolonged 1000 nits sequence on an OLED with 800 nits peak brightness. Initially the panel can tone map that according to its (statically stored) peak brightness capabilities and an extrapolated curve from metadata in the L2 trims. But as time goes on and ABL kicks in, does the DV engine have access to the now lower peak brightness number to tone map from there?
Thanks again!
As always, thank you for maintaining the amazing script and tirelessly testing DV displays and releases. A few feedbacks:
1. On line 10467 in the DoViBaker workflow, the path to DGDecodeNV.dll is hardcoded instead of referencing DGIndexNV_path.
2. I tried out the new DoViBaker FEL screenshot workflow. First of all, great stuff! I was able to compare the BL vs FEL on Criterion's Three Colors: Red and confirm that there's basically zero recovered detail from their filtered BL. One pain point though: It appears that we still need to manually take screenshots through AvsPmod. Do you know whether AvsPmod is scriptable? Would it be possible to automatically take X sets of BL vs FEL screenshot comparisons from a given clip? Obviously you can't select ideal frames for screenshots this way, but it's still useful for a quick comparison to see if the EL contains visible information.
3. The 1.8.3 release notes currently suggest "copy[ing] the dovi.dll into 'C:\Windows\System32'". FYI it doesn't need to be System32--any dir in the Path environment variable would do. IMO it is a security risk to ask users to copy binaries into System32.
4. On line 10385, have you considered making the sample maker's timestamp range configurable at the top of the file?
5. On your GRADE/MASTER CHECK (P8 DV HYBRID) sheet, some titles are released in different regions with different gradings/ecnodes by different studios, so clarifying the version may be helpful. For example, Paramount's Arrival (2016) in the US/UK looks different from Sony's in the EU and all the DV WEB-DLs I can find seem to be Sony's grading. (From what I've read, Paramount's grading is more faithful to the original.) Another one would be Escape from New York (1981): Both Shout Factory and StudioCanal's releases have DV FEL. Wondering which one is your plots taken from?
Finally, a question I've been curious about but don't know where else to ask:
Does anyone know how DV tone mapping interacts with ABL? Say we play a prolonged 1000 nits sequence on an OLED with 800 nits peak brightness. Initially the panel can tone map that according to its (statically stored) peak brightness capabilities and an extrapolated curve from metadata in the L2 trims. But as time goes on and ABL kicks in, does the DV engine have access to the now lower peak brightness number to tone map from there?
Thanks again!