amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConvert.Types.M2tsSettings

Description

 
Synopsis

Documentation

data M2tsSettings Source #

MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container (ContainerType) is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.

See: newM2tsSettings smart constructor.

Constructors

M2tsSettings' 

Fields

  • audioBufferModel :: Maybe M2tsAudioBufferModel

    Selects between the DVB and ATSC buffer models for Dolby Digital audio.

  • audioDuration :: Maybe 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 (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.

  • audioFramesPerPes :: Maybe Natural

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

  • audioPids :: Maybe [Natural]

    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.

  • bitrate :: Maybe Natural

    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.

  • bufferModel :: Maybe 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.

  • dataPTSControl :: Maybe 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 (AUTO) to allow all PTS values.

  • dvbNitSettings :: Maybe DvbNitSettings

    Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

  • dvbSdtSettings :: Maybe DvbSdtSettings

    Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

  • dvbSubPids :: Maybe [Natural]

    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.

  • dvbTdtSettings :: Maybe DvbTdtSettings

    Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

  • dvbTeletextPid :: Maybe Natural

    Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.

  • ebpAudioInterval :: Maybe 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).

  • ebpPlacement :: Maybe 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).

  • esRateInPes :: Maybe M2tsEsRateInPes

    Controls whether to include the ES Rate field in the PES header.

  • forceTsVideoEbpOrder :: Maybe M2tsForceTsVideoEbpOrder

    Keep the default value (DEFAULT) 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 (FORCE).

  • fragmentTime :: Maybe Double

    The length, in seconds, of each fragment. Only used with EBP markers.

  • klvMetadata :: Maybe 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.

  • maxPcrInterval :: Maybe Natural

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

  • minEbpInterval :: Maybe Natural

    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.

  • nielsenId3 :: Maybe 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.

  • nullPacketBitrate :: Maybe Double

    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.

  • patInterval :: Maybe Natural

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

  • pcrControl :: Maybe 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.

  • pcrPid :: Maybe Natural

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

  • pmtInterval :: Maybe Natural

    Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.

  • pmtPid :: Maybe Natural

    Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.

  • privateMetadataPid :: Maybe Natural

    Specify the packet identifier (PID) of the private metadata stream. Default is 503.

  • programNumber :: Maybe Natural

    Use Program number (programNumber) 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.

  • rateMode :: Maybe 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.

  • scte35Esam :: Maybe 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 (sccXml).

  • scte35Pid :: Maybe Natural

    Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.

  • scte35Source :: Maybe M2tsScte35Source

    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). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam).

  • segmentationMarkers :: Maybe 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.

  • segmentationStyle :: Maybe 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.

  • segmentationTime :: Maybe Double

    Specify the length, in seconds, of each segment. Required unless markers is set to _none_.

  • timedMetadataPid :: Maybe Natural

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

  • transportStreamId :: Maybe Natural

    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.

  • videoPid :: Maybe Natural

    Specify the packet identifier (PID) of the elementary video stream in the transport stream.

Instances

Instances details
FromJSON M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

ToJSON M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

Generic M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

Associated Types

type Rep M2tsSettings :: Type -> Type #

Read M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

Show M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

NFData M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

Methods

rnf :: M2tsSettings -> () #

Eq M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

Hashable M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

type Rep M2tsSettings Source # 
Instance details

Defined in Amazonka.MediaConvert.Types.M2tsSettings

type Rep M2tsSettings = D1 ('MetaData "M2tsSettings" "Amazonka.MediaConvert.Types.M2tsSettings" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "M2tsSettings'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "audioBufferModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsAudioBufferModel)) :*: S1 ('MetaSel ('Just "audioDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsAudioDuration))) :*: (S1 ('MetaSel ('Just "audioFramesPerPes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "audioPids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])))) :*: ((S1 ('MetaSel ('Just "bitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "bufferModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsBufferModel))) :*: (S1 ('MetaSel ('Just "dataPTSControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsDataPtsControl)) :*: (S1 ('MetaSel ('Just "dvbNitSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DvbNitSettings)) :*: S1 ('MetaSel ('Just "dvbSdtSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DvbSdtSettings)))))) :*: (((S1 ('MetaSel ('Just "dvbSubPids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])) :*: S1 ('MetaSel ('Just "dvbTdtSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DvbTdtSettings))) :*: (S1 ('MetaSel ('Just "dvbTeletextPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "ebpAudioInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsEbpAudioInterval)) :*: S1 ('MetaSel ('Just "ebpPlacement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsEbpPlacement))))) :*: ((S1 ('MetaSel ('Just "esRateInPes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsEsRateInPes)) :*: S1 ('MetaSel ('Just "forceTsVideoEbpOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsForceTsVideoEbpOrder))) :*: (S1 ('MetaSel ('Just "fragmentTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "klvMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsKlvMetadata)) :*: S1 ('MetaSel ('Just "maxPcrInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))) :*: ((((S1 ('MetaSel ('Just "minEbpInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nielsenId3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsNielsenId3))) :*: (S1 ('MetaSel ('Just "nullPacketBitrate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "patInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "pcrControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsPcrControl))))) :*: ((S1 ('MetaSel ('Just "pcrPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "pmtInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "pmtPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "privateMetadataPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "programNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))) :*: (((S1 ('MetaSel ('Just "rateMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsRateMode)) :*: S1 ('MetaSel ('Just "scte35Esam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsScte35Esam))) :*: (S1 ('MetaSel ('Just "scte35Pid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "scte35Source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsScte35Source)) :*: S1 ('MetaSel ('Just "segmentationMarkers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsSegmentationMarkers))))) :*: ((S1 ('MetaSel ('Just "segmentationStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe M2tsSegmentationStyle)) :*: S1 ('MetaSel ('Just "segmentationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "timedMetadataPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "transportStreamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "videoPid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))))))

newM2tsSettings :: M2tsSettings Source #

Create a value of M2tsSettings with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:audioBufferModel:M2tsSettings', m2tsSettings_audioBufferModel - Selects between the DVB and ATSC buffer models for Dolby Digital audio.

$sel:audioDuration:M2tsSettings', m2tsSettings_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 (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.

$sel:audioFramesPerPes:M2tsSettings', m2tsSettings_audioFramesPerPes - The number of audio frames to insert for each PES packet.

$sel:audioPids:M2tsSettings', m2tsSettings_audioPids - 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.

$sel:bitrate:M2tsSettings', m2tsSettings_bitrate - 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.

$sel:bufferModel:M2tsSettings', m2tsSettings_bufferModel - 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.

$sel:dataPTSControl:M2tsSettings', m2tsSettings_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.

$sel:dvbNitSettings:M2tsSettings', m2tsSettings_dvbNitSettings - Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

$sel:dvbSdtSettings:M2tsSettings', m2tsSettings_dvbSdtSettings - Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

$sel:dvbSubPids:M2tsSettings', m2tsSettings_dvbSubPids - 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.

$sel:dvbTdtSettings:M2tsSettings', m2tsSettings_dvbTdtSettings - Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

$sel:dvbTeletextPid:M2tsSettings', m2tsSettings_dvbTeletextPid - Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.

$sel:ebpAudioInterval:M2tsSettings', m2tsSettings_ebpAudioInterval - 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).

$sel:ebpPlacement:M2tsSettings', m2tsSettings_ebpPlacement - 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).

$sel:esRateInPes:M2tsSettings', m2tsSettings_esRateInPes - Controls whether to include the ES Rate field in the PES header.

$sel:forceTsVideoEbpOrder:M2tsSettings', m2tsSettings_forceTsVideoEbpOrder - Keep the default value (DEFAULT) 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 (FORCE).

$sel:fragmentTime:M2tsSettings', m2tsSettings_fragmentTime - The length, in seconds, of each fragment. Only used with EBP markers.

$sel:klvMetadata:M2tsSettings', m2tsSettings_klvMetadata - 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.

$sel:maxPcrInterval:M2tsSettings', m2tsSettings_maxPcrInterval - Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.

$sel:minEbpInterval:M2tsSettings', m2tsSettings_minEbpInterval - 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.

$sel:nielsenId3:M2tsSettings', m2tsSettings_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.

$sel:nullPacketBitrate:M2tsSettings', m2tsSettings_nullPacketBitrate - 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.

$sel:patInterval:M2tsSettings', m2tsSettings_patInterval - The number of milliseconds between instances of this table in the output transport stream.

$sel:pcrControl:M2tsSettings', m2tsSettings_pcrControl - 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.

$sel:pcrPid:M2tsSettings', m2tsSettings_pcrPid - 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 (VideoPid).

$sel:pmtInterval:M2tsSettings', m2tsSettings_pmtInterval - Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.

$sel:pmtPid:M2tsSettings', m2tsSettings_pmtPid - Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.

$sel:privateMetadataPid:M2tsSettings', m2tsSettings_privateMetadataPid - Specify the packet identifier (PID) of the private metadata stream. Default is 503.

$sel:programNumber:M2tsSettings', m2tsSettings_programNumber - Use Program number (programNumber) 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.

$sel:rateMode:M2tsSettings', m2tsSettings_rateMode - 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.

$sel:scte35Esam:M2tsSettings', m2tsSettings_scte35Esam - 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 (sccXml).

$sel:scte35Pid:M2tsSettings', m2tsSettings_scte35Pid - Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.

$sel:scte35Source:M2tsSettings', m2tsSettings_scte35Source - 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). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam).

$sel:segmentationMarkers:M2tsSettings', m2tsSettings_segmentationMarkers - 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.

$sel:segmentationStyle:M2tsSettings', m2tsSettings_segmentationStyle - 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.

$sel:segmentationTime:M2tsSettings', m2tsSettings_segmentationTime - Specify the length, in seconds, of each segment. Required unless markers is set to _none_.

$sel:timedMetadataPid:M2tsSettings', m2tsSettings_timedMetadataPid - Packet Identifier (PID) of the ID3 metadata stream in the transport stream.

$sel:transportStreamId:M2tsSettings', m2tsSettings_transportStreamId - 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.

$sel:videoPid:M2tsSettings', m2tsSettings_videoPid - Specify the packet identifier (PID) of the elementary video stream in the transport stream.

m2tsSettings_audioBufferModel :: Lens' M2tsSettings (Maybe M2tsAudioBufferModel) Source #

Selects between the DVB and ATSC buffer models for Dolby Digital audio.

m2tsSettings_audioDuration :: Lens' M2tsSettings (Maybe M2tsAudioDuration) Source #

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.

m2tsSettings_audioFramesPerPes :: Lens' M2tsSettings (Maybe Natural) Source #

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

m2tsSettings_audioPids :: Lens' M2tsSettings (Maybe [Natural]) Source #

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.

m2tsSettings_bitrate :: Lens' M2tsSettings (Maybe Natural) Source #

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.

m2tsSettings_bufferModel :: Lens' M2tsSettings (Maybe M2tsBufferModel) Source #

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.

m2tsSettings_dataPTSControl :: Lens' M2tsSettings (Maybe M2tsDataPtsControl) Source #

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.

m2tsSettings_dvbNitSettings :: Lens' M2tsSettings (Maybe DvbNitSettings) Source #

Use these settings to insert a DVB Network Information Table (NIT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

m2tsSettings_dvbSdtSettings :: Lens' M2tsSettings (Maybe DvbSdtSettings) Source #

Use these settings to insert a DVB Service Description Table (SDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

m2tsSettings_dvbSubPids :: Lens' M2tsSettings (Maybe [Natural]) Source #

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.

m2tsSettings_dvbTdtSettings :: Lens' M2tsSettings (Maybe DvbTdtSettings) Source #

Use these settings to insert a DVB Time and Date Table (TDT) in the transport stream of this output. When you work directly in your JSON job specification, include this object only when your job has a transport stream output and the container settings contain the object M2tsSettings.

m2tsSettings_dvbTeletextPid :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.

m2tsSettings_ebpAudioInterval :: Lens' M2tsSettings (Maybe M2tsEbpAudioInterval) Source #

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

m2tsSettings_ebpPlacement :: Lens' M2tsSettings (Maybe M2tsEbpPlacement) Source #

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

m2tsSettings_esRateInPes :: Lens' M2tsSettings (Maybe M2tsEsRateInPes) Source #

Controls whether to include the ES Rate field in the PES header.

m2tsSettings_forceTsVideoEbpOrder :: Lens' M2tsSettings (Maybe M2tsForceTsVideoEbpOrder) Source #

Keep the default value (DEFAULT) 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 (FORCE).

m2tsSettings_fragmentTime :: Lens' M2tsSettings (Maybe Double) Source #

The length, in seconds, of each fragment. Only used with EBP markers.

m2tsSettings_klvMetadata :: Lens' M2tsSettings (Maybe M2tsKlvMetadata) Source #

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.

m2tsSettings_maxPcrInterval :: Lens' M2tsSettings (Maybe Natural) Source #

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

m2tsSettings_minEbpInterval :: Lens' M2tsSettings (Maybe Natural) Source #

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.

m2tsSettings_nielsenId3 :: Lens' M2tsSettings (Maybe M2tsNielsenId3) Source #

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.

m2tsSettings_nullPacketBitrate :: Lens' M2tsSettings (Maybe Double) Source #

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.

m2tsSettings_patInterval :: Lens' M2tsSettings (Maybe Natural) Source #

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

m2tsSettings_pcrControl :: Lens' M2tsSettings (Maybe M2tsPcrControl) Source #

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.

m2tsSettings_pcrPid :: Lens' M2tsSettings (Maybe Natural) Source #

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

m2tsSettings_pmtInterval :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.

m2tsSettings_pmtPid :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.

m2tsSettings_privateMetadataPid :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the packet identifier (PID) of the private metadata stream. Default is 503.

m2tsSettings_programNumber :: Lens' M2tsSettings (Maybe Natural) Source #

Use Program number (programNumber) 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.

m2tsSettings_rateMode :: Lens' M2tsSettings (Maybe M2tsRateMode) Source #

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.

m2tsSettings_scte35Esam :: Lens' M2tsSettings (Maybe M2tsScte35Esam) Source #

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

m2tsSettings_scte35Pid :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.

m2tsSettings_scte35Source :: Lens' M2tsSettings (Maybe M2tsScte35Source) 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). Also provide the ESAM XML as a string in the setting Signal processing notification XML (sccXml). Also enable ESAM SCTE-35 (include the property scte35Esam).

m2tsSettings_segmentationMarkers :: Lens' M2tsSettings (Maybe M2tsSegmentationMarkers) Source #

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.

m2tsSettings_segmentationStyle :: Lens' M2tsSettings (Maybe M2tsSegmentationStyle) Source #

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.

m2tsSettings_segmentationTime :: Lens' M2tsSettings (Maybe Double) Source #

Specify the length, in seconds, of each segment. Required unless markers is set to _none_.

m2tsSettings_timedMetadataPid :: Lens' M2tsSettings (Maybe Natural) Source #

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

m2tsSettings_transportStreamId :: Lens' M2tsSettings (Maybe Natural) Source #

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.

m2tsSettings_videoPid :: Lens' M2tsSettings (Maybe Natural) Source #

Specify the packet identifier (PID) of the elementary video stream in the transport stream.