Skip to content

generic

Type Aliases:

Classes:

Attributes:

GenericVSFunction module-attribute

GenericVSFunction = Callable[..., vs.VideoNode]

HoldsPropValue module-attribute

HoldsPropValue = (
    vs.FrameProps
    | vs.VideoFrame
    | vs.AudioFrame
    | vs.VideoNode
    | vs.AudioNode
    | Mapping[str, Any]
)

Types that can hold a vs.FrameProps.

HoldsVideoFormat module-attribute

HoldsVideoFormat = vs.VideoNode | vs.VideoFrame | vs.VideoFormat

Types from which a clear VideoFormat can be retrieved.

VSFunction module-attribute

Function that takes a VideoNode as its first argument and returns a VideoNode.

VideoFormatLike module-attribute

VideoFormatLike = vs.PresetVideoFormat | vs.VideoFormat

Types representing a clear VideoFormat.

AudioNodeIterable

AudioNodeIterable = AudioNode | Iterable[AudioNodeIterable]

HoldsNumpyFormat

HoldsNumpyFormat = NDArray[Any] | DTypeLike

Numpy types from which a VideoFormat can be retrieved.

MissingT

MissingT = Literal[MISSING]

RawNodeIterable

RawNodeIterable = RawNode | Iterable[RawNodeIterable]

VideoNodeIterable

VideoNodeIterable = VideoNode | Iterable[VideoNodeIterable]

VSFunctionAllArgs

Bases: Protocol

Methods:

__call__

__call__(clip: VideoNode, *args: Any, **kwargs: Any) -> VideoNode
Source code in vstools/types/generic.py
76
def __call__(self, clip: vs.VideoNode, *args: Any, **kwargs: Any) -> vs.VideoNode: ...

VSFunctionArgs

Bases: Protocol

Methods:

__call__

__call__(clip: VideoNode, *args: Any) -> VideoNode
Source code in vstools/types/generic.py
66
def __call__(self, clip: vs.VideoNode, *args: Any) -> vs.VideoNode: ...

VSFunctionKwArgs

Bases: Protocol

Methods:

__call__

__call__(clip: VideoNode, **kwargs: Any) -> VideoNode
Source code in vstools/types/generic.py
71
def __call__(self, clip: vs.VideoNode, **kwargs: Any) -> vs.VideoNode: ...

VSFunctionNoArgs

Bases: Protocol

Methods:

__call__

__call__(clip: VideoNode) -> VideoNode
Source code in vstools/types/generic.py
61
def __call__(self, clip: vs.VideoNode) -> vs.VideoNode: ...

VSFunctionPlanesArgs

Bases: VSFunctionKwArgs, Protocol

Methods:

__call__

__call__(clip: VideoNode, *, planes: Planes = ..., **kwargs: Any) -> VideoNode
Source code in vstools/types/generic.py
86
def __call__(self, clip: vs.VideoNode, *, planes: Planes = ..., **kwargs: Any) -> vs.VideoNode: ...