Version History¶
VSUtil. A collection of general-purpose VapourSynth functions to be reused in modules and scripts.
0.7.0¶
New functions:
resolve_enum()added to public API (previously a private function used internally).get_lowest_value(),get_neutral_value(), andget_peak_value()for relevant min/median/max float values based on sample-type and bit depth.
Changes to existing functions:
Deprecated
enforce_cacheparameter offrame2clip().
0.6.0¶
Add constant for std.Expr variables
Lots of documentation changes
Improve internal enum usage
0.5.0¶
Split single
__init__.pyfile into submodules.New functions:
scale_value()added to scale values for bit depth, sample type, or range conversion.
0.4.0¶
New functions:
disallow_variable_format()anddisallow_variable_resolution()function decorators added that raise exceptions on variable-format or variable-res clips. Helpful for functions that assume the input clip’sformatis a validvapoursynth.Formatinstance.
Changes to existing functions:
Bug fixes:
Will no longer dither for 8-bit full-range to 16-bit full-range conversions in
depth().
0.3.0¶
Now uses Python 3.8 positional-only arguments (see PEP 570 for more information):
get_subsampling()clipparameterget_depth()clipparameterget_plane_size()frameparameterinsert_clip()clipparameterplane()clipandplanenoparametersget_y()clipparametersplit()clipparameterframe2clip()frameparameteris_image()filenameparameter
New classes:
New functions:
Added a bit depth converter,
depth(), that automatically handles dithering and format changes.
Changes to existing functions:
get_subsampling()now returnsNonefor formats without subsampling (i.e. RGB).get_w()only_evenparameter changed to keyword-only argument.
0.2.0¶
Changes to existing functions:
Added
enforce_cacheparameter toframe2clip().
0.1.0¶
Initial package release.
Included functions: