M3u8Settings class

Settings for TS segments in HLS

Constructors

M3u8Settings({M3u8AudioDuration? audioDuration, int? audioFramesPerPes, List<int>? audioPids, M3u8NielsenId3? nielsenId3, int? patInterval, M3u8PcrControl? pcrControl, int? pcrPid, int? pmtInterval, int? pmtPid, int? privateMetadataPid, int? programNumber, int? scte35Pid, M3u8Scte35Source? scte35Source, TimedMetadata? timedMetadata, int? timedMetadataPid, int? transportStreamId, int? videoPid})
M3u8Settings.fromJson(Map<String, dynamic> json)
factory

Properties

audioDuration M3u8AudioDuration?
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.
final
audioFramesPerPes int?
The number of audio frames to insert for each PES packet.
final
audioPids List<int>?
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.
final
hashCode int
The hash code for this object.
no setterinherited
nielsenId3 M3u8NielsenId3?
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.
final
patInterval int?
The number of milliseconds between instances of this table in the output transport stream.
final
pcrControl M3u8PcrControl?
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.
final
pcrPid int?
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.
final
pmtInterval int?
The number of milliseconds between instances of this table in the output transport stream.
final
pmtPid int?
Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.
final
privateMetadataPid int?
Packet Identifier (PID) of the private metadata stream in the transport stream.
final
programNumber int?
The value of the program number field in the Program Map Table.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scte35Pid int?
Packet Identifier (PID) of the SCTE-35 stream in the transport stream.
final
scte35Source M3u8Scte35Source?
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).
final
timedMetadata TimedMetadata?
Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.
final
timedMetadataPid int?
Packet Identifier (PID) of the timed metadata stream in the transport stream.
final
transportStreamId int?
The value of the transport stream ID field in the Program Map Table.
final
videoPid int?
Packet Identifier (PID) of the elementary video stream in the transport stream.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited