VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    May 2011
    Location
    Sweden
    Search PM
    Using Avisynth. Is there any trick to remove the interlace artifacts even if that means reducing the fps/resolution?
    Image Attached Files
    Quote Quote  
  2. I had to run this in 32 bit AviSynth since I couldn't find a 64 bit version of DeBicubic():

    Code:
    LWLibavVideoSource("clip.mp4", cache=false, prefer_hw=2) 
    AssumeTFF()
    
    p1 = DeBicubic(512, 288).QTGMC(FPSDivisor=2).nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=1280, fheight=720)
    p2 = DeBicubic(512, 176).QTGMC(FPSDivisor=2).nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=1280, fheight=720)
    
    Trim(p1, 0, 182)+Trim(p2, 183, 0)
    Image Attached Files
    Quote Quote  
  3. Member
    Join Date
    May 2011
    Location
    Sweden
    Search PM
    Originally Posted by jagabo View Post
    I had to run this in 32 bit AviSynth since I couldn't find a 64 bit version of DeBicubic():

    Code:
    LWLibavVideoSource("clip.mp4", cache=false, prefer_hw=2) 
    AssumeTFF()
    
    p1 = DeBicubic(512, 288).QTGMC(FPSDivisor=2).nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=1280, fheight=720)
    p2 = DeBicubic(512, 176).QTGMC(FPSDivisor=2).nnedi3_rpow2(4, cshift="Spline36Resize", fwidth=1280, fheight=720)
    
    Trim(p1, 0, 182)+Trim(p2, 183, 0)
    Thanks, it worked! I have one more question: what's the reason you used two separate DeBicubics ((512, 288) & ((512, 176))? My original clip is 3 minutes 18 seconds and I must process the entire clip.
    Last edited by elektro; 30th Apr 2023 at 06:30.
    Quote Quote  
  4. The two sections were zoomed differently. I believe the original video was 720x480 and the different shots were cropped and zoomed differently.

    Oh, I forgot there are 64 versions of the De*Resize filters. They are included in the ResampleMT package. So you can use 64 bit DeBicubicResizeMT(512, 288) instead of 32 bit DeBibubic(512, 288), etc.

    http://avisynth.nl/index.php/ResampleMT

    You can also play around with the horizontal sizes in DeBicubic to get slightly sharper video. And the upscale size to get more perfect aspect ratios. I started with DeBicubic(512, 288) because that gave a 16:9 frame which looked to be close to the correct aspect ratio. But then I saw the second part of the video needed a different vertical size. I adjusted the DeBicibuc height but not the width. It looks OK because both small frames are resized to the same final size.
    Last edited by jagabo; 30th Apr 2023 at 08:12.
    Quote Quote  
  5. Member
    Join Date
    May 2011
    Location
    Sweden
    Search PM
    Originally Posted by jagabo View Post
    The two sections were zoomed differently. I believe the original video was 720x480 and the different shots were cropped and zoomed differently.

    Oh, I forgot there are 64 versions of the De*Resize filters. They are included in the ResampleMT package. So you can use 64 bit DeBicubicResizeMT(512, 288) instead of 32 bit DeBibubic(512, 288), etc.

    http://avisynth.nl/index.php/ResampleMT

    You can also play around with the horizontal sizes in DeBicubic to get slightly sharper video. And the upscale size to get more perfect aspect ratios. I started with DeBicubic(512, 288) because that gave a 16:9 frame which looked to be close to the correct aspect ratio. But then I saw the second part of the video needed a different vertical size. I adjusted the DeBicibuc height but not the width. It looks OK because both small frames are resized to the same final size.
    Thanks for explanations + help. I managed to get a decent video out of that crummy recording.
    Quote Quote  



Similar Threads

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