Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

M3u8Settings

import type { M3u8Settings } from "https://aws-api.deno.dev/v0.4/services/mediaconvert.ts?docs=full";

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

interface M3u8Settings {
AudioDuration?: M3u8AudioDuration | null;
AudioFramesPerPes?: number | null;
AudioPids?: number[] | null;
DataPTSControl?: M3u8DataPtsControl | null;
MaxPcrInterval?: number | null;
NielsenId3?: M3u8NielsenId3 | null;
PatInterval?: number | null;
PcrControl?: M3u8PcrControl | null;
PcrPid?: number | null;
PmtInterval?: number | null;
PmtPid?: number | null;
PrivateMetadataPid?: number | null;
ProgramNumber?: number | null;
Scte35Pid?: number | null;
Scte35Source?: M3u8Scte35Source | null;
TimedMetadata?: TimedMetadata | null;
TimedMetadataPid?: number | null;
TransportStreamId?: number | null;
VideoPid?: number | null;
}

§Properties

§
AudioDuration?: M3u8AudioDuration | null
[src]

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?: number | null
[src]

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

§
AudioPids?: number[] | null
[src]

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.

§
DataPTSControl?: M3u8DataPtsControl | null
[src]

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.

§
MaxPcrInterval?: number | null
[src]

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

§
NielsenId3?: M3u8NielsenId3 | null
[src]

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.

§
PatInterval?: number | null
[src]

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

§
PcrControl?: M3u8PcrControl | null
[src]

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.

§
PcrPid?: number | null
[src]

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.

§
PmtInterval?: number | null
[src]

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

§
PmtPid?: number | null
[src]

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

§
PrivateMetadataPid?: number | null
[src]

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

§
ProgramNumber?: number | null
[src]

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

§
Scte35Pid?: number | null
[src]

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

§
Scte35Source?: M3u8Scte35Source | null
[src]

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

§
TimedMetadata?: TimedMetadata | null
[src]

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.

§
TimedMetadataPid?: number | null
[src]

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

§
TransportStreamId?: number | null
[src]

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

§
VideoPid?: number | null
[src]

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