For Deshaker, I can improve on memory limitations with something like this; but it does bring quite a few limitations that will be a hassle to program around for automatic script generation. But this script works. However, I can't use MT and CPU usage is only 50-60%.
Code:
P="Encoder\"
AddAutoloadDir(P, true)
MP_Pipeline("""
P="Encoder\"
LoadPlugin(P+"LSMASHSource.dll")
LoadPlugin(P+"MVTools2.dll")
Import(P+"SMDegrain.avsi")
LoadPlugin(P+"KNLMeansCL.dll")
LoadPlugin(P+"Dither.dll")
Import(P+"Dither.avsi")
file="F:\NaturalGrounding\Convert\TestimonialAndreas.MOV"
LWLibavVideoSource(file, cache=True)
Trim(0, 500)
SMDegrain(prefilter=4, tv_range=false, lsb=true)
### prefetch: 5, 5
### ###
""")
LoadVirtualDubPlugin(P+"deshaker.vdf", "deshaker", preroll=0)
ConvertToRGB32(matrix="PC709")
deshaker("19|2|30|4|1|0|1|0|640|640|1|2|1000|1000|1000|1000|4|1|3|2|8|30|300|4|F:\Job_Deshaker.log|0|0|0|0|0|0|0|0|0|0|0|0|0|1|15|15|5|15|1|1|30|30|0|0|0|0|1|0|0|10|1000|1|88|1|1|20|5000|100|20|1|0")
Here are some comparison images on the first frame of the video.
Original
AVI after SMDegrain (which served as the source for Mercalli)
Mercalli - no zoom, "Vibrations/Wobble" mode
Deshaker
In the Mercalli screenshot, the wood loses the sharpness of its grain and there is a yellow decoloration. I have run SMDegrain(prefetch=4) on both. In the case of Mercalli, the first script was exported as AVI.