generic ¶
Classes:
-
ConstantFormatVideoNode
– -
VSFunctionAllArgs
– -
VSFunctionArgs
– -
VSFunctionKwArgs
– -
VSFunctionNoArgs
–
Attributes:
-
BoundVSMapValue
–Type variable that can be one of the types in a VSMapValue.
-
F_VD
– -
GenericVSFunction
– -
HoldsPropValueT
–Types that can hold :py:attr:
vs.FrameProps
. -
HoldsVideoFormatT
–Types from which a clear VideoFormat can be retrieved.
-
VSFunction
–Function that takes a :py:attr:
vs.VideoNode
as its first argument and returns a :py:attr:vs.VideoNode
. -
VSMapValue
–Values that a VSMap can hold, so all that a :py:attr:`vs.Function`` can accept in args and can return.
-
VSMapValueCallback
–Callback that can be held in a VSMap. It can only return values representable in a VSMap.
-
VideoFormatT
–Types representing a clear VideoFormat.
-
VideoNodeIterableT
– -
VideoNodeT
–
BoundVSMapValue module-attribute
¶
BoundVSMapValue = TypeVar('BoundVSMapValue', bound=VSMapValue)
Type variable that can be one of the types in a VSMapValue.
BoundVSMapValue_0 module-attribute
¶
BoundVSMapValue_0 = TypeVar('BoundVSMapValue_0', bound=VSMapValue)
BoundVSMapValue_1 module-attribute
¶
BoundVSMapValue_1 = TypeVar('BoundVSMapValue_1', bound=VSMapValue)
HoldsPropValueT module-attribute
¶
HoldsPropValueT = FrameProps | VideoFrame | AudioFrame | VideoNode | AudioNode
Types that can hold :py:attr:vs.FrameProps
.
HoldsVideoFormatT module-attribute
¶
HoldsVideoFormatT = VideoNode | VideoFrame | VideoFormat
Types from which a clear VideoFormat can be retrieved.
VSFunction module-attribute
¶
VSFunction = Union[
VSFunctionNoArgs[VideoNodeT, VideoNodeT],
VSFunctionArgs[VideoNodeT, VideoNodeT],
VSFunctionKwArgs[VideoNodeT, VideoNodeT],
VSFunctionAllArgs[VideoNodeT, VideoNodeT],
]
Function that takes a :py:attr:vs.VideoNode
as its first argument and returns a :py:attr:vs.VideoNode
.
VSMapValue module-attribute
¶
Values that a VSMap can hold, so all that a :py:attr:`vs.Function`` can accept in args and can return.
VSMapValueCallback module-attribute
¶
VSMapValueCallback = Callable[..., VSMapValue]
Callback that can be held in a VSMap. It can only return values representable in a VSMap.
VideoFormatT module-attribute
¶
VideoFormatT = PresetVideoFormat | VideoFormat
Types representing a clear VideoFormat.
VideoNodeIterableT module-attribute
¶
VideoNodeIterableT = Union[
VideoNodeT,
Iterable[VideoNodeT | Iterable[VideoNodeT]],
Iterable[VideoNodeT | Iterable[VideoNodeT | Iterable[VideoNodeT]]],
]
VideoNodeT_co module-attribute
¶
VideoNodeT_co = TypeVar('VideoNodeT_co', bound=VideoNode, covariant=True)
VideoNodeT_contra module-attribute
¶
VideoNodeT_contra = TypeVar(
"VideoNodeT_contra", bound=VideoNode, contravariant=True
)
ConstantFormatVideoNode ¶
VSFunctionAllArgs ¶
Bases: Protocol[VideoNodeT_contra, VideoNodeT_co]
Methods:
-
__call__
–
__call__ ¶
__call__(clip: VideoNodeT_contra, *args: Any, **kwargs: Any) -> VideoNodeT_co
Source code
98 99 |
|
VSFunctionArgs ¶
Bases: Protocol[VideoNodeT_contra, VideoNodeT_co]
Methods:
-
__call__
–
__call__ ¶
__call__(clip: VideoNodeT_contra, *args: Any) -> VideoNodeT_co
Source code
88 89 |
|
VSFunctionKwArgs ¶
Bases: Protocol[VideoNodeT_contra, VideoNodeT_co]
Methods:
-
__call__
–
__call__ ¶
__call__(clip: VideoNodeT_contra, **kwargs: Any) -> VideoNodeT_co
Source code
93 94 |
|
VSFunctionNoArgs ¶
Bases: Protocol[VideoNodeT_contra, VideoNodeT_co]
Methods:
-
__call__
–
__call__ ¶
__call__(clip: VideoNodeT_contra) -> VideoNodeT_co
Source code
83 84 |
|