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)
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th August 2022, 21:30   #261  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Thanks for letting me know. Guess I'll just keep my remuxes until I can figure out how to properly encode both layers. Big waste of disk space though.
GodzilaAvenger is offline   Reply With Quote
Old 8th August 2022, 21:33   #262  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
One more question, how should the RPU borders (top & bottom ones) be set on files where the aspect ratio changes (i.e. IMAX releases)? Is it the bigger margin (i.e. ~276px) or smaller one (i.e. ~42px)?
GodzilaAvenger is offline   Reply With Quote
Old 8th August 2022, 22:58   #263  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Interesting question. Since RPU is dynamic, you'd think L5 values would change throughout the movie.
I don't think I have a DV video with different aspect ratios. If you would have one, you can check & compare L5 data for different frame numbers with dovi_tool.

I wouldn't know how to edit L5 values for certain parts of video. Hopefully other users can explain how/if this can be done.
von Suppé is offline   Reply With Quote
Old 8th August 2022, 23:13   #264  |  Link
NeverExists
Registered User
 
Join Date: Jul 2022
Posts: 19
Quote:
Originally Posted by GodzilaAvenger View Post
Thanks a lot that program works very well.
NeverExists is offline   Reply With Quote
Old 8th August 2022, 23:29   #265  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Quote:
Originally Posted by von Suppé View Post
Interesting question. Since RPU is dynamic, you'd think L5 values would change throughout the movie.
I don't think I have a DV video with different aspect ratios. If you would have one, you can check & compare L5 data for different frame numbers with dovi_tool.

I wouldn't know how to edit L5 values for certain parts of video. Hopefully other users can explain how/if this can be done.
Thanks, I have a few that I can test on. DDVT asks for RPU cropping values when injecting an RPU.bin file and it always confused me what to do for these kinds of videos.
GodzilaAvenger is offline   Reply With Quote
Old 9th August 2022, 01:12   #266  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 574
Quote:
Originally Posted by GodzilaAvenger View Post
Thanks, I have a few that I can test on. DDVT asks for RPU cropping values when injecting an RPU.bin file and it always confused me what to do for these kinds of videos.
If you don't want to find every scene where the aspect ratio changes, use the smallest letterbox size.
__________________
LG C2 OLED | GitHub Projects
quietvoid is offline   Reply With Quote
Old 9th August 2022, 01:21   #267  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
So that's the same as the biggest aspect ratio (i.e. biggest border like ~276px), right? (sorry if it's a dumb question, just want to make sure)
GodzilaAvenger is offline   Reply With Quote
Old 9th August 2022, 01:34   #268  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 574
Quote:
Originally Posted by GodzilaAvenger View Post
So that's the same as the biggest aspect ratio (i.e. biggest border like ~276px), right? (sorry if it's a dumb question, just want to make sure)
No, the opposite. The smallest border.
__________________
LG C2 OLED | GitHub Projects
quietvoid is offline   Reply With Quote
Old 9th August 2022, 01:39   #269  |  Link
NeverExists
Registered User
 
Join Date: Jul 2022
Posts: 19
Another Question. When I drop the Web-Dl on the demuxer, should I be converting it to 8.1? If so why does it say HDR if we are trying to make a hybrid? Wouldn't converting it to HDR lose some of the metadata? I'm trying to make Hybrids with the Web-dl rpu and Bluray release. I mean I've done a few and the end result has been 8.06 Dolby Vision which is what I want.
NeverExists is offline   Reply With Quote
Old 9th August 2022, 01:51   #270  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Quote:
Originally Posted by quietvoid View Post
No, the opposite. The smallest border.
Got it, thanks!
GodzilaAvenger is offline   Reply With Quote
Old 9th August 2022, 07:09   #271  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Quote:
Originally Posted by NeverExists View Post
Another Question. When I drop the Web-Dl on the demuxer, should I be converting it to 8.1? If so why does it say HDR if we are trying to make a hybrid? Wouldn't converting it to HDR lose some of the metadata? I'm trying to make Hybrids with the Web-dl rpu and Bluray release. I mean I've done a few and the end result has been 8.06 Dolby Vision which is what I want.
I think the HDR means that Profile 8.1 is backwards compatible with HDR10, same for 8.4 which is backwards compatible with HLG.
GodzilaAvenger is offline   Reply With Quote
Old 9th August 2022, 08:13   #272  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Quote:
Originally Posted by GodzilaAvenger View Post
I have a few that I can test on.
Can you name the titles?


Quote:
Originally Posted by quietvoid View Post
If you don't want to find every scene where the aspect ratio changes...
And what if I want to do just that? How to go further once having determined the frame-ranges and their proper offsets?
Is there a tutorial somewhere on how to edit L5 for parts of video?
von Suppé is offline   Reply With Quote
Old 9th August 2022, 08:36   #273  |  Link
-QfG-
QfG Group Germany
 
-QfG-'s Avatar
 
Join Date: Oct 2018
Location: Germany
Posts: 245
Quote:
Originally Posted by von Suppé View Post
What would be a specific reason to use either of the two? Can you give an example?
Ask quietvoid what happenend if you switch

Code:
--eos-before-el Write the EOS/EOB NALUs before the EL. Defaults to false.
to True. I have only build in this option in the DDVT tool and i never use this.

Quote:
Do you want to get the RPU from a WEB-DL source and inject it into a BluRay? If that's what you want to do I'd recommend using djv, which can show a video frame-by-frame. What I do is open one file in djv, find a scene transition and note the frame number, then open the other file and find the corresponding frame number. This gives me the delay, which I then use in the DDVT injector tool.
Also you can use MeGui for this. You found MeGui here in the Forum. A little "how to do video" is here:
https://www.youtube.com/watch?v=gVZL1vwXFAg

Quote:
Is there a tutorial somewhere on how to edit L5 for parts of video?
create a custom.json for this and copy this file near the video. If you start the INJECTOR, the Injector used this file BEFORE all inline settings will be set.
For example, you must delay a video 10 frames, but you will crop only few frames in the video and you use a custom.json for this (only for the crop function), the INJECTOR will first edit the frames from the custom.json and after this the delay will be set. A custom.json for crop frame 10 - 20* :

*Attention. In quietvoids tool is the first frame Frame 0! Some video editors tags first frame to frame 1. Check this before you set the frames here.

Code:
{
  "active_area": {
    "presets": [
      {
      	 "id": 0,
      	 "left": 0,
      	 "right": 0,
      	 "top": 10,
     	 "bottom": 10
      }
    ],
     "edits": {
     "9-19": 0
    }
  }
}
Untestet, but i think it work so.

Last edited by -QfG-; 9th August 2022 at 09:09.
-QfG- is offline   Reply With Quote
Old 9th August 2022, 09:58   #274  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Nice, I'm gonna try things out. Conveniently VirtualDub also starts frame-count with 0.

As border-changes can take place several times,
can you tell up front if that specific code can be entered multiple times in one custom.json file?

Thanks a bunch anyways, -QfG-

Last edited by von Suppé; 9th August 2022 at 10:04.
von Suppé is offline   Reply With Quote
Old 9th August 2022, 13:32   #275  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 574
Quote:
Originally Posted by von Suppé View Post
What would be a specific reason to use either of the two? Can you give an example?
https://forum.makemkv.com/forum/view...121961#p121961
tl;dr it only has an effect on the last frame, unless the title uses seamless branching.
Doesn't really matter but leaving the flag default is correct.

Quote:
Originally Posted by von Suppé View Post
As border-changes can take place several times,
can you tell up front if that specific code can be entered multiple times in one custom.json file?
I don't really understand what you're asking. Preset IDs can be reused for multiple edits in the same JSON.
__________________
LG C2 OLED | GitHub Projects
quietvoid is offline   Reply With Quote
Old 9th August 2022, 16:00   #276  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Quote:
Originally Posted by quietvoid View Post
I don't really understand what you're asking. Preset IDs can be reused for multiple edits in the same JSON.
I think you answered my question partly --> "multiple edits in the same json file". But how to to that in code.

In -QfG-'s example L5 is set 10 bottom and 10 top for frames 9-19.
But how would that code look like, if I also want to set L5 offsets 280 top and 280 bottom for - let's say - frames 200-250?
von Suppé is offline   Reply With Quote
Old 9th August 2022, 16:01   #277  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Quote:
Originally Posted by von Suppé View Post
Can you name the titles?
Off the top of my head Aquaman, The Dark Knight, The Dark Knight Rises, some older Marvel titles that aren't shot entirely in IMAX like Iron Man, Civil War, Black Widow, Eternals (as opposed to like Infinity War, Endgame, Shang-Chi, and Multiverse of Madness). If you want something truely challenging go with Everything Everywhere All at Once, the aspect ratio is just all over the place!


Quote:
Originally Posted by von Suppé View Post
And what if I want to do just that? How to go further once having determined the frame-ranges and their proper offsets?
Is there a tutorial somewhere on how to edit L5 for parts of video?
Quote:
Originally Posted by quietvoid View Post
I don't really understand what you're asking. Preset IDs can be reused for multiple edits in the same JSON.
So something like this?

Code:
{
  "active_area": {
    "presets": [
      {
      	 "id": 0,
      	 "left": 0,
      	 "right": 0,
      	 "top": 10,
     	 "bottom": 10
      },
      {
      	 "id": 1,
      	 "left": 0,
      	 "right": 0,
      	 "top": 276,
     	 "bottom": 276
      }
    ],
     "edits": {
     "9-19": 0,
     "49-69": 1
    }
  }
}
BTW dovi_tool is amazing, thanks for creating it!

Last edited by GodzilaAvenger; 9th August 2022 at 16:33.
GodzilaAvenger is offline   Reply With Quote
Old 9th August 2022, 16:08   #278  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Ah, I was 3 seconds faster than you, GodzilaAvenger :-)

I have The Dark Night, so I can go check it out. Thanks for the script, it's getting more clear. I'm a total newbie to this.
Can you also provide an example for when there is more than one framerange that have same offsets?
von Suppé is offline   Reply With Quote
Old 9th August 2022, 16:35   #279  |  Link
GodzilaAvenger
Registered User
 
GodzilaAvenger's Avatar
 
Join Date: Jul 2022
Posts: 123
Quote:
Originally Posted by von Suppé View Post
Ah, I was 3 seconds faster than you, GodzilaAvenger :-)


Quote:
Originally Posted by von Suppé View Post
I have The Dark Night, so I can go check it out. Thanks for the script, it's getting more clear. I'm a total newbie to this.
Can you also provide an example for when there is more than one framerange that have same offsets?
I guess it would be something like this:

Code:
{
  "active_area": {
    "presets": [
      {
      	 "id": 0,
      	 "left": 0,
      	 "right": 0,
      	 "top": 10,
     	 "bottom": 10
      },
      {
      	 "id": 1,
      	 "left": 0,
      	 "right": 0,
      	 "top": 276,
     	 "bottom": 276
      }
    ],
     "edits": {
     "9-19": 0,
     "49-69": 1,
     "219-269": 0
    }
  }
}
I think overall the presets determine the L5 configs you want to use, the edits determine what frames each config applies to.
GodzilaAvenger is offline   Reply With Quote
Old 10th August 2022, 09:16   #280  |  Link
von Suppé
Registered User
 
von Suppé's Avatar
 
Join Date: Dec 2013
Posts: 631
Quote:
Originally Posted by GodzilaAvenger View Post
I think overall the presets determine the L5 configs you want to use, the edits determine what frames each config applies to.
Yeah, I think I'm getting it. Will play around and gonna try things out.

Thinking of it, I wonder how -QfG- injector would pipe this further. I assume that RPU itself wil be edited by the dovi_tool.exe.
In which case, do you perhaps know how dovitool's "RPU edit" basic commandline would look like? Say, with "RPU.bin" as input and using "custom.json" for the edits?

Thanks a bunch for your highly educating examples, GA.
von Suppé is offline   Reply With Quote
Reply


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 18:07.


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