Most concert footage is pure interlaced video so you'll have two options: deinterlace and encode at 29.97fps or use MVConvert60ito24p and get a progressive 23.976fps output.
Here's the main function:
Code:
function mvconvert60ito24p(clip x, int "mode")
{
mode = default(mode,2)
mbl=0.1
ya=x.mvinterpolate(nb = 4,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat")
yb=x.duplicateframe(1).reverse().mvinterpolate(nb = 4,bl = 0.5-mbl, el = 0.5+mbl, wf = "hat").reverse()
y=overlay(Ya,Yb,opacity=0.5)
interleave(y,x)
mode0=selectevery(5,2)
mode1=overlay(selectevery(5,3),selectevery(5,2),opacity=0.5)
mode2=overlay(overlay(selectevery(5,1),selectevery(5,3),opacity=0.5),selectevery(5,2),opacity=0.3)
mode3=overlay(overlay(selectevery(5,0),selectevery(5,3),opacity=0.5),overlay(selectevery(5,1),selectevery(5,2),opacity=0.5),opacity=0.5)
(mode==0) ? mode0 : (mode==1) ? mode1 : (mode==2) ? mode2 : mode3
}
And here's KernelBob():
Code:
function kernelbob(clip a, int th)
{ ord = getparity(a) ? 1 : 0
f=a.kerneldeint(order=ord, sharp=true, twoway=true, threshold=th)
e=a.separatefields.trim(1,0).weave.kerneldeint(order=1-ord, sharp=true, twoway=true, threshold=th)
interleave(f,e).assumeframebased
}
Copy-paste both of them in Notepad for example and save to your plugins folder with the extension
.avsi so you don't need to load them in your script whenever you need them.
You'll also need to download KernelDeint.
Usage is simple:
MPEG2Source("path\clip.d2v")
KernelBob(7)
MVConvert60ito24p()
This should give you a smooth progressive stream. You can of course do all the filtering after the functions.