« blib/lib/Paws/MediaConvert/M2tsSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/MotionImageInserter.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::M3u8Settings; | ||
| 3 | use Moose; | ||
| 4 | has AudioDuration => (is => 'ro', isa => 'Str', request_name => 'audioDuration', traits => ['NameInRequest']); | ||
| 5 | has AudioFramesPerPes => (is => 'ro', isa => 'Int', request_name => 'audioFramesPerPes', traits => ['NameInRequest']); | ||
| 6 | has AudioPids => (is => 'ro', isa => 'ArrayRef[Int]', request_name => 'audioPids', traits => ['NameInRequest']); | ||
| 7 | has MaxPcrInterval => (is => 'ro', isa => 'Int', request_name => 'maxPcrInterval', traits => ['NameInRequest']); | ||
| 8 | has NielsenId3 => (is => 'ro', isa => 'Str', request_name => 'nielsenId3', traits => ['NameInRequest']); | ||
| 9 | has PatInterval => (is => 'ro', isa => 'Int', request_name => 'patInterval', traits => ['NameInRequest']); | ||
| 10 | has PcrControl => (is => 'ro', isa => 'Str', request_name => 'pcrControl', traits => ['NameInRequest']); | ||
| 11 | has PcrPid => (is => 'ro', isa => 'Int', request_name => 'pcrPid', traits => ['NameInRequest']); | ||
| 12 | has PmtInterval => (is => 'ro', isa => 'Int', request_name => 'pmtInterval', traits => ['NameInRequest']); | ||
| 13 | has PmtPid => (is => 'ro', isa => 'Int', request_name => 'pmtPid', traits => ['NameInRequest']); | ||
| 14 | has PrivateMetadataPid => (is => 'ro', isa => 'Int', request_name => 'privateMetadataPid', traits => ['NameInRequest']); | ||
| 15 | has ProgramNumber => (is => 'ro', isa => 'Int', request_name => 'programNumber', traits => ['NameInRequest']); | ||
| 16 | has Scte35Pid => (is => 'ro', isa => 'Int', request_name => 'scte35Pid', traits => ['NameInRequest']); | ||
| 17 | has Scte35Source => (is => 'ro', isa => 'Str', request_name => 'scte35Source', traits => ['NameInRequest']); | ||
| 18 | has TimedMetadata => (is => 'ro', isa => 'Str', request_name => 'timedMetadata', traits => ['NameInRequest']); | ||
| 19 | has TimedMetadataPid => (is => 'ro', isa => 'Int', request_name => 'timedMetadataPid', traits => ['NameInRequest']); | ||
| 20 | has TransportStreamId => (is => 'ro', isa => 'Int', request_name => 'transportStreamId', traits => ['NameInRequest']); | ||
| 21 | has VideoPid => (is => 'ro', isa => 'Int', request_name => 'videoPid', traits => ['NameInRequest']); | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | ### main pod documentation begin ### | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Paws::MediaConvert::M3u8Settings | ||
| 30 | |||
| 31 | =head1 USAGE | ||
| 32 | |||
| 33 | This class represents one of two things: | ||
| 34 | |||
| 35 | =head3 Arguments in a call to a service | ||
| 36 | |||
| 37 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 38 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 39 | |||
| 40 | As an example, if Att1 is expected to be a Paws::MediaConvert::M3u8Settings object: | ||
| 41 | |||
| 42 | $service_obj->Method(Att1 => { AudioDuration => $value, ..., VideoPid => $value }); | ||
| 43 | |||
| 44 | =head3 Results returned from an API call | ||
| 45 | |||
| 46 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::M3u8Settings object: | ||
| 47 | |||
| 48 | $result = $service_obj->Method(...); | ||
| 49 | $result->Att1->AudioDuration | ||
| 50 | |||
| 51 | =head1 DESCRIPTION | ||
| 52 | |||
| 53 | These settings relate to the MPEG-2 transport stream (MPEG2-TS) | ||
| 54 | container for the MPEG2-TS segments in your HLS outputs. | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 AudioDuration => Str | ||
| 60 | |||
| 61 | Specify this setting only when your output will be consumed by a | ||
| 62 | downstream repackaging workflow that is sensitive to very small | ||
| 63 | duration differences between video and audio. For this situation, | ||
| 64 | choose Match video duration (MATCH_VIDEO_DURATION). In all other cases, | ||
| 65 | keep the default value, Default codec duration | ||
| 66 | (DEFAULT_CODEC_DURATION). When you choose Match video duration, | ||
| 67 | MediaConvert pads the output audio streams with silence or trims them | ||
| 68 | to ensure that the total duration of each audio stream is at least as | ||
| 69 | long as the total duration of the video stream. After padding or | ||
| 70 | trimming, the audio stream duration is no more than one frame longer | ||
| 71 | than the video stream. MediaConvert applies audio padding or trimming | ||
| 72 | only to the end of the last segment of the output. For unsegmented | ||
| 73 | outputs, MediaConvert adds padding only to the end of the file. When | ||
| 74 | you keep the default value, any minor discrepancies between audio and | ||
| 75 | video duration will depend on your output audio codec. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 AudioFramesPerPes => Int | ||
| 79 | |||
| 80 | The number of audio frames to insert for each PES packet. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 AudioPids => ArrayRef[Int] | ||
| 84 | |||
| 85 | Packet Identifier (PID) of the elementary audio stream(s) in the | ||
| 86 | transport stream. Multiple values are accepted, and can be entered in | ||
| 87 | ranges and/or by comma separation. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 MaxPcrInterval => Int | ||
| 91 | |||
| 92 | Specify the maximum time, in milliseconds, between Program Clock | ||
| 93 | References (PCRs) inserted into the transport stream. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 NielsenId3 => Str | ||
| 97 | |||
| 98 | If INSERT, Nielsen inaudible tones for media tracking will be detected | ||
| 99 | in the input audio and an equivalent ID3 tag will be inserted in the | ||
| 100 | output. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 PatInterval => Int | ||
| 104 | |||
| 105 | The number of milliseconds between instances of this table in the | ||
| 106 | output transport stream. | ||
| 107 | |||
| 108 | |||
| 109 | =head2 PcrControl => Str | ||
| 110 | |||
| 111 | When set to PCR_EVERY_PES_PACKET a Program Clock Reference value is | ||
| 112 | inserted for every Packetized Elementary Stream (PES) header. This | ||
| 113 | parameter is effective only when the PCR PID is the same as the video | ||
| 114 | or audio elementary stream. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 PcrPid => Int | ||
| 118 | |||
| 119 | Packet Identifier (PID) of the Program Clock Reference (PCR) in the | ||
| 120 | transport stream. When no value is given, the encoder will assign the | ||
| 121 | same value as the Video PID. | ||
| 122 | |||
| 123 | |||
| 124 | =head2 PmtInterval => Int | ||
| 125 | |||
| 126 | The number of milliseconds between instances of this table in the | ||
| 127 | output transport stream. | ||
| 128 | |||
| 129 | |||
| 130 | =head2 PmtPid => Int | ||
| 131 | |||
| 132 | Packet Identifier (PID) for the Program Map Table (PMT) in the | ||
| 133 | transport stream. | ||
| 134 | |||
| 135 | |||
| 136 | =head2 PrivateMetadataPid => Int | ||
| 137 | |||
| 138 | Packet Identifier (PID) of the private metadata stream in the transport | ||
| 139 | stream. | ||
| 140 | |||
| 141 | |||
| 142 | =head2 ProgramNumber => Int | ||
| 143 | |||
| 144 | The value of the program number field in the Program Map Table. | ||
| 145 | |||
| 146 | |||
| 147 | =head2 Scte35Pid => Int | ||
| 148 | |||
| 149 | Packet Identifier (PID) of the SCTE-35 stream in the transport stream. | ||
| 150 | |||
| 151 | |||
| 152 | =head2 Scte35Source => Str | ||
| 153 | |||
| 154 | For SCTE-35 markers from your input-- Choose Passthrough (PASSTHROUGH) | ||
| 155 | if you want SCTE-35 markers that appear in your input to also appear in | ||
| 156 | this output. Choose None (NONE) if you don't want SCTE-35 markers in | ||
| 157 | this output. For SCTE-35 markers from an ESAM XML document-- Choose | ||
| 158 | None (NONE) if you don't want manifest conditioning. Choose Passthrough | ||
| 159 | (PASSTHROUGH) and choose Ad markers (adMarkers) if you do want manifest | ||
| 160 | conditioning. In both cases, also provide the ESAM XML as a string in | ||
| 161 | the setting Signal processing notification XML (sccXml). | ||
| 162 | |||
| 163 | |||
| 164 | =head2 TimedMetadata => Str | ||
| 165 | |||
| 166 | Applies only to HLS outputs. Use this setting to specify whether the | ||
| 167 | service inserts the ID3 timed metadata from the input in this output. | ||
| 168 | |||
| 169 | |||
| 170 | =head2 TimedMetadataPid => Int | ||
| 171 | |||
| 172 | Packet Identifier (PID) of the timed metadata stream in the transport | ||
| 173 | stream. | ||
| 174 | |||
| 175 | |||
| 176 | =head2 TransportStreamId => Int | ||
| 177 | |||
| 178 | The value of the transport stream ID field in the Program Map Table. | ||
| 179 | |||
| 180 | |||
| 181 | =head2 VideoPid => Int | ||
| 182 | |||
| 183 | Packet Identifier (PID) of the elementary video stream in the transport | ||
| 184 | stream. | ||
| 185 | |||
| 186 | |||
| 187 | |||
| 188 | =head1 SEE ALSO | ||
| 189 | |||
| 190 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 191 | |||
| 192 | =head1 BUGS and CONTRIBUTIONS | ||
| 193 | |||
| 194 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 195 | |||
| 196 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 197 | |||
| 198 | =cut | ||
| 199 |