rlaphoenix / pvsfunc Goto Github PK
View Code? Open in Web Editor NEWPHOENiX's compilation of VapourSynth Script's and Functions
License: GNU General Public License v3.0
PHOENiX's compilation of VapourSynth Script's and Functions
License: GNU General Public License v3.0
It would be helpful for the documentation to include a line about installing vapoursynth script dependencies with VSrepo, or just linking them in the readme in general. It was helpful to link the script repository links in the error messages, but still a little frustrating to run the script and find a new dependency to install each time.
vsrepo intall mvsfunc havsfunc d2v lsmas
You may also want to consider adding type annotations to some of the methods like PDeinterlacer.VoidWeave
. For example, if called through PDeinterlacer(clip, kernel=PDeinterlacer.VoidWeave)
, this results in an error.
TypeError: VoidWeave() missing 1 required positional argument: 'color'
From this error I had to dig through the source to see what you expected the argument to look like. I was surprised when I couldn't even find an example from VSMPEG/config.example.yml. I'm assuming from the docstring for VoidWeave that the color is supposed to be RGB green though, so maybe the type annotation could look like this.
VoidWeave(cls, clip, tff: int, color: float[] = [0, 255, 0], bob=False) -> VideoNode
I'm kind of new to using VapourSynth so I don't know if the type annotations I gave are 100% accurate, or what the type should be for clip
, but hoepfully this helps. TFF is supposed to be a boolean integer, right?
Maybe I'm just using it wrong, but I assume it should be used like any source filter?
With clip = PSourcer(r"f:\ep1_1.vob", debug=False)
I get this error AttributeError: 'PSourcer' object has no attribute 'set_output'
The d2v is correctly generated. All modules installed via pip.
Windows 10 x64
VS R52
pvsfunc 3.15.4
import vapoursynth as vs
core = vs.core
from pvsfunc import PSourcer
clip = PSourcer(r"f:\ep1_1.vob", debug=False)
clip.set_output()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.