Skip to content

generic

Type Aliases:

Classes:

Attributes:

ConstantFormatVideoNode module-attribute

ConstantFormatVideoNode = VideoNode

Deprecated alias of vs.VideoNode

F_VD module-attribute

F_VD = TypeVar('F_VD', bound=Callable[..., VideoNode])

GenericVSFunction module-attribute

GenericVSFunction = Callable[..., VideoNode]

HoldsPropValue module-attribute

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

Types that can hold a vs.FrameProps.

HoldsPropValueT module-attribute

HoldsPropValueT = HoldsPropValue

Deprecated alias of HoldsPropValue.

HoldsVideoFormat module-attribute

HoldsVideoFormat = VideoNode | VideoFrame | VideoFormat

Types from which a clear VideoFormat can be retrieved.

HoldsVideoFormatT module-attribute

HoldsVideoFormatT = HoldsVideoFormat

Deprecated alias of HoldsVideoFormat.

VSFunction module-attribute

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

VideoFormatLike module-attribute

VideoFormatLike = PresetVideoFormat | VideoFormat

Types representing a clear VideoFormat.

VideoFormatT module-attribute

VideoFormatT = VideoFormatLike

Deprecated alias of VideoFormatLike.

VideoNodeIterableT module-attribute

VideoNodeIterableT = VideoNodeIterable

AudioNodeIterable

AudioNodeIterable = AudioNode | Iterable[AudioNodeIterable]

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
87
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
79
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
83
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
75
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
97
def __call__(self, clip: vs.VideoNode, *, planes: Planes = ..., **kwargs: Any) -> vs.VideoNode: ...