[ aws . mediapackagev2 ]
create-origin-endpoint
Description
The endpoint is attached to a channel, and represents the output of the live content. You can associate multiple endpoints to a single channel. Each endpoint gives players and downstream CDNs (such as Amazon CloudFront) access to the content for playback. Content can’t be served from a channel until it has an endpoint. You can create only one endpoint with each request.
See also: AWS API Documentation
Synopsis
create-origin-endpoint
--channel-group-name <value>
--channel-name <value>
--origin-endpoint-name <value>
--container-type <value>
[--segment <value>]
[--client-token <value>]
[--description <value>]
[--startover-window-seconds <value>]
[--hls-manifests <value>]
[--low-latency-hls-manifests <value>]
[--dash-manifests <value>]
[--force-endpoint-error-configuration <value>]
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--channel-group-name (string)
--channel-name (string)
--origin-endpoint-name (string)
--container-type (string)
The type of container to attach to this origin endpoint. A container type is a file format that encapsulates one or more media streams, such as audio and video, into a single file. You can’t change the container type after you create the endpoint.
Possible values:
TSCMAF
--segment (structure)
The segment configuration, including the segment name, duration, and other configuration values.
SegmentDurationSeconds -> (integer)
SegmentName -> (string)
TsUseAudioRenditionGroup -> (boolean)
IncludeIframeOnlyStreams -> (boolean)
TsIncludeDvbSubtitles -> (boolean)
Scte -> (structure)
The SCTE configuration options in the segment settings.
ScteFilter -> (list)
The SCTE-35 message types that you want to be treated as ad markers in the output.
(string)
Encryption -> (structure)
The parameters for encrypting content.
ConstantInitializationVector -> (string)
EncryptionMethod -> (structure)
The encryption method to use.
TsEncryptionMethod -> (string)
CmafEncryptionMethod -> (string)
KeyRotationIntervalSeconds -> (integer)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don’t enter an interval, content keys aren’t rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
SpekeKeyProvider -> (structure)
The parameters for the SPEKE key provider.
EncryptionContractConfiguration -> (structure)
Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.
Value description:
- PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.
- PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.
- PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.
- SHARED - Use the same content key for all of the audio and video tracks in your stream.
- UNENCRYPTED - Don’t encrypt any of the audio tracks in your stream.
PresetSpeke20Video -> (string)
A collection of video encryption presets.
Value description:
- PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.
- PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.
- PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- SHARED - Use the same content key for all of the video and audio tracks in your stream.
- UNENCRYPTED - Don’t encrypt any of the video tracks in your stream.
ResourceId -> (string)
The unique identifier for the content. The service sends this to the key server to identify the current endpoint. How unique you make this depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
The following example shows a resource ID: MovieNight20171126093045
DrmSystems -> (list)
The DRM solution provider you’re using to protect your content during distribution.
(string)
RoleArn -> (string)
The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
Valid format: arn:aws:iam::{accountID}:role/{name} . The following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
Url -> (string)
The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in the same AWS Region as MediaPackage and must start with https://.
The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection
JSON Syntax:
{
"SegmentDurationSeconds": integer,
"SegmentName": "string",
"TsUseAudioRenditionGroup": true|false,
"IncludeIframeOnlyStreams": true|false,
"TsIncludeDvbSubtitles": true|false,
"Scte": {
"ScteFilter": ["SPLICE_INSERT"|"BREAK"|"PROVIDER_ADVERTISEMENT"|"DISTRIBUTOR_ADVERTISEMENT"|"PROVIDER_PLACEMENT_OPPORTUNITY"|"DISTRIBUTOR_PLACEMENT_OPPORTUNITY"|"PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY"|"DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"|"PROGRAM", ...]
},
"Encryption": {
"ConstantInitializationVector": "string",
"EncryptionMethod": {
"TsEncryptionMethod": "AES_128"|"SAMPLE_AES",
"CmafEncryptionMethod": "CENC"|"CBCS"
},
"KeyRotationIntervalSeconds": integer,
"SpekeKeyProvider": {
"EncryptionContractConfiguration": {
"PresetSpeke20Audio": "PRESET_AUDIO_1"|"PRESET_AUDIO_2"|"PRESET_AUDIO_3"|"SHARED"|"UNENCRYPTED",
"PresetSpeke20Video": "PRESET_VIDEO_1"|"PRESET_VIDEO_2"|"PRESET_VIDEO_3"|"PRESET_VIDEO_4"|"PRESET_VIDEO_5"|"PRESET_VIDEO_6"|"PRESET_VIDEO_7"|"PRESET_VIDEO_8"|"SHARED"|"UNENCRYPTED"
},
"ResourceId": "string",
"DrmSystems": ["CLEAR_KEY_AES_128"|"FAIRPLAY"|"PLAYREADY"|"WIDEVINE"|"IRDETO", ...],
"RoleArn": "string",
"Url": "string"
}
}
}
--client-token (string)
--description (string)
--startover-window-seconds (integer)
--hls-manifests (list)
An HTTP live streaming (HLS) manifest configuration.
(structure)
Create an HTTP live streaming (HLS) manifest configuration.
ManifestName -> (string)
ChildManifestName -> (string)
ScteHls -> (structure)
The SCTE configuration.
AdMarkerHls -> (string)
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
- DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE .
StartTag -> (structure)
To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
TimeOffset -> (float)
Precise -> (boolean)
ManifestWindowSeconds -> (integer)
ProgramDateTimeIntervalSeconds -> (integer)
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
UrlEncodeChildManifest -> (boolean)
Shorthand Syntax:
ManifestName=string,ChildManifestName=string,ScteHls={AdMarkerHls=string},StartTag={TimeOffset=float,Precise=boolean},ManifestWindowSeconds=integer,ProgramDateTimeIntervalSeconds=integer,FilterConfiguration={ManifestFilter=string,Start=timestamp,End=timestamp,TimeDelaySeconds=integer,ClipStartTime=timestamp},UrlEncodeChildManifest=boolean ...
JSON Syntax:
[
{
"ManifestName": "string",
"ChildManifestName": "string",
"ScteHls": {
"AdMarkerHls": "DATERANGE"
},
"StartTag": {
"TimeOffset": float,
"Precise": true|false
},
"ManifestWindowSeconds": integer,
"ProgramDateTimeIntervalSeconds": integer,
"FilterConfiguration": {
"ManifestFilter": "string",
"Start": timestamp,
"End": timestamp,
"TimeDelaySeconds": integer,
"ClipStartTime": timestamp
},
"UrlEncodeChildManifest": true|false
}
...
]
--low-latency-hls-manifests (list)
A low-latency HLS manifest configuration.
(structure)
Create a low-latency HTTP live streaming (HLS) manifest configuration.
ManifestName -> (string)
ChildManifestName -> (string)
ScteHls -> (structure)
The SCTE configuration.
AdMarkerHls -> (string)
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
- DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE .
StartTag -> (structure)
To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
TimeOffset -> (float)
Precise -> (boolean)
ManifestWindowSeconds -> (integer)
ProgramDateTimeIntervalSeconds -> (integer)
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
UrlEncodeChildManifest -> (boolean)
Shorthand Syntax:
ManifestName=string,ChildManifestName=string,ScteHls={AdMarkerHls=string},StartTag={TimeOffset=float,Precise=boolean},ManifestWindowSeconds=integer,ProgramDateTimeIntervalSeconds=integer,FilterConfiguration={ManifestFilter=string,Start=timestamp,End=timestamp,TimeDelaySeconds=integer,ClipStartTime=timestamp},UrlEncodeChildManifest=boolean ...
JSON Syntax:
[
{
"ManifestName": "string",
"ChildManifestName": "string",
"ScteHls": {
"AdMarkerHls": "DATERANGE"
},
"StartTag": {
"TimeOffset": float,
"Precise": true|false
},
"ManifestWindowSeconds": integer,
"ProgramDateTimeIntervalSeconds": integer,
"FilterConfiguration": {
"ManifestFilter": "string",
"Start": timestamp,
"End": timestamp,
"TimeDelaySeconds": integer,
"ClipStartTime": timestamp
},
"UrlEncodeChildManifest": true|false
}
...
]
--dash-manifests (list)
A DASH manifest configuration.
(structure)
Create a DASH manifest configuration.
ManifestName -> (string)
ManifestWindowSeconds -> (integer)
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
MinUpdatePeriodSeconds -> (integer)
MinBufferTimeSeconds -> (integer)
SuggestedPresentationDelaySeconds -> (integer)
SegmentTemplateFormat -> (string)
Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate .
Value description:
-
NUMBER_WITH_TIMELINE- The$Number$variable is used in themediaURL. The value of this variable is the sequential number of the segment. A fullSegmentTimelineobject is presented in eachSegmentTemplate.
PeriodTriggers -> (list)
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Type ADS to indicate that AWS Elemental MediaPackage must create periods in the output manifest that correspond to SCTE-35 ad markers in the input source. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage .
(string)
ScteDash -> (structure)
The SCTE configuration.
AdMarkerDash -> (string)
Choose how ad markers are included in the packaged content. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output.
Value description:
-
Binary- The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML. -
XML- The SCTE marker is expressed fully in XML.
DrmSignaling -> (string)
UtcTiming -> (structure)
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
TimingMode -> (string)
TimingSource -> (string)
Profiles -> (list)
The profile that the output is compliant with.
(string)
BaseUrls -> (list)
The base URLs to use for retrieving segments.
(structure)
The base URLs to use for retrieving segments. You can specify multiple locations and indicate the priority and weight for when each should be used, for use in mutli-CDN workflows.
Url -> (string)
ServiceLocation -> (string)
DvbPriority -> (integer)
DvbWeight -> (integer)
ProgramInformation -> (structure)
Details about the content that you want MediaPackage to pass through in the manifest to the playback device.
Title -> (string)
Source -> (string)
Copyright -> (string)
LanguageCode -> (string)
MoreInformationUrl -> (string)
DvbSettings -> (structure)
For endpoints that use the DVB-DASH profile only. The font download and error reporting information that you want MediaPackage to pass through to the manifest.
FontDownload -> (structure)
Subtitle font settings.
Url -> (string)
MimeType -> (string)
The mimeType of the resource that’s at the font download URL.
For information about font MIME types, see the MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks document.
FontFamily -> (string)
fontFamily name for subtitles, as described in EBU-TT-D Subtitling Distribution Format .ErrorMetrics -> (list)
Playback device error reporting settings.
(structure)
For use with DVB-DASH profiles only. The settings for error reporting from the playback device that you want Elemental MediaPackage to pass through to the manifest.
ReportingUrl -> (string)
Probability -> (integer)
Compactness -> (string)
The layout of the DASH manifest that MediaPackage produces. STANDARD indicates a default manifest, which is compacted. NONE indicates a full manifest.
For information about compactness, see DASH manifest compactness in the Elemental MediaPackage v2 User Guide .
SubtitleConfiguration -> (structure)
The configuration for DASH subtitles.
TtmlConfiguration -> (structure)
Settings for TTML subtitles.
TtmlProfile -> (string)
IMSC is the default profile. EBU-TT-D produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see EBU-TT-D Subtitling Distribution Format .JSON Syntax:
[
{
"ManifestName": "string",
"ManifestWindowSeconds": integer,
"FilterConfiguration": {
"ManifestFilter": "string",
"Start": timestamp,
"End": timestamp,
"TimeDelaySeconds": integer,
"ClipStartTime": timestamp
},
"MinUpdatePeriodSeconds": integer,
"MinBufferTimeSeconds": integer,
"SuggestedPresentationDelaySeconds": integer,
"SegmentTemplateFormat": "NUMBER_WITH_TIMELINE",
"PeriodTriggers": ["AVAILS"|"DRM_KEY_ROTATION"|"SOURCE_CHANGES"|"SOURCE_DISRUPTIONS"|"NONE", ...],
"ScteDash": {
"AdMarkerDash": "BINARY"|"XML"
},
"DrmSignaling": "INDIVIDUAL"|"REFERENCED",
"UtcTiming": {
"TimingMode": "HTTP_HEAD"|"HTTP_ISO"|"HTTP_XSDATE"|"UTC_DIRECT",
"TimingSource": "string"
},
"Profiles": ["DVB_DASH", ...],
"BaseUrls": [
{
"Url": "string",
"ServiceLocation": "string",
"DvbPriority": integer,
"DvbWeight": integer
}
...
],
"ProgramInformation": {
"Title": "string",
"Source": "string",
"Copyright": "string",
"LanguageCode": "string",
"MoreInformationUrl": "string"
},
"DvbSettings": {
"FontDownload": {
"Url": "string",
"MimeType": "string",
"FontFamily": "string"
},
"ErrorMetrics": [
{
"ReportingUrl": "string",
"Probability": integer
}
...
]
},
"Compactness": "STANDARD"|"NONE",
"SubtitleConfiguration": {
"TtmlConfiguration": {
"TtmlProfile": "IMSC_1"|"EBU_TT_D_101"
}
}
}
...
]
--force-endpoint-error-configuration (structure)
The failover settings for the endpoint.
EndpointErrorConditions -> (list)
The failover conditions for the endpoint. The options are:
-
STALE_MANIFEST- The manifest stalled and there are no new segments or parts. -
INCOMPLETE_MANIFEST- There is a gap in the manifest. -
MISSING_DRM_KEY- Key rotation is enabled but we’re unable to fetch the key for the current key period. -
SLATE_INPUT- The segments which contain slate content are considered to be missing content.
(string)
Shorthand Syntax:
EndpointErrorConditions=string,string
JSON Syntax:
{
"EndpointErrorConditions": ["STALE_MANIFEST"|"INCOMPLETE_MANIFEST"|"MISSING_DRM_KEY"|"SLATE_INPUT", ...]
}
--tags (map)
A comma-separated list of tag key:value pairs that you define. For example:
"Key1": "Value1",
"Key2": "Value2"
key -> (string)
value -> (string)
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Output
Arn -> (string)
ChannelGroupName -> (string)
ChannelName -> (string)
OriginEndpointName -> (string)
ContainerType -> (string)
Segment -> (structure)
The segment configuration, including the segment name, duration, and other configuration values.
SegmentDurationSeconds -> (integer)
SegmentName -> (string)
TsUseAudioRenditionGroup -> (boolean)
IncludeIframeOnlyStreams -> (boolean)
TsIncludeDvbSubtitles -> (boolean)
Scte -> (structure)
The SCTE configuration options in the segment settings.
ScteFilter -> (list)
The SCTE-35 message types that you want to be treated as ad markers in the output.
(string)
Encryption -> (structure)
The parameters for encrypting content.
ConstantInitializationVector -> (string)
EncryptionMethod -> (structure)
The encryption method to use.
TsEncryptionMethod -> (string)
CmafEncryptionMethod -> (string)
KeyRotationIntervalSeconds -> (integer)
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don’t enter an interval, content keys aren’t rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
SpekeKeyProvider -> (structure)
The parameters for the SPEKE key provider.
EncryptionContractConfiguration -> (structure)
Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
PresetSpeke20Audio -> (string)
A collection of audio encryption presets.
Value description:
- PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.
- PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.
- PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.
- SHARED - Use the same content key for all of the audio and video tracks in your stream.
- UNENCRYPTED - Don’t encrypt any of the audio tracks in your stream.
PresetSpeke20Video -> (string)
A collection of video encryption presets.
Value description:
- PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.
- PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.
- PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.
- PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.
- SHARED - Use the same content key for all of the video and audio tracks in your stream.
- UNENCRYPTED - Don’t encrypt any of the video tracks in your stream.
ResourceId -> (string)
The unique identifier for the content. The service sends this to the key server to identify the current endpoint. How unique you make this depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
The following example shows a resource ID: MovieNight20171126093045
DrmSystems -> (list)
The DRM solution provider you’re using to protect your content during distribution.
(string)
RoleArn -> (string)
The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
Valid format: arn:aws:iam::{accountID}:role/{name} . The following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
Url -> (string)
The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in the same AWS Region as MediaPackage and must start with https://.
The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection
CreatedAt -> (timestamp)
ModifiedAt -> (timestamp)
Description -> (string)
StartoverWindowSeconds -> (integer)
HlsManifests -> (list)
An HTTP live streaming (HLS) manifest configuration.
(structure)
Retrieve the HTTP live streaming (HLS) manifest configuration.
ManifestName -> (string)
Url -> (string)
ChildManifestName -> (string)
ManifestWindowSeconds -> (integer)
ProgramDateTimeIntervalSeconds -> (integer)
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
ScteHls -> (structure)
The SCTE configuration.
AdMarkerHls -> (string)
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
- DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE .
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
StartTag -> (structure)
To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
TimeOffset -> (float)
Precise -> (boolean)
UrlEncodeChildManifest -> (boolean)
LowLatencyHlsManifests -> (list)
A low-latency HLS manifest configuration.
(structure)
Retrieve the low-latency HTTP live streaming (HLS) manifest configuration.
ManifestName -> (string)
Url -> (string)
ChildManifestName -> (string)
ManifestWindowSeconds -> (integer)
ProgramDateTimeIntervalSeconds -> (integer)
Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
ScteHls -> (structure)
The SCTE configuration.
AdMarkerHls -> (string)
Ad markers indicate when ads should be inserted during playback. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output. Choose what you want MediaPackage to do with the ad markers.
Value description:
- DATERANGE - Insert EXT-X-DATERANGE tags to signal ad and program transition events in TS and CMAF manifests. If you use DATERANGE, you must set a programDateTimeIntervalSeconds value of 1 or higher. To learn more about DATERANGE, see SCTE-35 Ad Marker EXT-X-DATERANGE .
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
StartTag -> (structure)
To insert an EXT-X-START tag in your HLS playlist, specify a StartTag configuration object with a valid TimeOffset. When you do, you can also optionally specify whether to include a PRECISE value in the EXT-X-START tag.
TimeOffset -> (float)
Precise -> (boolean)
UrlEncodeChildManifest -> (boolean)
DashManifests -> (list)
A DASH manifest configuration.
(structure)
Retrieve the DASH manifest configuration.
ManifestName -> (string)
Url -> (string)
ManifestWindowSeconds -> (integer)
FilterConfiguration -> (structure)
Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
ManifestFilter -> (string)
Start -> (timestamp)
End -> (timestamp)
TimeDelaySeconds -> (integer)
ClipStartTime -> (timestamp)
MinUpdatePeriodSeconds -> (integer)
MinBufferTimeSeconds -> (integer)
SuggestedPresentationDelaySeconds -> (integer)
SegmentTemplateFormat -> (string)
Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate .
Value description:
-
NUMBER_WITH_TIMELINE- The$Number$variable is used in themediaURL. The value of this variable is the sequential number of the segment. A fullSegmentTimelineobject is presented in eachSegmentTemplate.
PeriodTriggers -> (list)
A list of triggers that controls when AWS Elemental MediaPackage separates the MPEG-DASH manifest into multiple periods. Leave this value empty to indicate that the manifest is contained all in one period. For more information about periods in the DASH manifest, see Multi-period DASH in AWS Elemental MediaPackage .
(string)
ScteDash -> (structure)
The SCTE configuration.
AdMarkerDash -> (string)
Choose how ad markers are included in the packaged content. If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output.
Value description:
-
Binary- The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML. -
XML- The SCTE marker is expressed fully in XML.
DrmSignaling -> (string)
UtcTiming -> (structure)
Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).
TimingMode -> (string)
TimingSource -> (string)
Profiles -> (list)
The profile that the output is compliant with.
(string)
BaseUrls -> (list)
The base URL to use for retrieving segments.
(structure)
The base URLs to use for retrieving segments. You can specify multiple locations and indicate the priority and weight for when each should be used, for use in mutli-CDN workflows.
Url -> (string)
ServiceLocation -> (string)
DvbPriority -> (integer)
DvbWeight -> (integer)
ProgramInformation -> (structure)
Details about the content that you want MediaPackage to pass through in the manifest to the playback device.
Title -> (string)
Source -> (string)
Copyright -> (string)
LanguageCode -> (string)
MoreInformationUrl -> (string)
DvbSettings -> (structure)
For endpoints that use the DVB-DASH profile only. The font download and error reporting information that you want MediaPackage to pass through to the manifest.
FontDownload -> (structure)
Subtitle font settings.
Url -> (string)
MimeType -> (string)
The mimeType of the resource that’s at the font download URL.
For information about font MIME types, see the MPEG-DASH Profile for Transport of ISO BMFF Based DVB Services over IP Based Networks document.
FontFamily -> (string)
fontFamily name for subtitles, as described in EBU-TT-D Subtitling Distribution Format .ErrorMetrics -> (list)
Playback device error reporting settings.
(structure)
For use with DVB-DASH profiles only. The settings for error reporting from the playback device that you want Elemental MediaPackage to pass through to the manifest.
ReportingUrl -> (string)
Probability -> (integer)
Compactness -> (string)
STANDARD indicates a default manifest, which is compacted. NONE indicates a full manifest.SubtitleConfiguration -> (structure)
The configuration for DASH subtitles.
TtmlConfiguration -> (structure)
Settings for TTML subtitles.
TtmlProfile -> (string)
IMSC is the default profile. EBU-TT-D produces subtitles that are compliant with the EBU-TT-D TTML profile. MediaPackage passes through subtitle styles to the manifest. For more information about EBU-TT-D subtitles, see EBU-TT-D Subtitling Distribution Format .ForceEndpointErrorConfiguration -> (structure)
The failover settings for the endpoint.
EndpointErrorConditions -> (list)
The failover conditions for the endpoint. The options are:
-
STALE_MANIFEST- The manifest stalled and there are no new segments or parts. -
INCOMPLETE_MANIFEST- There is a gap in the manifest. -
MISSING_DRM_KEY- Key rotation is enabled but we’re unable to fetch the key for the current key period. -
SLATE_INPUT- The segments which contain slate content are considered to be missing content.
(string)
ETag -> (string)
Tags -> (map)
The comma-separated list of tag key:value pairs assigned to the origin endpoint.
key -> (string)
value -> (string)
© Copyright 2025, Amazon Web Services. Created using Sphinx.