The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::MediaConvert::M3u8Settings

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MediaConvert::M3u8Settings object:

  $service_obj->Method(Att1 => { AudioDuration => $value, ..., VideoPid => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::M3u8Settings object:

  $result = $service_obj->Method(...);
  $result->Att1->AudioDuration

DESCRIPTION

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

ATTRIBUTES

AudioDuration => Str

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 => Int

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

AudioPids => ArrayRef[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.

MaxPcrInterval => Int

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

NielsenId3 => Str

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 => Int

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

PcrControl => Str

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

PmtInterval => Int

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

PmtPid => Int

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

PrivateMetadataPid => Int

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

ProgramNumber => Int

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

Scte35Pid => Int

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

Scte35Source => Str

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 => Str

Applies only to HLS outputs. Use this setting to specify whether the service inserts the ID3 timed metadata from the input in this output.

TimedMetadataPid => Int

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

TransportStreamId => Int

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

VideoPid => Int

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

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MediaConvert

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues