VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    I recently captured a concert from PBS. It obviously started out as PAL, but the way they converted it is odd and I want to undo it.

    It is not interlaced. It repeats every 5th frame EXCEPT once every 1000 frames it goes 6 frames before the repeat.

    What's a good way to eliminate the dups? Any example scripts out there that deal with a 1000 frame pattern? I somehow doubt SelectEvery will handle 1000 parameters (although I haven't tried it).

    I'm thinking maybe a defined function that looks at frame number and conditionally does a SelectEvery based on that?
    Quote Quote  
  2. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    What, no takers? I thought we had experts around here.

    The best I've been able to come up with is to use Don Graft's MultiDecimate, but instead of running the first pass, generate a bogus first pass text file with VB that lists all the duplicate frames ... so then MultiDecimate's 2nd pass can take them out. Should work ...
    Quote Quote  
  3. Nah, MultiDecimate has a 250 frame/cycle maximum. SmartDecimate may be able to do it. One sample script would go:

    AssumeTFF() #Set the Field Order-if BFF, then AssumeBFF()
    SmartDecimate(801,2000)

    If that doesn't work, or doesn't work well enough, you might try the AviSynth forum at Doom9.
    Quote Quote  
  4. Instead of selecting what you want to keep (SelectEvery), why not select what you want to get rid of (Trim).

    It would involve a counter, but i'm sure it could be done. Besides, your keeping alot more frames than your throwing away.
    Quote Quote  
  5. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    Actually MultiDecimate DID work, woo-hoo!

    The 250 limit is only on the N of M methods, if you use Global Naive, it just eliminates every dup - which you can feed it with a text file like I said. I wrote a little proggie to generate the list.

    The pattern is actually 199 dups per 1200 frames, by the way.
    Quote Quote  
  6. Originally Posted by MrMoody
    Actually MultiDecimate DID work, woo-hoo!

    The 250 limit is only on the N of M methods, if you use Global Naive, it just eliminates every dup - which you can feed it with a text file like I said. I wrote a little proggie to generate the list.
    Good to know. I'll have to compare the results to SmartDecimate......maybe it's time for a change.
    Quote Quote  
  7. If I read your first post correctly, you said that there were 200 dupes in 1001 frames, which is what that script did. Oops, no it didn't. Should have been:

    SmartDecimate(801,2002)

    I gave you a script for 199 dupes in 1000 frames

    It's different (from Decomb) in that you put the number of frames kept (not decimated) in a cycle of fields (not frames).

    Glad you got it. I never had much luck with the Naive modes of MultiDecimate. But then I was working with silents film DVDs where the dupes weren't true dupes often, and it got screwed up, and the audio got out of synch. That's my name at the bottom of the MultiDecimateHelp.html, in the Acknowledgments. You'd think I'd know better its capabilities. But honestly, I stopped using it a long time ago, after SmartDecimate came out. Decomb was limited by a max 25 frame cycle, and with SmartDecimate you can just about name your cycle. The problem was that silent films on DVD often have cycles of up to several hundred frames that Decomb back then couldn't decimate properly.
    Quote Quote  
  8. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    Originally Posted by manono
    Glad you got it. I never had much luck with the Naive modes of MultiDecimate.
    Well, I'm not using it the way it was designed either, just force feeding it a prefab list of dupes to eliminate on pass 2.
    Quote Quote  
  9. This is along the lines of what i was thinking;



    http://www.avisynth.org/stickboy/
    Quote Quote  
  10. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    That would work if it takes 199 parameters.
    Quote Quote  
  11. Member MrMoody's Avatar
    Join Date
    May 2002
    Location
    NTSC Land
    Search Comp PM
    Here's samples if anyone wants to see. Both clips are cropped, resized to 640 width for PC aspect ratio, and XVID compressed for the samples; the original capture is 720x480 HuffYUV. Files are about 12MB each.

    Before, as captured with annoying stutter.
    After, processed using MultiDecimate(pass=2) and my artificially generated dfile.txt.
    Quote Quote  



Similar Threads

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