Video

~/.config/mpv/vapoursynth/nnedi3.vpy

Rina Kawakita 2020. 1. 8. 18:53
~/.config/mpv/vapoursynth/nnedi3.vpy
# vim: set ft=python:
## Use NNEDI3 to double the resolution of the video. This always performs a single doubling. Note that the vapoursynth-nnedi3 filter is so slow that this practically can't be used in realtime, so it's not much use in practice.

import vapoursynth as vs
core = vs.get_core()
clp = video_in
#clp = core.fmtc.bitdepth(clp, fulls=False, fulld=True, bits=32)
#clp = core.std.ShufflePlanes(clp, planes=0, colorfamily=vs.GRAY)
clp = core.nnedi3.nnedi3(clp, 0, True)
clp.set_output ()