Selur's Little Message Board
letterboxing 1 pixel on top... - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: letterboxing 1 pixel on top... (/thread-3827.html)



letterboxing 1 pixel on top... - Bartoloni - 20.08.2024

i'm capturing PAL VHS using a blackmagic intensity pro.. and on every clip i have just 1 pixel on the top with b/w bars
usually i leave this 1 pixel line because removing pair pixels on top (2) .. mean losing 1 line of good signal.

[Image: 2pixels.jpg]

also...using cropping of 2 pixels... looking at the preview seems that these are not 2 pixels ... but 4 (or more?)

maybe there is way to automatically place 1 black line on top after deinterlacing ? (use not pair numbers? because using 1 on top and 9 on bottom crashes the cropping preview)

thank you for any help!

P.S. this is a sample: www.wcn.it/sample.avi

[Image: 4pix.jpg]

if necessary... debug: www.wcn.it/deb.txt


RE: letterboxing 1 pixel on top... - Selur - 21.08.2024

1. I would use Filtering->Vapoursynth->Line->Misc->EdgeFixer for that 1 pixel line
2. I could not reproduce your problem with the 1pixel crop looking like 2 pixel etc.
I used 'Fixed ratio' 'x12' and 'nearest neighbor' to check in Vapousynth preview. No clue what you used, but I suspect it might the cause of the problem.


Looking at the debug output:
clip = core.std.CropRel(clip=clip, left=4, right=10, top=2, bottom=6)# cropping to 706x568
# removing grain using TemporalDegrain2
clip = G41Fun.TemporalDegrain2(clip=clip, degrainPlane=4, meAlgPar=False, postFFT=0, fftThreads=1)
# letterboxing 706x568 to 720x842
clip = core.std.AddBorders(clip=clip, left=4, right=10, top=2, bottom=6)
and
clip = core.std.CropRel(clip=clip, left=2, right=10, top=2, bottom=6)# cropping to 708x568
# removing grain using TemporalDegrain2
clip = G41Fun.TemporalDegrain2(clip=clip, degrainPlane=4, meAlgPar=False, postFFT=0, fftThreads=1)
# letterboxing 708x568 to 720x842
clip = core.std.AddBorders(clip=clip, left=2, right=10, top=2, bottom=6)
seem like correct values, but the comment in the letterbox seems wrong.

Also: Please do not pack everything in one debug output.

Cu Selur


RE: letterboxing 1 pixel on top... - Bartoloni - 21.08.2024

(21.08.2024, 05:32)Selur Wrote:
# letterboxing 708x568 to 720x842
clip = core.std.AddBorders(clip=clip, left=2, right=10, top=2, bottom=6)
seem like correct values, but the comment in the letterbox seems wrong.
just see now.. 720x842?
my original footgae is 720x576
and the output MKV i retrieved is 720x576

what is this 842?


RE: letterboxing 1 pixel on top... - Selur - 21.08.2024

Probably, just a mistake in the comment.


RE: letterboxing 1 pixel on top... - Bartoloni - 22.08.2024

nope i dont' think so... i saw this number on debug log ... and yesterday using same version of Hybrid on the debug is clearly written 720x576...
i managed a little bit, changing letterboxing flags and other vlaues and in a certain time.. the preview window was showing a vertical stretched imagesĀ  (that for what i can see was with height similar to this strange 842 )

launched the rendering and final ouput was right (576) .. but preview is showing this strange vertical value.

i will investigate if if this can be reproducible easly.