BlackoutSlate

class aws_cdk.aws_medialive_alpha.BlackoutSlate(*, image=None, network_end_blackout=None, network_end_blackout_image=None, network_id=None, state=None)

Bases: object

(experimental) Blackout slate configuration for the channel.

Parameters:
  • image (Optional[FileLocation]) – (experimental) The blackout slate image. Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Only .bmp and .png supported. Default: - solid black

  • network_end_blackout (Optional[NetworkEndBlackout]) – (experimental) Whether to enable network end blackout (triggered by SCTE-35 Network End Segmentation Descriptor). Default: - ENABLED if networkEndBlackoutImage is provided, DISABLED otherwise

  • network_end_blackout_image (Optional[FileLocation]) – (experimental) The network end blackout image. Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Default: - solid black

  • network_id (Optional[str]) – (experimental) The EIDR network ID (e.g. ‘10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C’). Default: - no network ID

  • state (Optional[BlackoutSlateState]) – (experimental) Whether to enable the blackout slate. Default: - ENABLED if image is provided, DISABLED otherwise

Stability:

experimental

ExampleMetadata:

infused

Example:

# stack: Stack
# input: medialive.IInput
# bucket: s3.IBucket
# video: medialive.EncodeConfiguration


medialive.Channel(stack, "Channel",
    inputs=[medialive.InputAttachment(input=input)],
    avail_blanking=medialive.AvailBlanking(
        state=medialive.AvailBlankingState.ENABLED,
        image=medialive.FileLocation.from_bucket(bucket, "slates/avail.png")
    ),
    blackout_slate=medialive.BlackoutSlate(
        state=medialive.BlackoutSlateState.ENABLED,
        image=medialive.FileLocation.from_bucket(bucket, "slates/blackout.png")
    ),
    output_groups=[
        medialive.OutputGroupConfiguration.hls(
            name="hls",
            destinations=[medialive.OutputDestination.to_bucket(bucket, "live/stream")],
            outputs=[medialive.HlsOutputDefinition(encodes=[video], output_name="hls_out")]
        )
    ]
)

Attributes

image

(experimental) The blackout slate image.

Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Only .bmp and .png supported.

Default:
  • solid black

Stability:

experimental

network_end_blackout

(experimental) Whether to enable network end blackout (triggered by SCTE-35 Network End Segmentation Descriptor).

Default:
  • ENABLED if networkEndBlackoutImage is provided, DISABLED otherwise

Stability:

experimental

network_end_blackout_image

(experimental) The network end blackout image.

Provide a FileLocation referencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).

Default:
  • solid black

Stability:

experimental

network_id

(experimental) The EIDR network ID (e.g. ‘10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C’).

Default:
  • no network ID

Stability:

experimental

state

(experimental) Whether to enable the blackout slate.

Default:
  • ENABLED if image is provided, DISABLED otherwise

Stability:

experimental