Using ExBlend (https://forum.doom9.org/showthread.php?t=175948) works nice.
Sadly there are no plans to port it to Vapoursynth atm.
So to properly do it I would first use Avisynth with ExBlend and export it to a lossless format and then filter with DPIR or a similar strong area cleaner and through Vapoursynth. The attached sample was created with Avisynth ExBlend and mclean, just as a proof of concept.
For those interessted here's also the script i used:
Cu Selur
Sadly there are no plans to port it to Vapoursynth atm.
So to properly do it I would first use Avisynth with ExBlend and export it to a lossless format and then filter with DPIR or a similar strong area cleaner and through Vapoursynth. The attached sample was created with Avisynth ExBlend and mclean, just as a proof of concept.
For those interessted here's also the script i used:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\LoadDll.dll")
LoadDLL("I:\Hybrid\64bit\Avisynth\avisynthPlugins\libfftw3f-3.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\DGDecodeNV.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\manyPlus.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\FFT3DFilter.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\neo-f3kdb.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\masktools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\mvtools2.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\AutoAdjust.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\aWarpSharpMT.dll")
LoadPlugin("I:\Hybrid\64bit\Avisynth\AVISYN~1\RgTools.dll")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\Zs_RF_Shared.avsi")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mClean.avs")
# loading source: E:\clips\Courage the Cowardly Dog S02E17E18 SOURCE.mkv
LoadPlugin("c:\Users\Selur\Desktop\ExBlend_x64.dll")
LoadPlugin("C:\Users\Selur\Desktop\RT_Stats_x64.dll")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mClean.avs")
Import("I:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: E:\clips\Courage the Cowardly Dog S02E17E18 SOURCE.mkv
# color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited
DGSource(dgi="E:\Temp\mkv_ae71be80b1642ad5291d33db23176b8a_853323747.dgi",fieldop=2)
# current resolution: 720x480
# filtering
ORG=Last
TMP=ORG
TMP.Exblend(mode=1, ExBfile=".\Exbfile", debug=true, lv=5, dv=5)
#return last Return Pass 1
RT_ForceProcess()
TMP=0 # kill TMP clip and call ExBlend filter destructor
ORG
SHOW=0
Exblend(mode=2,ExBfile=".\Exbfile",Decimate=False,Disp=1,Show=SHOW) # Non decimated, Blend pair replaced with 2 x copies of ex-blended frame. Little colored block flags ex-Blended frame pair.
#Exblend(mode=2,ExBfile=".\Exbfile") # Deblended & Decimated
mClean(thSAD=800,rn=1)
# Both below lines for Non Decimated ONLY.
#StackHorizontal(ORG,Last)
#Subtract(ORG,Last)
Return last
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.