class Aws::MediaConvert::Types::M3u8Settings

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

@note When making an API call, you may pass M3u8Settings

data as a hash:

    {
      audio_duration: "DEFAULT_CODEC_DURATION", # accepts DEFAULT_CODEC_DURATION, MATCH_VIDEO_DURATION
      audio_frames_per_pes: 1,
      audio_pids: [1],
      data_pts_control: "AUTO", # accepts AUTO, ALIGN_TO_VIDEO
      max_pcr_interval: 1,
      nielsen_id_3: "INSERT", # accepts INSERT, NONE
      pat_interval: 1,
      pcr_control: "PCR_EVERY_PES_PACKET", # accepts PCR_EVERY_PES_PACKET, CONFIGURED_PCR_PERIOD
      pcr_pid: 1,
      pmt_interval: 1,
      pmt_pid: 1,
      private_metadata_pid: 1,
      program_number: 1,
      scte_35_pid: 1,
      scte_35_source: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
      timed_metadata: "PASSTHROUGH", # accepts PASSTHROUGH, NONE
      timed_metadata_pid: 1,
      transport_stream_id: 1,
      video_pid: 1,
    }

@!attribute [rw] audio_duration

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 (MATCH\_VIDEO\_DURATION). In all other
cases, keep the default value, Default codec duration
(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.
@return [String]

@!attribute [rw] audio_frames_per_pes

The number of audio frames to insert for each PES packet.
@return [Integer]

@!attribute [rw] audio_pids

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.
@return [Array<Integer>]

@!attribute [rw] data_pts_control

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.
@return [String]

@!attribute [rw] max_pcr_interval

Specify the maximum time, in milliseconds, between Program Clock
References (PCRs) inserted into the transport stream.
@return [Integer]

@!attribute [rw] nielsen_id_3

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.
@return [String]

@!attribute [rw] pat_interval

The number of milliseconds between instances of this table in the
output transport stream.
@return [Integer]

@!attribute [rw] pcr_control

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.
@return [String]

@!attribute [rw] pcr_pid

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.
@return [Integer]

@!attribute [rw] pmt_interval

The number of milliseconds between instances of this table in the
output transport stream.
@return [Integer]

@!attribute [rw] pmt_pid

Packet Identifier (PID) for the Program Map Table (PMT) in the
transport stream.
@return [Integer]

@!attribute [rw] private_metadata_pid

Packet Identifier (PID) of the private metadata stream in the
transport stream.
@return [Integer]

@!attribute [rw] program_number

The value of the program number field in the Program Map Table.
@return [Integer]

@!attribute [rw] scte_35_pid

Packet Identifier (PID) of the SCTE-35 stream in the transport
stream.
@return [Integer]

@!attribute [rw] scte_35_source

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

@!attribute [rw] timed_metadata

Applies only to HLS outputs. Use this setting to specify whether the
service inserts the ID3 timed metadata from the input in this
output.
@return [String]

@!attribute [rw] timed_metadata_pid

Packet Identifier (PID) of the timed metadata stream in the
transport stream.
@return [Integer]

@!attribute [rw] transport_stream_id

The value of the transport stream ID field in the Program Map Table.
@return [Integer]

@!attribute [rw] video_pid

Packet Identifier (PID) of the elementary video stream in the
transport stream.
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M3u8Settings AWS API Documentation

Constants

SENSITIVE