cutcutcodec.core.filter.subclip.FilterSubclip
- class cutcutcodec.core.filter.subclip.FilterSubclip(delay: Real = Fraction(0, 1), duration_max: Real = inf)[source]
Extract a segment from a stream.
Attributes
- delayFraction
The offset from the parent stream (readonly).
- duration_maxFraction or inf
The maximum duration beyond which the flows do not return anything (readonly).
Initialise and create the class.
Parameters
- delay: numbers.Real, default=0
The time lapse from the parent stream. 0 means that the beginning of the new stream coincides with the beginning of the stream that arrives at this node. A delay of x >= 0 seconds means that the first x seconds of the stream arriving on this filter are discarded.
- duration_maxnumbers.Real, default=inf
The maximal duration of the new stream.