VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    I hate to be a weeny, But I can't seem to figure this one out.

    For whetever reason I have a video that has duplicate frames
    every so often. Vdub shows a K frame followed by a D frame
    at the duplicate pairs. My capture card did it. It's an MJPEG AVI )
    This is causing A/V sync every time there is a duplicate.

    There is one (or two) about every sec. so manually deleting them
    is very long.

    I am trying to write a AviSynth script to fix this. It doesn't work so far.



    * this is close but no cigar

    avisource( "shogun5.avi" ).ConvertToYV12( )


    ShowFrameNumber() # Debug


    ConditionalFilter(last , last.trim(1,0) , last , "YDifferenceToNext()" , "<", "1.0" , true )

    Frames 26 and 27 in the source are duplicates, The frame sequence out of this filter is ... 25 - 26 - 28 - 28 - 29 - 30 ... etc.
    It got 27 OK but now there's 2 28s !

    Does AviSynth have a looping structure ? Not in the Docs i've seen.

    Any clues ?
    Quote Quote  
  2. Member
    Join Date
    Jun 2002
    Location
    United States
    Search Comp PM
    you may know this already but go to doom9.org and they can probably help you.
    Quote Quote  
  3. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    Having a lot of trouble getting in there lately
    Quote Quote  



Similar Threads

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