VideoHelp Forum


Try StreamFab All-in-One and rip streaming video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Usually found by the edge of the video, sometimes the right side, other times the left. Tends to shift between green and pink/purple depending on the content. First line is generally the strongest in color, then the second is more faded. Found on ADV DVDs from 2000, not something introduced by any filters I'm using.

    Image
    [Attachment 58952 - Click to enlarge]

    Image
    [Attachment 58953 - Click to enlarge]


    Image
    [Attachment 58954 - Click to enlarge]

    Image
    [Attachment 58955 - Click to enlarge]



    Normally I'd just crop it out, but lately I've been wondering if there's a a better way, a way that might eliminate it and have those pixels look their correct colors.

    Any possible combination of AviSynth filters that might accomplish this? Or is it just impossible to fix and cropping is all anyone can do?
    Last edited by GlitchBob; 17th May 2021 at 22:15.
    Quote Quote  
  2. My interpretation:
    The solid black is probably due to pillarboxing or padding of the active picture to 720 pixel standard DVD width.
    The 2 colored rows is ringing from filters or from the encoding process due to the sharp transition from full black to the active picture.
    Crop the source before encoding to prevent sharp transitions from pillarboxing leftovers to the active picture, or just crop it off for viewing.
    Last edited by Sharc; 17th May 2021 at 01:35.
    Quote Quote  
  3. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Thank you, I suspected as much.
    Quote Quote  
  4. You can stretch or copy the good chroma from just to the left of discolored area over the discolored area.

    Code:
    ImageSource("green_lines.png", start=0, end=23, fps=23.976) 
    ConvertToYV12()
    patch = Overlay(last, Crop(714,0,4,-0), x=716, y=0)
    MergeChroma(last, patch)
    Image
    [Attachment 58969 - Click to enlarge]
    Quote Quote  
  5. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    You can stretch or copy the good chroma from just to the left of discolored area over the discolored area.

    Code:
    ImageSource("green_lines.png", start=0, end=23, fps=23.976) 
    ConvertToYV12()
    patch = Overlay(last, Crop(714,0,4,-0), x=716, y=0)
    MergeChroma(last, patch)
    Image
    [Attachment 58969 - Click to enlarge]
    Wow! I had no idea that was possible. Thanks very much!

    Out of curiosity (and inexperience with using this function), if I had green/pink on both sides, what would be the best way to address right and left?
    Last edited by GlitchBob; 19th May 2021 at 03:14.
    Quote Quote  
  6. Add another patch:
    Code:
    ImageSource("green_lines.png", start=0, end=23, fps=23.976) 
    ConvertToYV12()
    patch = Overlay(last, Crop(714,0,4,-0), x=716, y=0)
    patch = Overlay(patch, patch.Crop(4,0,4,-0), x=0, y=0)
    MergeChroma(last, patch)
    Quote Quote  
  7. Here's a variation that stretches the chroma from the good areas rather than copying it:

    Code:
    ImageSource("green_lines.png", start=0, end=23, fps=23.976) 
    ConvertToYV12()
    patch = Overlay(last, Crop(716,0,2,-0).PointResize(4,height), x=716, y=0)
    patch = Overlay(patch, patch.Crop(2,0,2,-0).PointResize(4,height), x=0, y=0)
    MergeChroma(last, patch)
    Quote Quote  
  8. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by jagabo View Post
    Here's a variation that stretches the chroma from the good areas rather than copying it:

    Code:
    ImageSource("green_lines.png", start=0, end=23, fps=23.976) 
    ConvertToYV12()
    patch = Overlay(last, Crop(716,0,2,-0).PointResize(4,height), x=716, y=0)
    patch = Overlay(patch, patch.Crop(2,0,2,-0).PointResize(4,height), x=0, y=0)
    MergeChroma(last, patch)
    I had a feeling that was the way, but wasn't sure how to do it properly. Excellent, thank you very much jagabo!
    Quote Quote  
  9. The BorderControl filter is good for this sort of thing:

    BorderControl(XRS=3,XRSF=3)
    Quote Quote  



Similar Threads