cutcutcodec.core.classes.stream_video.StreamVideoWrapper

class cutcutcodec.core.classes.stream_video.StreamVideoWrapper(node: Filter, index: Integral)[source]

Allow to dynamically transfer the methods of an instanced video stream.

This can be very useful for implementing filters.

Attribute

streamcutcutcodec.core.classes.stream_video.StreamVideo

The video stream containing the properties to be transferred (readonly). This stream is one of the input streams of the parent node.

Initialise and create the class.

Parameters

nodecutcutcodec.core.classes.filter.Filter

The parent node, transmitted to cutcutcodec.core.classes.stream.Stream.

indexnumber.Integral

The index of the video stream among all the input streams of the node. 0 for the first, 1 for the second …

property is_space_continuous: bool

Return True if the data is continuous in the spacial domain, False if it is discrete.