View Full Version : [DDVT Tool] Dolby Vision RPU Demuxing / Injecting / Editing.
GPhil
22nd February 2022, 16:16
Everything works like a charm now, thank you very much!
GPhil
23rd February 2022, 20:57
Another question from me as a HDR newbie: is it normal that the tool only gets 4000+ frames from the HDR10+ content while there are almost 200000 frames in the whole video? Or is there an error in some file?
https://thumbs4.imagebam.com/26/30/51/ME837QN_t.png (https://www.imagebam.com/view/ME837QN)
quietvoid
23rd February 2022, 22:09
See https://github.com/quietvoid/hdr10plus_tool/issues/42#issuecomment-1011125971
If it's reencoded with x265, look for "dhdr10-opt" in the encoding settings.
-QfG-
25th February 2022, 14:29
-v0.40
*Support for HEVC RAW streams in DDVT Demuxer.
*Support for HEVC RAW streams in DDVT Remover.
*Fixed DV remove Bug in DDVT Remover.
*New Context Menus (create them with DDVT Options).
zzreel
25th February 2022, 19:58
-v0.40
*Support for HEVC RAW streams in DDVT Demuxer.
*Support for HEVC RAW streams in DDVT Remover.
*Fixed DV remove Bug in DDVT Remover.
*New Context Menus (create them with DDVT Options).
Dude, you're the man. Now if only you can add Atmos to JOC conversion lol
von Suppé
25th February 2022, 22:50
Thanks for continuously working on improvements of your scripts, -QfG-. Highly appreciated.
speedy
26th February 2022, 19:30
Now if only you can add Atmos to JOC conversion lol
What does this mean?
-QfG-
26th February 2022, 23:41
-v0.40a
*Fixed number bug in Demuxer.
*Fixed Frameinfo RPU bug.
What does this mean?
It's a joke. ;)
zzreel
27th February 2022, 06:56
What does this mean?
Sorry lol It *is* a joke.
JOC is Joint Object Coding, which is Dolby Atmos in the E-AC3 format. It's what's used in streaming services' versions of Dolby Vision content, especially. Bluray releases use the TrueHD format. It would be awesome if we could convert TrueHD Atmos to E-AC3 JOC for a compressed audio format, but it's not something anyone's figured out yet.
This is pretty interesting tho: https://learning.dolby.com/hc/en-us/articles/4408217194772-Appendix-C-Dolby-Atmos-Delivery-Codecs-
von Suppé
27th February 2022, 08:33
JOC is Joint Object Coding, which is Dolby Atmos in the E-AC3 format. It's what's used in streaming services' versions of Dolby Vision content, especially. Bluray releases use the TrueHD format.
E-AC3 can be found on (UHD)BD also, where the build-up differs from the 'streaming' version.
-QfG-
27th February 2022, 22:42
-v0.40b
*Fixed major Bug by demuxing Profile7 files.
zzreel
28th February 2022, 17:39
What exactly is the difference for "content mapping version" 2.9 vs 4.0 during HDR10+ conversion to DV?
What's a case where it matters - or is one superior to the other? Or maybe more importantly, how can we tell if the source is 2.9 or 4.0 to match it? I'm not seeing this listed in MediaInfo.
From what I've gathered, I'm assuming 4.0 is better, but I have no idea if HDR10+ metadate carries anything that goes into 4.0 or if it's just 2.9 metadata. (especially since 2.9 is default in this tool?)
quietvoid
28th February 2022, 18:08
It doesn't make a difference for HDR10+ conversion only.
It only matters if you want to add extra metadata.
There's no easy way to check other than looking at the RPU and looking for "cmv40_metadata" in "vdr_dm_data".
rco133
5th March 2022, 18:22
Hi.
I am new to this DV stuff, so I might be doing something wrong.
I have demuxed the main m2ts file from UHD disk, and am wondering about the output from the demuxer, when I run it on the EL file.
Video Info = [Resolution = 1920x1080] [Codec = HEVC-10Bit-YUV-4:2:0] [Frames = n.a.] [FPS = 23.976]
HDR Info = [Dolby Vision, Version 1.0, dvhe.07.03, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible]
Shouldn't it report "dvhe.07.06" as this is a UHD bluray disk?
If I open the disc in makemkv is says "dvhe.07.06".
Is "dvhe.07.03" even a valid profile? Seems like 03 is "Reserved".
But as I am new at this, I might be mixing up things totally :-)
Thanks in advance.
rco133
nevcairiel
5th March 2022, 19:08
dvhe.07.03 means profile 7, level 3 - which is perfectly valid. This is likely because you are looking at the EL stream, which is only 1920x1080, hence the video only being level 3, and not level 6 like the main UHD stream.
rco133
6th March 2022, 10:34
dvhe.07.03 means profile 7, level 3 - which is perfectly valid. This is likely because you are looking at the EL stream, which is only 1920x1080, hence the video only being level 3, and not level 6 like the main UHD stream.
Thanks for the pointer.
As I wrote I am quite new to this DV stuff, and reading the DolbyVisionProfilesLevels made me come to that conclusion :-)
rco133
Albano
11th March 2022, 17:59
@-QfG-
Thanks for sharing but how to run your tool.
https://i.imgur.com/CMJzHIn.png
von Suppé
12th March 2022, 08:44
Read this post and one down: https://forum.doom9.org/showthread.php?p=1961404#post1961404
von Suppé
12th March 2022, 10:14
Hi -QfG-
Will elementary streams for the DDVT remover be supported some time?
-QfG-
12th March 2022, 20:43
Hi -QfG-
Will elementary streams for the DDVT remover be supported some time?
In the next update.
-v0.40c
*RAW Stream Support for all Scripts.
*Turn off Autodetect Borders Feature for RAW Streams.
*DV and HDR10+ Metadata can now replaced in Stream.
Cedvano
15th March 2022, 11:01
Thanks for this software.
If I grab the RPU and compress the video and inject the RPU, will it work?
-QfG-
15th March 2022, 18:16
Thanks for this software.
If I grab the RPU and compress the video and inject the RPU, will it work?
Yes, if your video is hevc and hdr encoded.
Cedvano
16th March 2022, 10:58
Yes, if your video is hevc and hdr encoded.
Thank you.
Cedvano
21st March 2022, 17:45
Hi,
I have an error for some videos.
Invalid pps index
is it possible to repair the dolby vision of a movie?
quietvoid
21st March 2022, 18:04
Hi,
I have an error for some videos.
is it possible to repair the dolby vision of a movie?
Can you share a sample that reproduces the error?
Cedvano
21st March 2022, 19:52
Can you share a sample that reproduces the error?
I can't send sample (for copyright) but I have build the last version from Github of Dovi_tool and it's work.
gacopl
25th March 2022, 20:08
Hi
Thanks for this tool
I created similar tool but for linux to put it on MediaServer/Nas it does everything on autopilot resulting in playable DV MP4, it takes DV5,7,8 or HDR10+ mkv as input
https://github.com/gacopl/dvmkv2mp4/
jboom91
30th March 2022, 16:23
Thank you so much for this software! I have a question about the converting metadata from HDR10+ to Dolby Vision, is there any quality benefit or difference at all in doing so? In my case, I have a 65" 4K television that is capable of HDR10+ and Dolby Vision and has individual video settings for these when detected playing.
quietvoid
30th March 2022, 19:02
Thank you so much for this software! I have a question about the converting metadata from HDR10+ to Dolby Vision, is there any quality benefit or difference at all in doing so? In my case, I have a 65" 4K television that is capable of HDR10+ and Dolby Vision and has individual video settings for these when detected playing.
Converting HDR10+ would in theory be inferior to playing it back natively.
Only parts of the original metadata is used for the Dolby Vision version.
There's no reason to do so if your display supports it.
zzreel
1st April 2022, 23:23
Hey uh, any idea why injecting RPU would result in frame count going from 23.976 to 25? Video length also drops from 2hours 10mins to 2hours 4minutes. Not sure if issue is with extraction/injection or the RPU conversion.
quietvoid
1st April 2022, 23:51
See https://github.com/quietvoid/dovi_tool/issues/134#issuecomment-1085889058
zzreel
2nd April 2022, 00:50
Ah that's exactly it thank you
-QfG-
2nd April 2022, 11:24
Hey uh, any idea why injecting RPU would result in frame count going from 23.976 to 25? Video length also drops from 2hours 10mins to 2hours 4minutes. Not sure if issue is with extraction/injection or the RPU conversion.
If you work with a mkv/mp4 file (not raw file) and you using the "Mux into MKV/MP4" option you didn't have this Bug.
Update to v0.40d
-v0.40d
*Updated MediaInfo to v22.02
*Updated mkvtoolnix to v 66.0.0.0.
*Updated dovi_tool to v1.4.7
*Fixed Minor Bugs
von Suppé
3rd April 2022, 07:16
Is something wrong with latest version 0.40d? Unpacking, 7-Zip seems to hang on ffmpeg.exe. Downloaded & tried several times.
-QfG-
3rd April 2022, 07:53
Extract rar works fine, tested it with 7-Zip 21.07 (x64) and WinRar 6.11d. Download as Standarddownload. In some cases anti-malware block the UPX packed ffmpeg.exe.
von Suppé
4th April 2022, 15:01
I was on older version 7-Zip. Latest version works. Thank you.
rthorntn
6th April 2022, 03:13
Apologies if I missed the answer here (I saw someone ask earlier and get told no but then I saw an update suggesting that the feature had been added), for people with no DV (Samsung TV's) can this tool convert DV to HDR10+? Thanks!
quietvoid
6th April 2022, 16:20
Apologies if I missed the answer here (I saw someone ask earlier and get told no but then I saw an update suggesting that the feature had been added), for people with no DV (Samsung TV's) can this tool convert DV to HDR10+? Thanks!
No, there's no feature to convert Dolby Vision to HDR10+.
rthorntn
8th April 2022, 03:03
Thanks!
-QfG-
10th April 2022, 08:16
-v0.40e
*Fixed container FPS error in INJECTOR.
jboom91
12th April 2022, 15:28
Is there a way to stop the tool from auto exiting? Sometimes I have an error or something doesn't complete correctly when ripping the rpu or injecting an rpu, and if I'm not around my computer I don't see what happened because I think it just auto exits in 30 seconds.
Sorry if this is a noob question, thanks!
-QfG-
12th April 2022, 18:37
Open all Batch Files with an editor, goto ":EXIT" and Change "TIMEOUT 30" with "PAUSE". That's all.
-QfG-
16th April 2022, 12:28
-v0.41
*Add MKVtoMP4 Script.
*Updated mkvtoolnix to v 67.0.0.0.
** Scripts renamed, use DDVT_Options Script for creating new Shell Extensions.
titomoi
17th April 2022, 20:34
great job!
Gser
23rd April 2022, 09:50
I wonder if it would be possible to add pgs to srt subtitle conversion with https://github.com/Tentacule/PgsToSrt like it has been done with https://github.com/gacopl/dvmkv2mp4
von Suppé
23rd April 2022, 10:21
Subtitle conversion is not basically related to Dolby Vision. I wonder if it would ever be implemented.
Even if, the problem with PGS --> srt conversion is that it's subject to reading errors during the OCR process. After which, often - if not always - manual correction is required.
Gser
23rd April 2022, 12:03
Subtitle conversion is not basically related to Dolby Vision. I wonder if it would ever be implemented.
Even if, the problem with PGS --> srt conversion is that it's subject to reading errors during the OCR process. After which, often - if not always - manual correction is required.
Indeed, I have just found it really difficult to mux srts and dolby vision in an mp4 and have it work on my LG C1. With this it actually works, at least with profile 5, still have to test profile 8.
kira0001
30th April 2022, 16:58
Please can you help me with how to convert mkv DV file to mp4 DV... And please can you help me to input video file... Its showing me no input file.. and i don't know how to use ddvt_demuxer.cmd " Myfile" .
. Please can you help me
-QfG-
30th April 2022, 18:42
-v0.41a
*Cropping values from RPU.bin will shown in INJECTOR.
*New Function in DEMUXER called CHECK RPU CROPPING VALUES.
You can fix wrong cropped RPUs directcly.
Works only with Profile 8 MKVs/MP4s and RAW Streams.
Please can you help me with how to convert mkv DV file to mp4 DV... And please can you help me to input video file... Its showing me no input file.. and i don't know how to use ddvt_demuxer.cmd " Myfile" .
. Please can you help me
The simpliest way is to start the "DDVT_OPTIONS.cmd" and add the Shell extensions to your system. Now click with the right mouse button on your videofile and you see the ddvt tool extension in the shell.
I wonder if it would be possible to add pgs to srt subtitle conversion with https://github.com/Tentacule/PgsToSrt like it has been done with https://github.com/gacopl/dvmkv2mp4
Interesting. Will check if i can use this tool for the MKVtoMP4 Converter.
-v0.41b
*Complete reworked Injector. If input file is in mp4/mkv container crop borders will automatically set.
*Fixed wrong FPS Bug with Injector / Check Release.
*Fixed Minor Bugs.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.