Skip to content
v2.274.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

GopSize Class ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const gopSize = medialive_alpha.GopSize.frames(123);

Methods ​

frames(value: number): GopSize // chainable@staticmethod def frames(value: int | float) -> GopSizepublic static GopSize frames(Number value)public static GopSize Frames(double value)func Frames(Value *float64) GopSizestatic#
GOP size in frames.

Must be a whole number.

seconds(value: number): GopSize // chainable@staticmethod def seconds(value: int | float) -> GopSizepublic static GopSize seconds(Number value)public static GopSize Seconds(double value)func Seconds(Value *float64) GopSizestatic#
GOP size in seconds.

May be fractional (e.g. 1.5).