VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. This Blu-Ray I am trying to encode has a border around the entire outside rim. It looks like a thin white line and is about 2 pixels in from the outside.

    I tried using strong dehalo, and or denoise around the outer rim with an edgemask overlay, but its not having any real effect.

    I even tried using overpowered filters to no avail.

    Code:
    source2 = last.dehalo_alpha(rx=2.0, ry=2.0, darkstr=1.0, lowsens=50, highsens=50, ss=1.0).hqdering(smoother=deen("c3d",1,5,9,2)).deen()
    edgemask = BlankClip(last).Crop(4,4,-4,-4).AddBorders(4,4,4,4,color=$ffffff).ColorYUV(levels="TV->PC")
    Overlay(last, source2, mask=edgemask)
    Can anyone help me reduce visibility of it without ruining all the rest? I would like to avoid cropping off 2 from all 4 sides if possible.

    https://forum.videohelp.com/images/imgfiles/mp8Dkhs.png
    https://forum.videohelp.com/images/imgfiles/Ur2gzzl.png
    Last edited by killerteengohan; 19th Feb 2022 at 20:18.
    Quote Quote  
  2. EdgeFixer (dualsynth release)
    https://github.com/sekrit-twc/EdgeFixer

    ContinuityFixer(2,2,2,2)


    Another option would be inpainting and logo removal filters
    Quote Quote  
  3. Simple:

    Code:
    clean = Crop(2,2,-2,-2) # clean inner portion
    blurry = clean.AddBorders(2,2,2,2).Blur(1.4) # add 2 pixel black borders, blur
    Overlay(blurry, clean, x=2, y=2) # overlay the clean image leaving just the borders blurred to black.
    Quote Quote  
  4. Originally Posted by jagabo View Post
    Simple:

    Code:
    clean = Crop(2,2,-2,-2) # clean inner portion
    blurry = clean.AddBorders(2,2,2,2).Blur(1.4) # add 2 pixel black borders, blur
    Overlay(blurry, clean, x=2, y=2) # overlay the clean image leaving just the borders blurred to black.
    That's a good idea. It's a shame I have to crop off the picture though and replace it with black.
    Quote Quote  
  5. Originally Posted by poisondeathray View Post
    EdgeFixer (dualsynth release)
    https://github.com/sekrit-twc/EdgeFixer

    ContinuityFixer(2,2,2,2)


    Another option would be inpainting and logo removal filters
    Thanks, I will give that a try.
    Quote Quote  
  6. Originally Posted by poisondeathray View Post
    EdgeFixer (dualsynth release)
    https://github.com/sekrit-twc/EdgeFixer

    ContinuityFixer(2,2,2,2)


    Another option would be inpainting and logo removal filters
    That actually did a perfect job, and exactly what I was hoping for.

    Thanks! It's nice to know this exists.
    Quote Quote  
  7. Here's another that keeps the edges:

    Code:
    emask = BlankClip(width=width-4, height=height-4, color=$000000, pixel_type="RGB24").AddBorders(1,1,1,1, color=$181818).AddBorders(1,1,1,1, color=$000000)
    Overlay(last, BlankClip(last), mask=emask)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!