Class: Aws::MediaConvert::Types::M3u8Settings

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb

Overview

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,
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#audio_durationString

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.

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#audio_frames_per_pesInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#audio_pidsArray<Integer>

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.

Returns:

  • (Array<Integer>)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#data_pts_controlString

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.

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#max_pcr_intervalInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#nielsen_id_3String

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.

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#pat_intervalInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#pcr_controlString

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.

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#pcr_pidInteger

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.

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#pmt_intervalInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#pmt_pidInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#private_metadata_pidInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#program_numberInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#scte_35_pidInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#scte_35_sourceString

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).

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#timed_metadataString

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

Returns:

  • (String)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#timed_metadata_pidInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#transport_stream_idInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end

#video_pidInteger

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

Returns:

  • (Integer)


17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
# File 'gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb', line 17184

class M3u8Settings < Struct.new(
  :audio_duration,
  :audio_frames_per_pes,
  :audio_pids,
  :data_pts_control,
  :max_pcr_interval,
  :nielsen_id_3,
  :pat_interval,
  :pcr_control,
  :pcr_pid,
  :pmt_interval,
  :pmt_pid,
  :private_metadata_pid,
  :program_number,
  :scte_35_pid,
  :scte_35_source,
  :timed_metadata,
  :timed_metadata_pid,
  :transport_stream_id,
  :video_pid)
  SENSITIVE = []
  include Aws::Structure
end