Shouldn't the "length" value be 39 instead of 40?quietvoid wrote: ↑Fri Jul 23, 2021 12:45 pmThanks for this.RESET_9999 wrote: ↑Fri Jul 23, 2021 2:14 amI just did myself a DV version of the Star Wars New Hope UHD bluray and it looks great!! Very noticeable upgrade in quality(even on the camera comparison) and the luminance /color looks the same as the original profile 5.
https://screenshotcomparison.com/comparison/16048
To me there seems to be a slight tint change (so maybe whitebalance difference).
Would be pretty complicated to tell if it's just because the HDR10 version was encoded differently.
Also, you shouldn't be reencoding anything at all!
The dovi_tool editor can be used to remove and duplicate metadata so that it matches your second video.
For your example:This can be done with an edit JSON like this:you have to remove 39 frames from the beginning and add 39 frames at the endFor duplicating, the source is a frame number to use the metadata from.Code: Select all
{ "remove": [ "0-38" ], "duplicate": [ { "source": last_frame - 1, "offset": last_frame - 1, "length": 40 } ] }
Offset is where the metadata is added back (inclusive) and length is the number of times the same metadata is added.
You can play with the edit until the RPU length matches the video file you're injecting into.
Or is it necessary to apply +1 to the "length" value because the "offset" frame is removed (it is replaced by the new generated frames)?
And another question:
Why are the new frames added before the last frame (and the last frame remains intact) instead of being added at the end of the RPU? (In other words, why last_frame - 1 instead of just last_frame)
Thank you so much for everything!