View Single Post
Old 11th July 2020, 11:56   #7  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by vigan1 View Post

Now I have to run the vpy script in Virtualdub2 from "Open Video file".
It should be 32bit processing ? In the github document it said default is 1 (=32bit).
use
clip = mvf.Depth(clip, depth=32)
Quote:
Originally Posted by vigan1 View Post
Is there a way to have a before (left) and after vapoursynth (right) preview in virtualdub2 ?
Thank you guys I am happy with the results of vapoursynth !
What is the best denoiser you recommend ?
Code:
clip = core.lsmas.LWLibavSource(source=r"C:\videos\cfhdstock10bit422.avi")
source = clip
clip = mvf.Depth(clip, depth=32)
clip = mvf.BM3D(clip, sigma=5.0, profile1="fast", radius1=1)

clip= core.std.StackHorizontal([clip.text.Text("Denoised"), mvf.Depth(source, depth=32).text.Text("Source")])

# or use this instead for comparison
# clip=core.std.Interleave([clip.text.Text("Denoised"), mvf.Depth(source, depth=32).text.Text("Source")])

clip.set_output()

There is no best denoiser, however there are some good (and faster) denoisers such as:
- MCTemporalDenoise
- SMDegrain
- knlmeans

Code:
import havsfunc as haf #see doc  https://github.com/HomeOfVapourSynthEvolution/havsfunc/blob/master/havsfunc.py
clip = haf.MCTemporalDenoise(clip, settings="medium")
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote