Created
December 26, 2018 22:01
-
-
Save cutrus/bece7cb23e46d1d42869535f047adf7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import vapoursynth | |
| core = vapoursynth.get_core() | |
| if "video_in" in globals(): | |
| clip = video_in | |
| else: | |
| # run with vspipe | |
| clip = core.ffms2.Source(source=in_filename) | |
| clip=core.fmtc.bitdepth(clip, bits=32) | |
| clip=core.w2xc.Waifu2x(clip , noise=1, gpu=0, scale=4, block=1024, photo=False, log=False) | |
| clip=core.fmtc.bitdepth(clip, bits=8) | |
| clip.set_output() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment