This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Help with VHS upscale
#16
Using ExBlend (https://forum.doom9.org/showthread.php?t=175948) works nice.
Sadly there are no plans to port it to Vapoursynth atm. Sad
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
Reply


Messages In This Thread
Help with VHS upscale - by Miranda - 16.06.2022, 15:47
RE: Help with VHS upscale - by Selur - 16.06.2022, 15:57
RE: Help with VHS upscale - by Miranda - 17.06.2022, 10:25
RE: Help with VHS upscale - by Selur - 17.06.2022, 10:34
RE: Help with VHS upscale - by Selur - 18.06.2022, 07:54
RE: Help with VHS upscale - by Miranda - 18.06.2022, 11:00
RE: Help with VHS upscale - by Selur - 18.06.2022, 11:02
RE: Help with VHS upscale - by Miranda - 18.06.2022, 11:05
RE: Help with VHS upscale - by Selur - 18.06.2022, 11:12
RE: Help with VHS upscale - by Miranda - 18.06.2022, 12:16
RE: Help with VHS upscale - by Selur - 18.06.2022, 12:29
RE: Help with VHS upscale - by Miranda - 18.06.2022, 12:32
RE: Help with VHS upscale - by Selur - 18.06.2022, 13:51
RE: Help with VHS upscale - by Miranda - 18.06.2022, 13:55
RE: Help with VHS upscale - by Selur - 18.06.2022, 14:18
RE: Help with VHS upscale - by Selur - 21.06.2022, 19:50
RE: Help with VHS upscale - by Miranda - 21.06.2022, 20:01
RE: Help with VHS upscale - by Selur - 21.06.2022, 20:12
RE: Help with VHS upscale - by Miranda - 21.06.2022, 20:17
RE: Help with VHS upscale - by Selur - 21.06.2022, 20:23
RE: Help with VHS upscale - by Miranda - 21.06.2022, 20:25
RE: Help with VHS upscale - by Selur - 21.06.2022, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)