Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoOverlay (PKA AutoAlign) discussion
[Image: A.png]

Code:
OM=ffvideosource("E:\Overlay\OM.mkv").Trim(24, 0, pad=false).Trim(0, 168184, pad=false)
WS=ffvideosource("E:\Overlay\WS.mkv").Trim(0, 168184, pad=false).crop(0, 138, 0, -138)
WEB=ffvideosource("E:\Overlay\WEB.mkv").Trim(26, 0, pad=false).Trim(0, 168184, pad=false).crop(0, 276, 0, -276)

ffvideosource("E:\Overlay\UHD.mkv").crop(0, 276, 0, -276).Trim(0, 168184, pad=false)
ConvertYUVtoLinearRGB(Color=0, OutputMode=2, OOTF=false, fullrange=true)
z_ConvertFormat(pixel_type="YUV420P10", colorspace_op="rgb:linear:2020:f=>709:709:709:f", dither_type="ordered", width=1920, height=804, resample_filter="spline36")
UHD=last

UHD.ColorAdjust(UHD, WEB, dither=1)
Trim(35785, length=1).info

It doesn't seem to have made much of a difference   Undecided

I basically want to color match the UHD to the 4K WEB-DL and then overlay the result with the OM WEB-DL so pan&scan scenes will look better and to take advantage of the increased chroma resolution. So I don't really want to downscale to 1080p at this point, that was just for the comparison though.
Reply
Thanks given by:
The screenshots is low resolution so it is difficult to compare them.

You must assume that 10 bit HDR bt.2020 and bt.709 8 bit SDR transfers are produced from higher bit source so it is usually impossible to match color histogram because of different matrices, bit and float conversion loses.
Reply
Thanks given by:
Be careful there are scene release on all web-dl where they convert those to SDR
Reply
Thanks given by:
(2019-09-20, 08:31 PM)Stamper Wrote: Be careful there are scene release on all web-dl where they convert those to SDR

That would be good to know. Do you know which groups do that? The ones I've seen are H265 so I assume they're the original encodes and I do know for a fact that streaming services offer SDR 4K sources. My thought here being, if you can download SDR, why bother converting it? Downloading times surely are quicker than conversion times.
Reply
Thanks given by:
(2019-09-20, 06:42 PM)random.next Wrote: The screenshots is low resolution so it is difficult to compare them.

You must assume that 10 bit HDR bt.2020 and bt.709 8 bit SDR transfers are produced from higher bit source so it is usually impossible to match color histogram because of different matrices, bit and float conversion loses.

Okay thank you. The way things are looking, I'm thinking I should just stick to using the BD Smile
Reply
Thanks given by:
Deflate rips are true DL of the digital stream without encoding, they are 1/1.

Anything by SWTYBLZ are conversions and reencodes.
Reply
Thanks given by:
(2019-09-20, 09:30 PM)Stamper Wrote: Deflate rips are true DL of the digital stream without encoding, they are 1/1.

Anything by SWTYBLZ are conversions and reencodes.

Oh yeah that's true, but SWTYBLZ doesn't pretend that they're real, he always writes the source there. Also, I don't think he's actually part of the scene. Unless you're using the word in a more casual manner.
Reply
Thanks given by:
(2019-09-20, 09:17 PM)JackReacher Wrote:
(2019-09-20, 06:42 PM)random.next Wrote: The screenshots is low resolution so it is difficult to compare them.

You must assume that 10 bit HDR bt.2020 and bt.709 8 bit SDR transfers are produced from higher bit source so it is usually impossible to match color histogram because of different matrices, bit and float conversion loses.

Okay thank you. The way things are looking, I'm thinking I should just stick to using the BD Smile
Try to use FHD BD as color reference to convert HDR BD to SDR. Resolution of source and reference clips may be different.
Reply
Thanks given by:
(2019-09-20, 06:42 PM)random.next Wrote: Try to use FHD BD as color reference to convert HDR BD to SDR. Resolution of source and reference clips may be different.

Unfortunately it gave the same result as when using the 4K SDR as reference. Both the BD and 4K WEB-DL are in Rec.709 but the 4K WEB-DL is in 10 bit.
Reply
Thanks given by:
Sample 1

Sample 2 - The doors at the end of the clip, unstable lol

Code:
OverlayEngine(OM.ConvertToY8(), WS.ConvertToY8(), configs=OverlayConfig(subpixel=2, minSourceArea=50, minOverlayArea=50, aspectRatio1=2.35, aspectRatio2=2.45, minSampleArea=3000, requiredSampleArea=5000, branches=3, correction=2), downsize="Spline64Resize", upsize="Spline64Resize", backwardFrames=10, forwardFrames=10, statFile="E:\Overlay\Align.stat", editor=true)

Hi there

I'm having some alignment/stability issues. I have tried correcting them manually but it seems too difficult with a zooming/panning shot. Could you please advise?
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  home 7.1 releases - general discussion spoRv 7 3,064 2021-10-11, 05:51 PM
Last Post: spoRv
  Recordable blu-ray disc general discussion spoRv 6 7,919 2017-05-20, 11:37 AM
Last Post: spoRv

Forum Jump:


Users browsing this thread: 18 Guest(s)