GopSize

class aws_cdk.aws_medialive_alpha.GopSize(*args: Any, **kwargs)

Bases: object

(experimental) GOP size (keyframe interval). Use the static factory methods to specify in frames or seconds.

The value must be greater than zero. When expressed in frames it must be a whole number; when expressed in seconds it may be fractional.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

gop_size = medialive_alpha.GopSize.frames(123)

Static Methods

classmethod frames(value)

(experimental) GOP size in frames.

Must be a whole number.

Parameters:

value (Union[int, float])

Stability:

experimental

Return type:

GopSize

classmethod seconds(value)

(experimental) GOP size in seconds.

May be fractional (e.g. 1.5).

Parameters:

value (Union[int, float])

Stability:

experimental

Return type:

GopSize