I have an animated feature film ripped from Blu-ray where I ripped all the duplicate frames out with DeDup. And you guys know how animated films commonly have a combination of 24, 12 or 8 fps. A few long scenes of just panning from one landscape to another are sadly 12 fps (every second frame a duplicate) which look really choppy but the good news is they are great candidates for frame interpolation.
My question is how to properly do this.
My current AVS script loads the dup.txt and creates timecodes.txt so one of these will have to be tediously edited. I'm wondering if there's a better way to work the Interframe function smoothly with DeDup.
+ Reply to Thread
Results 1 to 3 of 3
Thread: Editing a VFR video
You would have to specify the interpolations sections in the script, and manually adjust the timecodes.txt to reflect the changes
That's what I was afraid of. I managed to do this with Excel with Showframenumber() as a guide as well as MSWord and Notepad but it was so annoying and unintuitive, it took forever just for these few scenes. Look how ugly this script looks:
vid=avisource("M:\m.avi").DeDup(threshold=0.4, trigger2=100, show=false, dec=true, maxcopies=20, maxdrops=20, log="dupmon.txt", times="timesmon.txt").assumeFPS(29.97) Setmemorymax(512) SetMTMode(3,8) PluginPath = "C:\Program Files\AviSynth 2.5\plugins\" LoadPlugin(PluginPath+"svpflow1.dll") LoadPlugin(PluginPath+"svpflow2.dll") Import(PluginPath+"InterFrame2.avsi") SetMTMode(2) a1=vid.trim(0,106239) b1=vid.trim(106240,106737) i1=b1.InterFrame(Cores=8).assumeFPS(29.97) a2=vid.trim(106738,113301) b2=vid.trim(113302,113899) i2=b2.InterFrame(Cores=8).assumeFPS(29.97) a3=vid.trim(113900,114658) b3=vid.trim(114659,114946) i3=b3.InterFrame(Cores=8).assumeFPS(29.97) a4=vid.trim(114947,116074) b4=vid.trim(116075,116319) i4=b4.InterFrame(Cores=8).assumeFPS(29.97) a5=vid.trim(116320,0) a1+i1+a2+i2+a3+i3+a4+i4+a5