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 ?
+ Reply to Thread
Results 1 to 3 of 3
-
-
you may know this already but go to doom9.org and they can probably help you.
Similar Threads
-
A couple of questions for the experts?
By Rumdaddy in forum Newbie / General discussionsReplies: 6Last Post: 22nd Sep 2011, 12:54 -
HDI Dune 3.0 experts
By neworldman in forum Media Center PC / MediaCentersReplies: 3Last Post: 16th Sep 2010, 14:54 -
Any Streaming experts browsing right now?
By Chala in forum Newbie / General discussionsReplies: 2Last Post: 13th Sep 2010, 18:44 -
A problem for video experts
By Yonidan in forum Capturing and VCRReplies: 115Last Post: 2nd Dec 2008, 01:55 -
Nero experts, need some help
By vitamine in forum ComputerReplies: 2Last Post: 15th Dec 2007, 16:42