Skip to content

Mr-Z-2697/z-vsPyScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

z-vsPyScripts

Z's weird vapoursynth python script(s)

Usage

zvs

import zvs

.env.zvs(.global)

NOT necessary. Will fall back to default values if it can't be found.
The global one resides alongside the main script file zvs.py, and a local one can override global values, you should place it somewhere can be found by python-dotenv, like your project root folder.(that means follow the python-dotenv documents there, yes I'm lazy)

vsenv

from vsenv import *
core.num_threads=nn
core.max_cache_size=xxx #change these values can work inside vsenv.py but like if you preview in vsedit it only works for first time so not very well... but other than that i think it's viable

scene_detect

it's recommended to uninstall any other variant/flavor/EP of onnxruntime before you install your desired ort version/package
pip uninstall onnxruntime[-xxx]
pip install onnxruntime-directml or what ever but i recommend dml for windows

import scene_detect as scd
clip=scd.scene_detect(clip[,onnx_path=<str>,thresh=0.92,ort_provider='Dml' et cetera et cetera ])

Requirements (for zvs)

python packages

python scripts

plugins (most of which should be optional when not using related function and this list is probably incomplete)

About

Z's weird vapoursynth python script(s)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages