Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th January 2022, 17:37   #21  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 146
Update to v0.30. Many Bugfixes, HDR10+ to DV Conversion still working.
https://1fichier.com/?86t4gujfcl3hrv8eezw7

DV Profiles:

DV Profile 7 (UHDs [HDR BL+EL+RPU]) = Dual Layer DV Profile, FEL or MEL. Can be repacked in a single Layer stream (not official supported) via makeMKV. Single Layer mkv needs special Hard/Software for viewing in DV. Fallback to HDR: YES
DV Profile 8 (8.1[HDR BL+RPU] 8.2[SDR BL+RPU] 8.4[HLG BL+RPU]) = Single Layer Dolby Vision with Fallback to HDR if DV is not supported. Official DV Profile, can be played on every DV Player in a MP4 Container.
DV Profile 5 (WEB [HDR BL+RPU]) = Single Layer Dolby Vision without Fallback to HDR if DV is not supported. Official DV Profile, can be played on every DV Player in a MP4 Container.

Quote:
Can this be any baselayer (recoded or not) from a different source, like UHDBD?
Yes, you can inject a converted Profile 8 RPU in a HDR Videostream, like UHD. The streams must be frame identical, if the stream have a delay you can set the delay with the scripts.

Last edited by -QfG-; 4th January 2022 at 17:54.
-QfG- is offline   Reply With Quote
Old 5th January 2022, 21:32   #22  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 450
Thanks for both your answers, benwaggoner & -QfG-.

for the new scripts
von Suppé is offline   Reply With Quote
Old 10th January 2022, 00:14   #23  |  Link
Kill3rWolf
Registered User
 
Join Date: Aug 2021
Posts: 27
Quote:
Originally Posted by -QfG- View Post
Update to v0.30. Many Bugfixes, HDR10+ to DV Conversion still working.
https://1fichier.com/?86t4gujfcl3hrv8eezw7
Could you provide another link except 1fichier.com? 1fichier.com not working for me. Google Drive, Mega, clicknupload.cc & etc.
Kill3rWolf is offline   Reply With Quote
Old 13th January 2022, 02:21   #24  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 281
Quote:
Originally Posted by Kill3rWolf View Post
Could you provide another link except 1fichier.com? 1fichier.com not working for me. Google Drive, Mega, clicknupload.cc & etc.
I would suggest you use a VPN then as I just downloaded it with no problems. It's possible 1fichier might be blocked in your country.
RanmaCanada is offline   Reply With Quote
Old 15th January 2022, 09:12   #25  |  Link
Albano
Registered User
 
Join Date: Jun 2021
Posts: 3
Quote:
Originally Posted by -QfG- View Post
Update to v0.30. Many Bugfixes, HDR10+ to DV Conversion still working.
https://1fichier.com/?86t4gujfcl3hrv8eezw7

DV Profiles:

DV Profile 7 (UHDs [HDR BL+EL+RPU]) = Dual Layer DV Profile, FEL or MEL. Can be repacked in a single Layer stream (not official supported) via makeMKV. Single Layer mkv needs special Hard/Software for viewing in DV. Fallback to HDR: YES
DV Profile 8 (8.1[HDR BL+RPU] 8.2[SDR BL+RPU] 8.4[HLG BL+RPU]) = Single Layer Dolby Vision with Fallback to HDR if DV is not supported. Official DV Profile, can be played on every DV Player in a MP4 Container.
DV Profile 5 (WEB [HDR BL+RPU]) = Single Layer Dolby Vision without Fallback to HDR if DV is not supported. Official DV Profile, can be played on every DV Player in a MP4 Container.



Yes, you can inject a converted Profile 8 RPU in a HDR Videostream, like UHD. The streams must be frame identical, if the stream have a delay you can set the delay with the scripts.
When I drag and drop mkv file into it, your tool close automatically.
Albano is offline   Reply With Quote
Old 15th January 2022, 23:40   #26  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
Did a MKV file create with MakeMKV with this HDR data:
HDR Info = [Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible]

and converted it to profile 8 and ended up with this:
HDR Info = [Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible]

The Profile 8 mkv file works and plays fine in infuse on my Apple TV 4k. Triggering the Dolby Vision logo on my LG Oled.

I though the Dolby vision layer (its the data in the RPU.bin file) would be larger then 65mb, even though its only single layer.
GZZ is offline   Reply With Quote
Old 16th January 2022, 13:57   #27  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 450
Quote:
Originally Posted by Albano View Post
When I drag and drop mkv file into it, your tool close automatically.
You should not drag a file into the tool's window. Instead, drag your video on one of the "*.cmd" files itself.
von Suppé is offline   Reply With Quote
Old 16th January 2022, 15:45   #28  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
or just use

DDVT DEMUXER.cmd "MyFile.mkv"
DDVT INJECTOR.cmd "MyFile.mkv"

and keep all files in the same folder.
GZZ is offline   Reply With Quote
Old 20th January 2022, 17:39   #29  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 146
v0.32 Online via MEGA Folder.

-Updated Dovi_Tool.exe to v.1.45 (created by quietvoid).
-minor bugfixes.

Download in the first post.
-QfG- is offline   Reply With Quote
Old 22nd January 2022, 09:36   #30  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,404
I tested the extractor on one mkv file I have, but x265 complains that the RPU file contains a different number of frames compared to the video track. How can I verify this, and is it possible to find out the number of frames in the RPU?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 22nd January 2022, 12:28   #31  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
Quote:
Originally Posted by -QfG- View Post
v0.32 Online via MEGA Folder.

-Updated Dovi_Tool.exe to v.1.45 (created by quietvoid).
-minor bugfixes.

Download in the first post.
You should update your script by removing this part, as Dovi_tool now just replace the current layer with the new one.

Quote:
REM if "%ERRORLEVEL%"=="0" (
REM %RED%
REM echo Dolby Vision Layer found.
REM echo.
REM %YELLOW%
REM echo Only HDR or SDR Streams supported.
REM echo Abort Operation now.
REM goto EXIT
REM )

also you should change this line

Quote:
No Input File. Drag and Drop a file over this script or type "Dolby Vision Tool.bat <targetfile>".
to something like this:
Quote:
No Input File. Use DDVT INJECTOR.cmd "YourFilename.mkv/mp4" or DDVT DEMUXER.cmd "YourFilename.mkv/mp4"
GZZ is offline   Reply With Quote
Old 22nd January 2022, 14:01   #32  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
Anyone know what the CROP function does, I can specify a new Height and Width where the black bars are cropped out. Can anyone explain what it does ?
GZZ is offline   Reply With Quote
Old 22nd January 2022, 15:43   #33  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 464
Quote:
Originally Posted by Boulder View Post
I tested the extractor on one mkv file I have, but x265 complains that the RPU file contains a different number of frames compared to the video track. How can I verify this, and is it possible to find out the number of frames in the RPU?
Not really convenient but if you do `dovi_tool info -i RPU.bin -f 999999` it would error and print out the number of frames.
__________________
LG C2 OLED | GitHub Projects
quietvoid is offline   Reply With Quote
Old 23rd January 2022, 01:23   #34  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,112
Quote:
Originally Posted by GZZ View Post
Anyone know what the CROP function does, I can specify a new Height and Width where the black bars are cropped out. Can anyone explain what it does ?
It specifies what's outside of the active image area, and doesn't get dynamic metadata or tone mapping.

Black bars are black bars, and should be presented at display black without tone mapping. Conversely a black pixel in the active image area gets treated as part of the continuous tone image, and might wind up displayed differently than a pixel of identical value in the letterbox.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 23rd January 2022, 11:28   #35  |  Link
GZZ
Registered User
 
Join Date: Jan 2002
Posts: 581
So If I extract the RPU (no crop) and then apply it on a reencoded cropped movie, then part of the image dont get dynamic data or do I misunderstand it ?
GZZ is offline   Reply With Quote
Old 24th January 2022, 03:19   #36  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,112
Quote:
Originally Posted by GZZ View Post
So If I extract the RPU (no crop) and then apply it on a reencoded cropped movie, then part of the image dont get dynamic data or do I misunderstand it ?
If you have a new file that simply doesn't have the letterboxing, than the active image area and the frame size are identical. You shouldn't need to change any other metadata.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 25th January 2022, 23:20   #37  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 146
v0.33 Online

-v0.33
*Multiple Instances Support
*Injector RAW File Support

EDIT:
v0.33a Online
-v0.33a
*Fixed bad strings if opened without file.

thx @GZZ
https://forum.doom9.org/showthread.p...46#post1961946

Quote:
You should update your script by removing this part, as Dovi_tool now just replace the current layer with the new one.
The line in the injector is correct, the injector can't handle DV files, only HDR/SDR files.

Last edited by -QfG-; 25th January 2022 at 23:46.
-QfG- is offline   Reply With Quote
Old 27th January 2022, 16:28   #38  |  Link
Ryushin
Registered User
 
Join Date: Mar 2011
Posts: 349
Cropping.... Still Confused

Perhaps my mind is just addled having a cold, but reading GZZ's questions and the answers that were given to him regarding cropping still has me confused.

I have the original UHD source ripped into a MKV using MakeMKV that has the Dolby Vision stream encoded in it. I have another encode from the original source that has the letter box bars cropped out.

I would like to know if I need to use the Crop option when using the Demuxer on the original source that has the letterbox bars before using the Injector on the encoded file that does not have any letterbox bars.

BTW, big thanks for a tool that finally makes it easy to get the DV stream out so we can encode it in our own files. Now I'll have to go through all my UHD disks and find the ones that have Dolby Vision and extract it out.

Options I'd like to see to enable batching is the ability for the Demuxer to specify the output directory of RPU.bin along with perhaps naming it the same as the source file with RPU.bin as as the extension. Along those same lines having the Injector having the option of specifying the location and name of the RPU.bin. Also would be nice if the temp directory was removed after it was done.
Ryushin is offline   Reply With Quote
Old 28th January 2022, 20:33   #39  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 450
@Ryushin

Yes. When extracting RPU from letterboxed source (black bars are part of video), for injecting it back in a cropped version, the crop option is required.
von Suppé is offline   Reply With Quote
Old 29th January 2022, 01:39   #40  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 146
Wrong Informations. Correct answer here:
https://forum.doom9.org/showpost.php...6&postcount=45

Last edited by -QfG-; 29th January 2022 at 21:35.
-QfG- is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.