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. |
|
|
Thread Tools | Search this Thread | Display Modes |
10th August 2022, 14:42 | #281 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
Let's say you have a file where most scenes have a standard AR (3840x1608), two have IMAX AR (3840x2076), and one is something in between (3840x1960). Then your "custom.json" file which is located next to your "RPU.bin" would look something like this: Code:
{ "mode": 0, "active_area": { "presets": [ { "id": 0, "left": 0, "right": 0, "top": 276, "bottom": 276 } { "id": 1, "left": 0, "right": 0, "top": 42, "bottom": 42 } { "id": 2, "left": 0, "right": 0, "top": 100, "bottom": 100 } ], "edits": { "all": 0, "1000-1234": 1, "2400-2468": 2, "4800-4848": 1 } } } Code:
dovi_tool editor -i RPU.bin -j custom.json -o Edited_RPU.bin |
|
10th August 2022, 20:40 | #282 | Link |
Registered User
Join Date: Dec 2013
Posts: 625
|
Very nice to learn the default for "all" and overwrite later.
Thanks again. I'm learning as I read and will try it all out. Have busy times ahead I noticed "mode": 0, in the beginning. You know what it does? It's not in the earlier codes I read. |
10th August 2022, 23:14 | #283 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
|
|
11th August 2022, 08:21 | #284 | Link |
Registered User
Join Date: Dec 2013
Posts: 625
|
Could have rung a bell. Didn't realise it was meant as the same "mode" argument when extracting.
In the meantime I also "discovered" quietvoid's editor.md and the examples at GitHub. Never was aware. Terrible... Cheers, GA |
13th August 2022, 19:31 | #287 | Link |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 568
|
Converting HDR10+ to Dolby Vision isn't supported.
__________________
LG C2 OLED | GitHub Projects |
14th August 2022, 00:00 | #290 | Link | |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 568
|
Quote:
Only the frame brightness analysis is copied to the RPU.
__________________
LG C2 OLED | GitHub Projects |
|
14th August 2022, 13:30 | #291 | Link | |
Registered User
Join Date: Feb 2020
Posts: 538
|
Quote:
|
|
15th August 2022, 15:16 | #293 | Link |
Registered User
Join Date: Dec 2013
Posts: 625
|
Ok, think I managed to edit L5 to proper values for all frameranges of the movie "Interstellar". Wow, this sweety switches aspect ratio 125 times (!) if my count is right. Where a lot of switches happen after just a few seconds of each other. Quite some work...
Anyways, I had to apply a delay. Which of course went fine with -QfG- injector. Reading the editor.md, am I right when assuming the "duplicate" and "remove" arguments are used for applying positive and negative delay? Or is there a true "delay" argument? I couldn't find such at the editor examples. |
15th August 2022, 15:25 | #294 | Link |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 568
|
There's only duplicate and remove, so it's probably using them to delay.
__________________
LG C2 OLED | GitHub Projects |
15th August 2022, 16:06 | #296 | Link |
Registered User
Join Date: Aug 2022
Posts: 2
|
Thanks for the great tool. I am very new to this and have a simple question.
How can i see all the frame info for the RPU for a particular movie? Currently I use the DDVT_FRAMEINFO but this tool is only for a specific frame. Is there a way for it to ouput all frames? Reason being I wish to see the active area for films that have changing active areas. Like for Aquaman. Thanks in advance. |
15th August 2022, 19:07 | #297 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
1. Created a custom.json file with the L5 metadata next to the RPU.bin file, something like this: Code:
{ "mode": 0, "active_area": { "crop": false, "presets": [ { "id": 0, "left": 0, "right": 0, "top": 280, "bottom": 280 }, { "id": 1, "left": 0, "right": 0, "top": 69, "bottom": 69 } ], "edits": { "all": 0, "1000-2000": 0, } } } Code:
{ "mode": 0, "active_area": { "crop": false, "presets": [ { "id": 0, "left": 0, "right": 0, "top": 280, "bottom": 280 }, { "id": 1, "left": 0, "right": 0, "top": 69, "bottom": 69 } ], "edits": { "all": 0, "998-1998": 0, } } } |
|
15th August 2022, 19:13 | #298 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
Code:
cd tools ./dovi_tool export [args] On a side note, DDVT_FRAMEINFO seems to extract RPU.bin from the .mkv file each time it is called, which can be time-consuming. Instead you can use DDVT_DEMUXER to extract the RPU.bin file once and then use dovi_tool info to get information about a specific frame. |
|
16th August 2022, 08:19 | #299 | Link | |
Registered User
Join Date: Dec 2013
Posts: 625
|
Quote:
I extracted the endresult RPU and checked some frame-infos. Indeed they shifted 24 frames. Like 100-150 was adjusted to 124-174. No way I'm gonna manually edit my json. Gonna figure out how dovitool.exe "duplicate" argument works and first try to only apply delay. After which I'll use the "delay-corrected RPU" as input for the json L5 edits. Learning as I get by... Thanks, GodzilaAvenger. You saved the day once again! Last edited by von Suppé; 16th August 2022 at 08:29. |
|
16th August 2022, 09:05 | #300 | Link | |
Registered User
Join Date: Jul 2022
Posts: 123
|
Quote:
One thing you could do is extract the RPU using the DEMUXER, apply the delay when using the INJECTOR to get it in sync with the movie (no custom.json for now, borders are set in the next step), extract the new RPU using the DEMUXER, this time using INJECTOR with 0 delay along with custom.json. To get the RPU in sync with the movie, I usually use dovi_tool info on that RPU to look at values for "max_pq", i.e. something like this Code:
dovi_tool.exe info -i RPU.bin -f 1000 | Select-String "max_pq" Finally, note that dovi_tool is 0-based, i.e. the first frame is numbered 0. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|