class Aws::MediaConvert::Types::M2tsSettings
@see docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/M2tsSettings AWS API Documentation
@return [Integer]
in the transport stream.
Specify the packet identifier (PID) of the elementary video stream
@!attribute [rw] video_pid
@return [Integer]
data.
are parts of MPEG-2 transport stream containers, used for organizing
table for this output. Transport stream IDs and program map tables
Specify the ID for the transport stream itself in the program map
@!attribute [rw] transport_stream_id
@return [Integer]
output. Default is 502.
Specify the packet identifier (PID) for timed metadata in this
@!attribute [rw] timed_metadata_pid
@return [Float]
markers is set to _none_.
Specify the length, in seconds, of each segment. Required unless
@!attribute [rw] segmentation_time
@return [String]
lookahead is a slight exception to this rule.
will have a duration of $segmentation_time seconds. Note that EBP
will likely be truncated as well. However, all segments after that
reset the segmentation cadence. This means the subsequent segment
selected and a segment is truncated due to an avail, we will not
seconds. When a segmentation style of “maintain_cadence” is
subsequent segment will have a duration of of $segmentation_time
avail, we will reset the segmentation cadence. This means the
“reset_cadence” is selected and a segment is truncated due to an
segmentation markers are inserted. When a segmentation style of
that segments may be truncated, which can influence where future
are inserted into the transport stream. With avails, it is possible
The segmentation style parameter controls how segmentation markers
@!attribute [rw] segmentation_style
@return [String]
format.
information to the adaptation field using a legacy proprietary
OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point
to the adaptation field as per OpenCable specification
the start of segments. ebp adds Encoder Boundary Point information
the private data bytes. psi_segstart inserts PAT and PMT tables at
field. rai_adapt sets the RAI bit and adds the current timecode in
rai_segstart sets the Random Access Indicator bit in the adaptation
Inserts segmentation markers at each segmentation_time period.
@!attribute [rw] segmentation_markers
@return [String]
enable ESAM SCTE-35 (include the property scte35Esam).
in the setting Signal processing notification XML (sccXml). Also
document– Choose None (NONE). Also provide the ESAM XML as a string
SCTE-35 markers in this output. For SCTE-35 markers from an ESAM XML
to also appear in this output. Choose None (NONE) if you don’t want
(PASSTHROUGH) if you want SCTE-35 markers that appear in your input
For SCTE-35 markers from your input– Choose Passthrough
@!attribute [rw] scte_35_source
@return [Integer]
transport stream.
Specify the packet identifier (PID) of the SCTE-35 stream in the
@!attribute [rw] scte_35_pid
@return [Types::M2tsScte35Esam]
SCC XML (sccXml).
specify in an ESAM XML document. Provide the document in the setting
and transport stream outputs at the insertion points that you
Include this in your job settings to put SCTE-35 markers in your HLS
@!attribute [rw] scte_35_esam
@return [String]
bitrate.
maximum bitrate, but the output will not be padded up to that
specified bitrate. When set to VBR, the bitrate setting acts as the
When set to CBR, inserts null packets into transport stream to fill
@!attribute [rw] rate_mode
@return [Integer]
stream containers, used for organizing data.
Program numbers and program map tables are parts of MPEG-2 transport
used in the program map table (PMT) for this output. Default is 1.
Use Program number (programNumber) to specify the program number
@!attribute [rw] program_number
@return [Integer]
Default is 503.
Specify the packet identifier (PID) of the private metadata stream.
@!attribute [rw] private_metadata_pid
@return [Integer]
itself. Default is 480.
Specify the packet identifier (PID) for the program map table (PMT)
@!attribute [rw] pmt_pid
@return [Integer]
map table (PMT) in the output transport stream.
Specify the number of milliseconds between instances of the program
@!attribute [rw] pmt_interval
@return [Integer]
will use the value for Video PID (VideoPid).
(PCR) in this output. If you do not specify a value, the service
Specify the packet identifier (PID) for the program clock reference
@!attribute [rw] pcr_pid
@return [String]
audio elementary stream.
This is effective only when the PCR PID is the same as the video or
is inserted for every Packetized Elementary Stream (PES) header.
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value
@!attribute [rw] pcr_control
@return [Integer]
output transport stream.
The number of milliseconds between instances of this table in the
@!attribute [rw] pat_interval
@return [Float]
requires periodic null packets.
transport stream. This can be used if a downstream encryption system
Value in bits per second of extra null packets to insert into the
@!attribute [rw] null_packet_bitrate
@return [String]
inserted in the output.
detected in the input audio and an equivalent ID3 tag will be
If INSERT, Nielsen inaudible tones for media tracking will be
@!attribute [rw] nielsen_id_3
@return [Integer]
to create sufficient latency to make the lookahead accurate.
latency to the system. The Live Event must be configured elsewhere
“stretched” to the next marker. The lookahead value does not add
interval, the current EBP is not emitted, and the segment is
video. If another EBP is going to come in within the specified time
the specified time interval of each other by looking ahead at input
When set, enforces that Encoder Boundary Points do not come within
@!attribute [rw] min_ebp_interval
@return [Integer]
References (PCRs) inserted into the transport stream.
Specify the maximum time, in milliseconds, between Program Clock
@!attribute [rw] max_pcr_interval
@return [Float]
markers.
The length, in seconds, of each fragment. Only used with EBP
@!attribute [rw] fragment_time
@return [String]
correct this problem, set this value to Force (FORCE).
markers are incorrectly appearing before your video EBP markers. To
Keep the default value (DEFAULT) unless you know that your audio EBP
@!attribute [rw] force_ts_video_ebp_order
@return [String]
Controls whether to include the ES Rate field in the PES header.
@!attribute [rw] es_rate_in_pes
@return [String]
(segmentationMarkers is EBP or EBP_LEGACY).
PIDs. Only applicable when EBP segmentation markers are is selected
placed only on the video PID, or on both the video PID and all audio
Selects which PIDs to place EBP markers on. They can either be
@!attribute [rw] ebp_placement
@return [String]
markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
markers will not be inserted. Only applicable when EBP segmentation
EBP marker interval. When set to VIDEO_INTERVAL, these additional
markers will be fixed, and will be slightly shorter than the video
added to partitions 3 and 4. The interval between these additional
When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be
@!attribute [rw] ebp_audio_interval
@return [Integer]
include in this output. Default is 499.
Specify the packet identifier (PID) for DVB teletext data you
@!attribute [rw] dvb_teletext_pid
@return [Types::DvbTdtSettings]
object M2tsSettings.
transport stream output and the container settings contain the
job specification, include this object only when your job has a
transport stream of this output. When you work directly in your JSON
Use these settings to insert a DVB Time and Date Table (TDT) in the
@!attribute [rw] dvb_tdt_settings
@return [Array<Integer>]
the range 460-479.
in this output. Specify multiple PIDs as a JSON array. Default is
Specify the packet identifiers (PIDs) for DVB subtitle data included
@!attribute [rw] dvb_sub_pids
@return [Types::DvbSdtSettings]
object M2tsSettings.
has a transport stream output and the container settings contain the
your JSON job specification, include this object only when your job
in the transport stream of this output. When you work directly in
Use these settings to insert a DVB Service Description Table (SDT)
@!attribute [rw] dvb_sdt_settings
@return [Types::DvbNitSettings]
object M2tsSettings.
has a transport stream output and the container settings contain the
your JSON job specification, include this object only when your job
in the transport stream of this output. When you work directly in
Use these settings to insert a DVB Network Information Table (NIT)
@!attribute [rw] dvb_nit_settings
@return [String]
play back the stream without interruptions.
lead to lower latency, but low-memory devices may not be able to
to MULTIPLEX, use multiplex buffer model. If set to NONE, this can
Controls what buffer model to use for accurate interleaving. If set
@!attribute [rw] buffer_model
@return [Integer]
15000000.
appropriate bitrate. Other common values are 3750000, 7500000, and
second. Setting to 0 lets the muxer automatically determine the
Specify the output bitrate of the transport stream in bits per
@!attribute [rw] bitrate
@return [Array<Integer>]
array. Default is the range 482-492.
streams you include in this output. Specify multiple PIDs as a JSON
Specify the packet identifiers (PIDs) for any elementary audio
@!attribute [rw] audio_pids
@return [Integer]
The number of audio frames to insert for each PES packet.
@!attribute [rw] audio_frames_per_pes
@return [String]
output audio codec.
discrepancies between audio and video duration will depend on your
the end of the file. When you keep the default value, any minor
output. For unsegmented outputs, MediaConvert adds padding only to
padding or trimming only to the end of the last segment of the
frame longer than the video stream. MediaConvert applies audio
padding or trimming, the audio stream duration is no more than one
least as long as the total duration of the video stream. After
them to ensure that the total duration of each audio stream is at
MediaConvert pads the output audio streams with silence or trims
(DEFAULT_CODEC_DURATION). When you choose Match video duration,
cases, keep the default value, Default codec duration
choose Match video duration (MATCH_VIDEO_DURATION). In all other
duration differences between video and audio. For this situation,
downstream repackaging workflow that is sensitive to very small
Specify this setting only when your output will be consumed by a
@!attribute [rw] audio_duration
@return [String]
audio.
Selects between the DVB and ATSC buffer models for Dolby Digital
@!attribute [rw] audio_buffer_model
}
video_pid: 1,
transport_stream_id: 1,
timed_metadata_pid: 1,
segmentation_time: 1.0,
segmentation_style: “MAINTAIN_CADENCE”, # accepts MAINTAIN_CADENCE, RESET_CADENCE
segmentation_markers: “NONE”, # accepts NONE, RAI_SEGSTART, RAI_ADAPT, PSI_SEGSTART, EBP, EBP_LEGACY
scte_35_source: “PASSTHROUGH”, # accepts PASSTHROUGH, NONE
scte_35_pid: 1,
},
scte_35_esam_pid: 1,
scte_35_esam: {
rate_mode: “VBR”, # accepts VBR, CBR
program_number: 1,
private_metadata_pid: 1,
pmt_pid: 1,
pmt_interval: 1,
pcr_pid: 1,
pcr_control: “PCR_EVERY_PES_PACKET”, # accepts PCR_EVERY_PES_PACKET, CONFIGURED_PCR_PERIOD
pat_interval: 1,
null_packet_bitrate: 1.0,
nielsen_id_3: “INSERT”, # accepts INSERT, NONE
min_ebp_interval: 1,
max_pcr_interval: 1,
fragment_time: 1.0,
force_ts_video_ebp_order: “FORCE”, # accepts FORCE, DEFAULT
es_rate_in_pes: “INCLUDE”, # accepts INCLUDE, EXCLUDE
ebp_placement: “VIDEO_AND_AUDIO_PIDS”, # accepts VIDEO_AND_AUDIO_PIDS, VIDEO_PID
ebp_audio_interval: “VIDEO_AND_FIXED_INTERVALS”, # accepts VIDEO_AND_FIXED_INTERVALS, VIDEO_INTERVAL
dvb_teletext_pid: 1,
},
tdt_interval: 1,
dvb_tdt_settings: {
dvb_sub_pids: [1],
},
service_provider_name: “__stringMin1Max256”,
service_name: “__stringMin1Max256”,
sdt_interval: 1,
output_sdt: “SDT_FOLLOW”, # accepts SDT_FOLLOW, SDT_FOLLOW_IF_PRESENT, SDT_MANUAL, SDT_NONE
dvb_sdt_settings: {
},
nit_interval: 1,
network_name: “__stringMin1Max256”,
network_id: 1,
dvb_nit_settings: {
buffer_model: “MULTIPLEX”, # accepts MULTIPLEX, NONE
bitrate: 1,
audio_pids: [1],
audio_frames_per_pes: 1,
audio_duration: “DEFAULT_CODEC_DURATION”, # accepts DEFAULT_CODEC_DURATION, MATCH_VIDEO_DURATION
audio_buffer_model: “DVB”, # accepts DVB, ATSC
{
data as a hash:
@note When making an API call, you may pass M2tsSettings
specific data within the asset.
each type of data it accesses and then uses the PIDs to locate
systems and players use the program map table to look up the PID for
the types of data in a program along with their PID. Downstream
stream program corresponds to one MediaConvert output. The PMT lists
has a numerical label called a packet identifier (PID). Each transport
including audio, video, and metadata. Each of these subsets of data
table (PMT). Each transport stream program contains subsets of data,
Stream (M2TS). In these assets, data is organized by the program map
group when the output’s container (ContainerType) is MPEG-2 Transport
MPEG-2 TS container settings. These apply to outputs in a File output