VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Nov 2023
    Location
    San Diego, CA USA
    Search PM
    Hi. I have several video files that appear to have a baked-in interlacing that I'd like to fix. The clips are showing as progressive scans at 720x540. I'm guessing they came from a DVD and were resized and deinterlaced improperly?
    Here's a short example of a clip: [URL="https://drive.google.com/file/d/1EwTouWEtvHDWTzMs8XZu_tkRpB0Pb-vX/view?usp=sharing"]Image
    [Attachment 83487 - Click to enlarge]


    I have FFworks w/ffmpeg running with it and have tried several things but nothing as made it look much better. Temporal Field Interlacing made it look smoother but quite blurry. Thoughts?
    Thanks
    Jared
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Debilinear helps quite a bit.
    Avisynth script:
    Code:
    lwlibavvideosource("C:\Users\davex\Downloads\testclip.mov")
    debilinear(width,480)
    qtgmc(preset="medium")
    Image Attached Files
    Quote Quote  
  3. Member
    Join Date
    Nov 2023
    Location
    San Diego, CA USA
    Search PM
    Originally Posted by davexnet View Post
    Debilinear helps quite a bit.
    Avisynth script:
    Code:
    lwlibavvideosource("C:\Users\davex\Downloads\testclip.mov")
    debilinear(width,480)
    qtgmc(preset="medium")
    Thanks Dave. I'm on a Mac so I believe I'll have to try something else. That said, I use FFworks w/ the FFmpeg engine.
    It appears that Debilinear does more than resize but just as a test, using FFworks, I resized the vertical resolution to 480 and then used YADIF to deinterlace.
    Here are the results...On the left is resized to 480 and on the right is after YADIF. Looks pretty good.
    Image
    [Attachment 83504 - Click to enlarge]

    But on this frame, there's vertical camera movement and the right frame with YADIF actually looks worse. Thoughts? I really appreciate the help.
    Image
    [Attachment 83505 - Click to enlarge]
    Last edited by Jared; 14th Nov 2024 at 12:31.
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Yes debilinear is a desampling function, to undo the effects of the resize (presumably) from 480 > 540.
    Once interlaced material is resized the two fields are co-mingled and it's saved as a progressive file - it's pretty much ruined.

    By using a desample, you get back (more or less) the two fields which can then be separated and processed properly.

    Other methods involve reducing the height (to decrease the artifacts) then resizing it back.
    For example, reduce the height by half then upsize
    Code:
    bicubicresize(width,270).bicubicresize(width,540)
    There are other members of the forum here who know this stuff pretty well. You may get further info on this
    Quote Quote  
  5. avisynth is available on a Mac now, there are MacOS releases
    https://github.com/AviSynth/AviSynthPlus/releases

    Alternatively, vapoursynth is probably more cross platform friendly, and can use descale for vapoursynth
    https://github.com/Irrational-Encoding-Wizardry/descale

    There is bit of a learning curve for either avisynth or vapoursynth . There might be some GUI's like hybrid which bundle everything and make it easier to use at first

    I do not think ffmpeg/libav have descaling kernels yet
    Quote Quote  
  6. Side note:
    a. There is no Hybrid version for MacOS that supports descale atm. and the last MacOS version of Hybrid is rather old.
    b. Avisynth in MacOS is basically a no-go unless you modify and compile each filter manually. => Vapoursynth has more hope for success; don't know any native gui for Vapoursynth on Mac
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  7. Member
    Join Date
    Nov 2023
    Location
    San Diego, CA USA
    Search PM
    I appreciate you both helping out. I tried to get Avisynth to work but failed. I may try Vapoursynth as it seems to have some good instructions. I may be able to get it going, copy some code from here and slowly figure out how to use it. We'll see.

    At the same time, I think I'll approach the rights holder of this media and explain that they messed up their own footage.
    I'm hoping they have copies of the original telecined (480i?) video.

    Again, thanks for the replies. I always learn something here.
    Quote Quote  



Similar Threads

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