I'm using Vegas Pro 13 64bit on a Windows 7 64bit PC, and I have very little knowledge when it comes to scripting.
I use Send2HandBrake to make smooth slow motion mp4 clips. I adapted the Send2HandBrake vegas.avs script using a script I found for generating slow motion clips by frameserving to VirtualDub. It works pretty well where the original video is in progressive format, only occasionally showing artifacts at the edges of fast moving objects. My adapted script is as follows:
OpenDMLSource ("C:\frameserver\source\vegas.avi")
AssumeFrameBased ()
Trim (0, FrameCount-1-Floor(FrameRate))
ConvertToYUY2 (matrix="rec709")
ColorYUV (levels="TV->PC")
loadplugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mvtools2\mvtools2.dll")
# MSuper gets the clip and prepares it for subsequent operations
# pel=2 defines the accuracy of motion estimation "2" indicates 1/2 pixelsuper = MSuper(pel=2)
# MAnalyse will Get prepared multilevel super clip, estimate motion
# The following two lines specify a forward & backward search of images.
backward_vec = MAnalyse(super, overlap=4, isb = true, search=3)
forward_vec = MAnalyse(super, overlap=4, isb = false, search=3)
MFlowFps(super, backward_vec, forward_vec, num=4*FramerateNumerator(last),den=FramerateDenominator(last))assumefps(29.97)
However results where the original video is interlaced are very poor, showing a lot of artifacts/pixelation where there is even moderate movement.
I'm wondering if there is anything I can do to adapt my script so that it will work with interlaced video, or perhaps there are some settings that might be tweaked within Vegas prior to frameserving to Handbrake that would solve the problem.
There is another script out there for frameserving interlaced video to VirtualDub. I tried to adapt it in a similar way but couldn't get it to work with Send2HandBrake. It does a good job with VirtualDub but that limits output to .avi and outdated codecs.
Any help with this would be much appreciated.
TIA