This is an odd one. I use ".AddBorders(0,0,0,0,$000000)" quite a lot in my avisynth scripts (which I run with MeGUI) and I've noticed that the edge of the new border isn't always truly sharp. There's a thin sliver of white between border and image, as if (bear with me) someone's behind the screen and shining a torch at it.
Am I making sense and does anyone recognise the problem? Thanks in antici....
+ Reply to Thread
Results 1 to 6 of 6
-
-
-
I just copied that from the wiki. In reality, I'd script: .crop(20,0,-20,0).addborders(20,0,20,0). The default colour is black so no need for $000000.
Last edited by pooksahib; 16th Sep 2025 at 23:46.
-
maybe you didn't crop properly, or maybe your source's chroma subsamping is contaminating the border (when upsampled and converted to RGB for display - if you use "point" or "nearest neighbor" upsampling the color borders will be more blocky, but less contaminated)
-
You could try using the R option if you're using Avisynth+ 3.7.4 or later.
https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/addborders.html
R=2 should be plenty. Instead of the borders having a perfectly sharp edge, it creates a very slight transient between the border and the picture. If what you're seeing is resizer ringing at the border edges because the video (or chroma) is being upscaled on playback, that should help.
AddBorders(20,0,20,0, r=2)
Or unless you're encoding for Bluray compatibility or something similar, not adding borders is another option. I never do. The player will add them according to the display resolution or aspect ratio on playback when the video is running in full screen mode.Last edited by hello_hello; 17th Sep 2025 at 10:15.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview)
Similar Threads
-
AVISynth AddBorders chroma issue?
By killerteengohan in forum RestorationReplies: 8Last Post: 6th Apr 2024, 05:25 -
Joining to videos, trimming unwanted footage Cropping & AddBorders
By SkyBlues2021 in forum EditingReplies: 87Last Post: 16th Mar 2023, 11:24 -
AVStoDVD AddBorders issue
By defbiz in forum Authoring (DVD)Replies: 4Last Post: 15th Sep 2022, 18:40 -
Issue with h264 deinterlace in Avisynth
By mrwhitethc in forum Video ConversionReplies: 5Last Post: 14th Nov 2021, 10:50 -
multiAVCHD AviSynth error .AddBorders()
By pises in forum Authoring (Blu-ray)Replies: 3Last Post: 30th Jun 2021, 21:40