Skip to content

/AWS1/CL_MDCM3U8SETTINGS

These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_audioduration TYPE /AWS1/MDCM3U8AUDIODURATION /AWS1/MDCM3U8AUDIODURATION

Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.

iv_audioframesperpes TYPE /AWS1/MDC__INTEGERMIN0MAX21400 /AWS1/MDC__INTEGERMIN0MAX21400

The number of audio frames to insert for each PES packet.

it_audiopids TYPE /AWS1/CL_MDC__LSTOF__INTEGER02=>TT___LSTOF__INTEGERMIN32MAX800 TT___LSTOF__INTEGERMIN32MAX800

Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.

iv_audioptsoffsetdelta TYPE /AWS1/MDC__INTEGERMINNEG100001 /AWS1/MDC__INTEGERMINNEG100001

Manually specify the difference in PTS offset that will be applied to the audio track, in seconds or milliseconds, when you set PTS offset to Seconds or Milliseconds. Enter an integer from -10000 to 10000. Leave blank to keep the default value 0.

iv_dataptscontrol TYPE /AWS1/MDCM3U8DATAPTSCONTROL /AWS1/MDCM3U8DATAPTSCONTROL

If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value AUTO to allow all PTS values.

iv_maxpcrinterval TYPE /AWS1/MDC__INTEGERMIN0MAX500 /AWS1/MDC__INTEGERMIN0MAX500

Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.

iv_nielsenid3 TYPE /AWS1/MDCM3U8NIELSENID3 /AWS1/MDCM3U8NIELSENID3

If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

iv_patinterval TYPE /AWS1/MDC__INTEGERMIN0MAX1000 /AWS1/MDC__INTEGERMIN0MAX1000

The number of milliseconds between instances of this table in the output transport stream.

iv_pcrcontrol TYPE /AWS1/MDCM3U8PCRCONTROL /AWS1/MDCM3U8PCRCONTROL

When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.

iv_pcrpid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.

iv_pmtinterval TYPE /AWS1/MDC__INTEGERMIN0MAX1000 /AWS1/MDC__INTEGERMIN0MAX1000

The number of milliseconds between instances of this table in the output transport stream.

iv_pmtpid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.

iv_privatemetadatapid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) of the private metadata stream in the transport stream.

iv_programnumber TYPE /AWS1/MDC__INTEGERMIN0MAX65535 /AWS1/MDC__INTEGERMIN0MAX65535

The value of the program number field in the Program Map Table.

iv_ptsoffset TYPE /AWS1/MDC__INTEGERMIN0MAX3600 /AWS1/MDC__INTEGERMIN0MAX3600

Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds. Enter an integer from 0 to 3600. Leave blank to keep the default value 2.

iv_ptsoffsetmode TYPE /AWS1/MDCTSPTSOFFSET /AWS1/MDCTSPTSOFFSET

Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds or Milliseconds. Then specify the number of seconds or milliseconds with PTS offset.

iv_scte35pid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) of the SCTE-35 stream in the transport stream.

iv_scte35source TYPE /AWS1/MDCM3U8SCTE35SOURCE /AWS1/MDCM3U8SCTE35SOURCE

For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.

iv_timedmetadata TYPE /AWS1/MDCTIMEDMETADATA /AWS1/MDCTIMEDMETADATA

Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.

iv_timedmetadatapid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) of the ID3 metadata stream in the transport stream.

iv_transportstreamid TYPE /AWS1/MDC__INTEGERMIN0MAX65535 /AWS1/MDC__INTEGERMIN0MAX65535

The value of the transport stream ID field in the Program Map Table.

iv_videopid TYPE /AWS1/MDC__INTEGERMIN32MAX8182 /AWS1/MDC__INTEGERMIN32MAX8182

Packet Identifier (PID) of the elementary video stream in the transport stream.


Queryable Attributes

AudioDuration

Specify this setting only when your output will be consumed by a downstream repackaging workflow that is sensitive to very small duration differences between video and audio. For this situation, choose Match video duration. In all other cases, keep the default value, Default codec duration. When you choose Match video duration, MediaConvert pads the output audio streams with silence or trims them to ensure that the total duration of each audio stream is at least as long as the total duration of the video stream. After padding or trimming, the audio stream duration is no more than one frame longer than the video stream. MediaConvert applies audio padding or trimming only to the end of the last segment of the output. For unsegmented outputs, MediaConvert adds padding only to the end of the file. When you keep the default value, any minor discrepancies between audio and video duration will depend on your output audio codec.

Accessible with the following methods

Method Description
GET_AUDIODURATION() Getter for AUDIODURATION, with configurable default
ASK_AUDIODURATION() Getter for AUDIODURATION w/ exceptions if field has no value
HAS_AUDIODURATION() Determine if AUDIODURATION has a value

AudioFramesPerPes

The number of audio frames to insert for each PES packet.

Accessible with the following methods

Method Description
GET_AUDIOFRAMESPERPES() Getter for AUDIOFRAMESPERPES, with configurable default
ASK_AUDIOFRAMESPERPES() Getter for AUDIOFRAMESPERPES w/ exceptions if field has no v
HAS_AUDIOFRAMESPERPES() Determine if AUDIOFRAMESPERPES has a value

AudioPids

Packet Identifier (PID) of the elementary audio stream(s) in the transport stream. Multiple values are accepted, and can be entered in ranges and/or by comma separation.

Accessible with the following methods

Method Description
GET_AUDIOPIDS() Getter for AUDIOPIDS, with configurable default
ASK_AUDIOPIDS() Getter for AUDIOPIDS w/ exceptions if field has no value
HAS_AUDIOPIDS() Determine if AUDIOPIDS has a value

AudioPtsOffsetDelta

Manually specify the difference in PTS offset that will be applied to the audio track, in seconds or milliseconds, when you set PTS offset to Seconds or Milliseconds. Enter an integer from -10000 to 10000. Leave blank to keep the default value 0.

Accessible with the following methods

Method Description
GET_AUDIOPTSOFFSETDELTA() Getter for AUDIOPTSOFFSETDELTA, with configurable default
ASK_AUDIOPTSOFFSETDELTA() Getter for AUDIOPTSOFFSETDELTA w/ exceptions if field has no
HAS_AUDIOPTSOFFSETDELTA() Determine if AUDIOPTSOFFSETDELTA has a value

DataPTSControl

If you select ALIGN_TO_VIDEO, MediaConvert writes captions and data packets with Presentation Timestamp (PTS) values greater than or equal to the first video packet PTS (MediaConvert drops captions and data packets with lesser PTS values). Keep the default value AUTO to allow all PTS values.

Accessible with the following methods

Method Description
GET_DATAPTSCONTROL() Getter for DATAPTSCONTROL, with configurable default
ASK_DATAPTSCONTROL() Getter for DATAPTSCONTROL w/ exceptions if field has no valu
HAS_DATAPTSCONTROL() Determine if DATAPTSCONTROL has a value

MaxPcrInterval

Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.

Accessible with the following methods

Method Description
GET_MAXPCRINTERVAL() Getter for MAXPCRINTERVAL, with configurable default
ASK_MAXPCRINTERVAL() Getter for MAXPCRINTERVAL w/ exceptions if field has no valu
HAS_MAXPCRINTERVAL() Determine if MAXPCRINTERVAL has a value

NielsenId3

If INSERT, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.

Accessible with the following methods

Method Description
GET_NIELSENID3() Getter for NIELSENID3, with configurable default
ASK_NIELSENID3() Getter for NIELSENID3 w/ exceptions if field has no value
HAS_NIELSENID3() Determine if NIELSENID3 has a value

PatInterval

The number of milliseconds between instances of this table in the output transport stream.

Accessible with the following methods

Method Description
GET_PATINTERVAL() Getter for PATINTERVAL, with configurable default
ASK_PATINTERVAL() Getter for PATINTERVAL w/ exceptions if field has no value
HAS_PATINTERVAL() Determine if PATINTERVAL has a value

PcrControl

When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.

Accessible with the following methods

Method Description
GET_PCRCONTROL() Getter for PCRCONTROL, with configurable default
ASK_PCRCONTROL() Getter for PCRCONTROL w/ exceptions if field has no value
HAS_PCRCONTROL() Determine if PCRCONTROL has a value

PcrPid

Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.

Accessible with the following methods

Method Description
GET_PCRPID() Getter for PCRPID, with configurable default
ASK_PCRPID() Getter for PCRPID w/ exceptions if field has no value
HAS_PCRPID() Determine if PCRPID has a value

PmtInterval

The number of milliseconds between instances of this table in the output transport stream.

Accessible with the following methods

Method Description
GET_PMTINTERVAL() Getter for PMTINTERVAL, with configurable default
ASK_PMTINTERVAL() Getter for PMTINTERVAL w/ exceptions if field has no value
HAS_PMTINTERVAL() Determine if PMTINTERVAL has a value

PmtPid

Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.

Accessible with the following methods

Method Description
GET_PMTPID() Getter for PMTPID, with configurable default
ASK_PMTPID() Getter for PMTPID w/ exceptions if field has no value
HAS_PMTPID() Determine if PMTPID has a value

PrivateMetadataPid

Packet Identifier (PID) of the private metadata stream in the transport stream.

Accessible with the following methods

Method Description
GET_PRIVATEMETADATAPID() Getter for PRIVATEMETADATAPID, with configurable default
ASK_PRIVATEMETADATAPID() Getter for PRIVATEMETADATAPID w/ exceptions if field has no
HAS_PRIVATEMETADATAPID() Determine if PRIVATEMETADATAPID has a value

ProgramNumber

The value of the program number field in the Program Map Table.

Accessible with the following methods

Method Description
GET_PROGRAMNUMBER() Getter for PROGRAMNUMBER, with configurable default
ASK_PROGRAMNUMBER() Getter for PROGRAMNUMBER w/ exceptions if field has no value
HAS_PROGRAMNUMBER() Determine if PROGRAMNUMBER has a value

PtsOffset

Manually specify the initial PTS offset, in seconds, when you set PTS offset to Seconds. Enter an integer from 0 to 3600. Leave blank to keep the default value 2.

Accessible with the following methods

Method Description
GET_PTSOFFSET() Getter for PTSOFFSET, with configurable default
ASK_PTSOFFSET() Getter for PTSOFFSET w/ exceptions if field has no value
HAS_PTSOFFSET() Determine if PTSOFFSET has a value

PtsOffsetMode

Specify the initial presentation timestamp (PTS) offset for your transport stream output. To let MediaConvert automatically determine the initial PTS offset: Keep the default value, Auto. We recommend that you choose Auto for the widest player compatibility. The initial PTS will be at least two seconds and vary depending on your output's bitrate, HRD buffer size and HRD buffer initial fill percentage. To manually specify an initial PTS offset: Choose Seconds or Milliseconds. Then specify the number of seconds or milliseconds with PTS offset.

Accessible with the following methods

Method Description
GET_PTSOFFSETMODE() Getter for PTSOFFSETMODE, with configurable default
ASK_PTSOFFSETMODE() Getter for PTSOFFSETMODE w/ exceptions if field has no value
HAS_PTSOFFSETMODE() Determine if PTSOFFSETMODE has a value

Scte35Pid

Packet Identifier (PID) of the SCTE-35 stream in the transport stream.

Accessible with the following methods

Method Description
GET_SCTE35PID() Getter for SCTE35PID, with configurable default
ASK_SCTE35PID() Getter for SCTE35PID w/ exceptions if field has no value
HAS_SCTE35PID() Determine if SCTE35PID has a value

Scte35Source

For SCTE-35 markers from your input-- Choose Passthrough if you want SCTE-35 markers that appear in your input to also appear in this output. Choose None if you don't want SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML document-- Choose None if you don't want manifest conditioning. Choose Passthrough and choose Ad markers if you do want manifest conditioning. In both cases, also provide the ESAM XML as a string in the setting Signal processing notification XML.

Accessible with the following methods

Method Description
GET_SCTE35SOURCE() Getter for SCTE35SOURCE, with configurable default
ASK_SCTE35SOURCE() Getter for SCTE35SOURCE w/ exceptions if field has no value
HAS_SCTE35SOURCE() Determine if SCTE35SOURCE has a value

TimedMetadata

Set ID3 metadata to Passthrough to include ID3 metadata in this output. This includes ID3 metadata from the following features: ID3 timestamp period, and Custom ID3 metadata inserter. To exclude this ID3 metadata in this output: set ID3 metadata to None or leave blank.

Accessible with the following methods

Method Description
GET_TIMEDMETADATA() Getter for TIMEDMETADATA, with configurable default
ASK_TIMEDMETADATA() Getter for TIMEDMETADATA w/ exceptions if field has no value
HAS_TIMEDMETADATA() Determine if TIMEDMETADATA has a value

TimedMetadataPid

Packet Identifier (PID) of the ID3 metadata stream in the transport stream.

Accessible with the following methods

Method Description
GET_TIMEDMETADATAPID() Getter for TIMEDMETADATAPID, with configurable default
ASK_TIMEDMETADATAPID() Getter for TIMEDMETADATAPID w/ exceptions if field has no va
HAS_TIMEDMETADATAPID() Determine if TIMEDMETADATAPID has a value

TransportStreamId

The value of the transport stream ID field in the Program Map Table.

Accessible with the following methods

Method Description
GET_TRANSPORTSTREAMID() Getter for TRANSPORTSTREAMID, with configurable default
ASK_TRANSPORTSTREAMID() Getter for TRANSPORTSTREAMID w/ exceptions if field has no v
HAS_TRANSPORTSTREAMID() Determine if TRANSPORTSTREAMID has a value

VideoPid

Packet Identifier (PID) of the elementary video stream in the transport stream.

Accessible with the following methods

Method Description
GET_VIDEOPID() Getter for VIDEOPID, with configurable default
ASK_VIDEOPID() Getter for VIDEOPID w/ exceptions if field has no value
HAS_VIDEOPID() Determine if VIDEOPID has a value