M2tsSettings
¶
Source code in docs_src/capo_mediaconvert/types/m2ts_settings.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | |
audio_buffer_model
instance-attribute
¶
audio_buffer_model: NotRequired[M2tsAudioBufferModel]
Selects between the DVB and ATSC buffer models for Dolby Digital audio.
audio_duration
instance-attribute
¶
audio_duration: NotRequired[M2tsAudioDuration]
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.
audio_frames_per_pes
instance-attribute
¶
audio_frames_per_pes: NotRequired[__integerMin0Max2147483647]
The number of audio frames to insert for each PES packet.
audio_pids
instance-attribute
¶
audio_pids: NotRequired[__listOf__integerMin32Max8182]
Specify the packet identifiers (PIDs) for any elementary audio streams you include in this output. Specify multiple PIDs as a JSON array. Default is the range 482-492.
audio_pts_offset_delta
instance-attribute
¶
audio_pts_offset_delta: NotRequired[__integerMinNegative10000Max10000]
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.
bitrate
instance-attribute
¶
bitrate: NotRequired[__integerMin0Max2147483647]
Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.
buffer_model
instance-attribute
¶
buffer_model: NotRequired[M2tsBufferModel]
Controls what buffer model to use for accurate interleaving. If set to MULTIPLEX, use multiplex buffer model. If set to NONE, this can lead to lower latency, but low-memory devices may not be able to play back the stream without interruptions.
data_pts_control
instance-attribute
¶
data_pts_control: NotRequired[M2tsDataPtsControl]
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 to allow all PTS values.
dvb_nit_settings
instance-attribute
¶
dvb_nit_settings: NotRequired[DvbNitSettings]
Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output.
dvb_sdt_settings
instance-attribute
¶
dvb_sdt_settings: NotRequired[DvbSdtSettings]
Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output.
dvb_sub_pids
instance-attribute
¶
dvb_sub_pids: NotRequired[__listOf__integerMin32Max8182]
Specify the packet identifiers (PIDs) for DVB subtitle data included in this output. Specify multiple PIDs as a JSON array. Default is the range 460-479.
dvb_tdt_settings
instance-attribute
¶
dvb_tdt_settings: NotRequired[DvbTdtSettings]
Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output.
dvb_teletext_pid
instance-attribute
¶
dvb_teletext_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.
ebp_audio_interval
instance-attribute
¶
ebp_audio_interval: NotRequired[M2tsEbpAudioInterval]
When set to VIDEO_AND_FIXED_INTERVALS, audio EBP markers will be added to partitions 3 and 4. The interval between these additional markers will be fixed, and will be slightly shorter than the video EBP marker interval. When set to VIDEO_INTERVAL, these additional markers will not be inserted. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
ebp_placement
instance-attribute
¶
ebp_placement: NotRequired[M2tsEbpPlacement]
Selects which PIDs to place EBP markers on. They can either be placed only on the video PID, or on both the video PID and all audio PIDs. Only applicable when EBP segmentation markers are is selected (segmentationMarkers is EBP or EBP_LEGACY).
es_rate_in_pes
instance-attribute
¶
es_rate_in_pes: NotRequired[M2tsEsRateInPes]
Controls whether to include the ES Rate field in the PES header.
force_ts_video_ebp_order
instance-attribute
¶
force_ts_video_ebp_order: NotRequired[M2tsForceTsVideoEbpOrder]
Keep the default value unless you know that your audio EBP markers are incorrectly appearing before your video EBP markers. To correct this problem, set this value to Force.
fragment_time
instance-attribute
¶
fragment_time: NotRequired[__doubleMin0]
The length, in seconds, of each fragment. Only used with EBP markers.
klv_metadata
instance-attribute
¶
klv_metadata: NotRequired[M2tsKlvMetadata]
To include key-length-value metadata in this output: Set KLV metadata insertion to Passthrough. MediaConvert reads KLV metadata present in your input and passes it through to the output transport stream. To exclude this KLV metadata: Set KLV metadata insertion to None or leave blank.
max_pcr_interval
instance-attribute
¶
max_pcr_interval: NotRequired[__integerMin0Max500]
Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.
min_ebp_interval
instance-attribute
¶
min_ebp_interval: NotRequired[__integerMin0Max10000]
When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is "stretched" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.
nielsen_id3
instance-attribute
¶
nielsen_id3: NotRequired[M2tsNielsenId3]
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.
null_packet_bitrate
instance-attribute
¶
null_packet_bitrate: NotRequired[__doubleMin0]
Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.
pat_interval
instance-attribute
¶
pat_interval: NotRequired[__integerMin0Max1000]
The number of milliseconds between instances of this table in the output transport stream.
pcr_control
instance-attribute
¶
pcr_control: NotRequired[M2tsPcrControl]
When set to PCR_EVERY_PES_PACKET, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This is effective only when the PCR PID is the same as the video or audio elementary stream.
pcr_pid
instance-attribute
¶
pcr_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID.
pmt_interval
instance-attribute
¶
pmt_interval: NotRequired[__integerMin0Max1000]
Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.
pmt_pid
instance-attribute
¶
pmt_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.
prevent_buffer_underflow
instance-attribute
¶
prevent_buffer_underflow: NotRequired[M2tsPreventBufferUnderflow]
Specify whether MediaConvert automatically attempts to prevent decoder buffer underflows in your transport stream output. Use if you are seeing decoder buffer underflows in your output and are unable to increase your transport stream's bitrate. For most workflows: We recommend that you keep the default value, Disabled. To prevent decoder buffer underflows in your output, when possible: Choose Enabled. Note that if MediaConvert prevents a decoder buffer underflow in your output, output video quality is reduced and your job will take longer to complete.
private_metadata_pid
instance-attribute
¶
private_metadata_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) of the private metadata stream. Default is 503.
program_number
instance-attribute
¶
program_number: NotRequired[__integerMin0Max65535]
Use Program number to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.
pts_offset
instance-attribute
¶
pts_offset: NotRequired[__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.
pts_offset_mode
instance-attribute
¶
pts_offset_mode: NotRequired[TsPtsOffset]
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.
rate_mode
instance-attribute
¶
rate_mode: NotRequired[M2tsRateMode]
When set to CBR, inserts null packets into transport stream to fill specified bitrate. When set to VBR, the bitrate setting acts as the maximum bitrate, but the output will not be padded up to that bitrate.
scte35_esam
instance-attribute
¶
scte35_esam: NotRequired[M2tsScte35Esam]
Include this in your job settings to put SCTE-35 markers in your HLS and transport stream outputs at the insertion points that you specify in an ESAM XML document. Provide the document in the setting SCC XML.
scte35_pid
instance-attribute
¶
scte35_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.
scte35_source
instance-attribute
¶
scte35_source: NotRequired[M2tsScte35Source]
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. When your input is an HLS manifest, choose Manifest cues to pass through CUE markers in your HLS manifest as segment boundaries and SCTE-35 markers in this output at each EXT-X-CUE-OUT splice point in the input manifest. For SCTE-35 markers from an ESAM XML document-- Choose None. Also provide the ESAM XML as a string in the setting Signal processing notification XML. Also enable ESAM SCTE-35 (include the property scte35Esam).
segmentation_markers
instance-attribute
¶
segmentation_markers: NotRequired[M2tsSegmentationMarkers]
Inserts segmentation markers at each segmentation_time period. rai_segstart sets the Random Access Indicator bit in the adaptation field. rai_adapt sets the RAI bit and adds the current timecode in the private data bytes. psi_segstart inserts PAT and PMT tables at the start of segments. ebp adds Encoder Boundary Point information to the adaptation field as per OpenCable specification OC-SP-EBP-I01-130118. ebp_legacy adds Encoder Boundary Point information to the adaptation field using a legacy proprietary format.
segmentation_style
instance-attribute
¶
segmentation_style: NotRequired[M2tsSegmentationStyle]
The segmentation style parameter controls how segmentation markers are inserted into the transport stream. With avails, it is possible that segments may be truncated, which can influence where future segmentation markers are inserted. When a segmentation style of "reset_cadence" is selected and a segment is truncated due to an avail, we will reset the segmentation cadence. This means the subsequent segment will have a duration of of $segmentation_time seconds. When a segmentation style of "maintain_cadence" is selected and a segment is truncated due to an avail, we will not reset the segmentation cadence. This means the subsequent segment will likely be truncated as well. However, all segments after that will have a duration of $segmentation_time seconds. Note that EBP lookahead is a slight exception to this rule.
segmentation_time
instance-attribute
¶
segmentation_time: NotRequired[__doubleMin0]
Specify the length, in seconds, of each segment. Required unless markers is set to none.
timed_metadata_pid
instance-attribute
¶
timed_metadata_pid: NotRequired[__integerMin32Max8182]
Packet Identifier (PID) of the ID3 metadata stream in the transport stream.
transport_stream_id
instance-attribute
¶
transport_stream_id: NotRequired[__integerMin0Max65535]
Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.
video_pid
instance-attribute
¶
video_pid: NotRequired[__integerMin32Max8182]
Specify the packet identifier (PID) of the elementary video stream in the transport stream.