Selur's Little Message Board

Full Version: Help with VHS upscale
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Sorry, mixed up threads. Wink
I just sent you a sample via PM.
Looked at it.
  • 4:1:1 -> argh
  • there are two types of ghosting I see
    • ghosting/blending around scene changes which seem like intended blends since they some times last over a few frames
    • ghosting the scene with the guy and the knife cutting the robe
    Sadly for both cases, I have no clue how to get rid of these. Folks over at videohelp might be able to help since they got way more experience filtering vhs captures than I do. Smile

    Cu Selur
As I thought, it's not a good tape.  Sad

There was actually a UK PAL VHS released back in the 1990s, but it is impossible to find.
Especially the ghosting at the scene changes seem like intentional crossfading at least on some scenes.
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:
Code:
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
Will this also work on the shot on video movie clip I sent over?
Argh,... sorry, posted to the wrong thread again.
But acctually it might work,.. -> I'll give it a try and report back. Smile
Thanks. I've not actually used AVIsynth with scripts before. Confused
It works somewhat in some scenes,..

ExBlend + mclean
[Image: one.png]
[Image: two.png]
if you don't know about Avisynth scripting it might not be worth the effort,..

Cu Selur
Pages: 1 2 3