VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Apr 2005
    Location
    Dover NH
    Search Comp PM
    Hi all,

    I've already processed this clip in VDub with the following AVISynth script:

    Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
    AVISource("TEST.avi")
    ConvertToYV12(interlaced=true)
    QTGMC(Preset="faster")
    Srestore(Frate=19.98)
    AssumeFPS(12)
    Crop(8,0,-8,0)
    LanczosResize(640,480)

    Then I thought there were still some duplicate frames so I ran this script:

    Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
    AVISource("TEST 2.avi")
    ConvertToYV12(interlaced=true)
    Srestore(Frate=19.98)
    AssumeFPS(12)

    But the result still seems to have the same duplicate frames - frames 16-17 for example.

    Can anyone verify there are duped frames in this clip, and if so, what should I try next?

    Thanks,
    Bill
    Image Attached Files
    Quote Quote  
  2. Yes, frame 18 is a dupe of frame 17. It wasn't seen as such because the two frames don't have the same 'brightness'. There also seems to be a missing frame between 21-22. You have a crappy source and expect perfection? You might try some deflicker filter to try and even up the brightness before then removing the dupes. Or maybe DeDup or MultiDecimate will do a better job of dupe removal, but you should make it progressive (and maybe progressive 29.97fps) first.

    I don't know what that second script was all about. You used it on the results of encoding with the first script? A waste of time since it was already 19.98fps.
    Quote Quote  
  3. Member
    Join Date
    Apr 2005
    Location
    Dover NH
    Search Comp PM
    Originally Posted by manono View Post
    You have a crappy source and expect perfection?
    Show me where I said I expect perfection.

    As I've said several times, I'm brand new to this stuff and I appreciate all the help and patience I've received here.

    But if you don't want to help me anymore, then don't. There's no need to snap at me.
    Quote Quote  
  4. Originally Posted by bvdd View Post
    Can anyone verify there are duped frames in this clip, and if so, what should I try next?
    Yes. And the missing frame manono noted.

    You might try using SRestore with a higher frame rate to remove blended frames, then following up with TDecimate() to remove the duplicate frames. But use an edge map (this eliminates overall brightness from the image) as a test clip for TDecimate():

    Code:
    Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
    AVISource("TEST.avi")
    ConvertToYV12(interlaced=true)
    QTGMC(Preset="faster")
    Srestore(Frate=29.97) # this should remove the blended frames but leaves duplicates
    edges = mt_edge().GreyScale() # build a map of edges for duplicate frame detection
    TDecimate(edges, clip2=last, Cycle=6, CycleR=2) # decimate to 19.98 fps
    AssumeFPS(12)
    Crop(8,0,-8,0)
    LanczosResize(640,480)
    If that leaves too many blended frames try:

    Code:
    Import("C:\Program Files\Avisynth\plugins\sRestore.avs")
    AVISource("TEST.avi")
    ConvertToYV12(interlaced=true)
    QTGMC(Preset="faster")
    Srestore(Frate=24.975) # this should remove the blended frames but leaves duplicates
    edges = mt_edge().GreyScale() # build a map of edges for duplicate frame detection
    TDecimate(edges, clip2=last, Cycle=5, CycleR=1) # decimate to 19.98 fps
    AssumeFPS(12)
    Crop(8,0,-8,0)
    LanczosResize(640,480)
    Last edited by jagabo; 22nd Nov 2015 at 17:54.
    Quote Quote  
  5. Member
    Join Date
    Apr 2005
    Location
    Dover NH
    Search Comp PM
    Thanks, I will try those suggestions.
    Quote Quote  



Similar Threads