« blib/lib/Paws/MediaConvert/H264QvbrSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/H265QvbrSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::H264Settings; | ||
| 3 | use Moose; | ||
| 4 | has AdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'adaptiveQuantization', traits => ['NameInRequest']); | ||
| 5 | has Bitrate => (is => 'ro', isa => 'Int', request_name => 'bitrate', traits => ['NameInRequest']); | ||
| 6 | has CodecLevel => (is => 'ro', isa => 'Str', request_name => 'codecLevel', traits => ['NameInRequest']); | ||
| 7 | has CodecProfile => (is => 'ro', isa => 'Str', request_name => 'codecProfile', traits => ['NameInRequest']); | ||
| 8 | has DynamicSubGop => (is => 'ro', isa => 'Str', request_name => 'dynamicSubGop', traits => ['NameInRequest']); | ||
| 9 | has EntropyEncoding => (is => 'ro', isa => 'Str', request_name => 'entropyEncoding', traits => ['NameInRequest']); | ||
| 10 | has FieldEncoding => (is => 'ro', isa => 'Str', request_name => 'fieldEncoding', traits => ['NameInRequest']); | ||
| 11 | has FlickerAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'flickerAdaptiveQuantization', traits => ['NameInRequest']); | ||
| 12 | has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']); | ||
| 13 | has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']); | ||
| 14 | has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']); | ||
| 15 | has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']); | ||
| 16 | has GopBReference => (is => 'ro', isa => 'Str', request_name => 'gopBReference', traits => ['NameInRequest']); | ||
| 17 | has GopClosedCadence => (is => 'ro', isa => 'Int', request_name => 'gopClosedCadence', traits => ['NameInRequest']); | ||
| 18 | has GopSize => (is => 'ro', isa => 'Num', request_name => 'gopSize', traits => ['NameInRequest']); | ||
| 19 | has GopSizeUnits => (is => 'ro', isa => 'Str', request_name => 'gopSizeUnits', traits => ['NameInRequest']); | ||
| 20 | has HrdBufferInitialFillPercentage => (is => 'ro', isa => 'Int', request_name => 'hrdBufferInitialFillPercentage', traits => ['NameInRequest']); | ||
| 21 | has HrdBufferSize => (is => 'ro', isa => 'Int', request_name => 'hrdBufferSize', traits => ['NameInRequest']); | ||
| 22 | has InterlaceMode => (is => 'ro', isa => 'Str', request_name => 'interlaceMode', traits => ['NameInRequest']); | ||
| 23 | has MaxBitrate => (is => 'ro', isa => 'Int', request_name => 'maxBitrate', traits => ['NameInRequest']); | ||
| 24 | has MinIInterval => (is => 'ro', isa => 'Int', request_name => 'minIInterval', traits => ['NameInRequest']); | ||
| 25 | has NumberBFramesBetweenReferenceFrames => (is => 'ro', isa => 'Int', request_name => 'numberBFramesBetweenReferenceFrames', traits => ['NameInRequest']); | ||
| 26 | has NumberReferenceFrames => (is => 'ro', isa => 'Int', request_name => 'numberReferenceFrames', traits => ['NameInRequest']); | ||
| 27 | has ParControl => (is => 'ro', isa => 'Str', request_name => 'parControl', traits => ['NameInRequest']); | ||
| 28 | has ParDenominator => (is => 'ro', isa => 'Int', request_name => 'parDenominator', traits => ['NameInRequest']); | ||
| 29 | has ParNumerator => (is => 'ro', isa => 'Int', request_name => 'parNumerator', traits => ['NameInRequest']); | ||
| 30 | has QualityTuningLevel => (is => 'ro', isa => 'Str', request_name => 'qualityTuningLevel', traits => ['NameInRequest']); | ||
| 31 | has QvbrSettings => (is => 'ro', isa => 'Paws::MediaConvert::H264QvbrSettings', request_name => 'qvbrSettings', traits => ['NameInRequest']); | ||
| 32 | has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']); | ||
| 33 | has RepeatPps => (is => 'ro', isa => 'Str', request_name => 'repeatPps', traits => ['NameInRequest']); | ||
| 34 | has ScanTypeConversionMode => (is => 'ro', isa => 'Str', request_name => 'scanTypeConversionMode', traits => ['NameInRequest']); | ||
| 35 | has SceneChangeDetect => (is => 'ro', isa => 'Str', request_name => 'sceneChangeDetect', traits => ['NameInRequest']); | ||
| 36 | has Slices => (is => 'ro', isa => 'Int', request_name => 'slices', traits => ['NameInRequest']); | ||
| 37 | has SlowPal => (is => 'ro', isa => 'Str', request_name => 'slowPal', traits => ['NameInRequest']); | ||
| 38 | has Softness => (is => 'ro', isa => 'Int', request_name => 'softness', traits => ['NameInRequest']); | ||
| 39 | has SpatialAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'spatialAdaptiveQuantization', traits => ['NameInRequest']); | ||
| 40 | has Syntax => (is => 'ro', isa => 'Str', request_name => 'syntax', traits => ['NameInRequest']); | ||
| 41 | has Telecine => (is => 'ro', isa => 'Str', request_name => 'telecine', traits => ['NameInRequest']); | ||
| 42 | has TemporalAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'temporalAdaptiveQuantization', traits => ['NameInRequest']); | ||
| 43 | has UnregisteredSeiTimecode => (is => 'ro', isa => 'Str', request_name => 'unregisteredSeiTimecode', traits => ['NameInRequest']); | ||
| 44 | |||
| 45 | 1; | ||
| 46 | |||
| 47 | ### main pod documentation begin ### | ||
| 48 | |||
| 49 | =head1 NAME | ||
| 50 | |||
| 51 | Paws::MediaConvert::H264Settings | ||
| 52 | |||
| 53 | =head1 USAGE | ||
| 54 | |||
| 55 | This class represents one of two things: | ||
| 56 | |||
| 57 | =head3 Arguments in a call to a service | ||
| 58 | |||
| 59 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 60 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 61 | |||
| 62 | As an example, if Att1 is expected to be a Paws::MediaConvert::H264Settings object: | ||
| 63 | |||
| 64 | $service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., UnregisteredSeiTimecode => $value }); | ||
| 65 | |||
| 66 | =head3 Results returned from an API call | ||
| 67 | |||
| 68 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::H264Settings object: | ||
| 69 | |||
| 70 | $result = $service_obj->Method(...); | ||
| 71 | $result->Att1->AdaptiveQuantization | ||
| 72 | |||
| 73 | =head1 DESCRIPTION | ||
| 74 | |||
| 75 | Required when you set (Codec) under | ||
| 76 | (VideoDescription)E<gt>(CodecSettings) to the value H_264. | ||
| 77 | |||
| 78 | =head1 ATTRIBUTES | ||
| 79 | |||
| 80 | |||
| 81 | =head2 AdaptiveQuantization => Str | ||
| 82 | |||
| 83 | Keep the default value, Auto (AUTO), for this setting to have | ||
| 84 | MediaConvert automatically apply the best types of quantization for | ||
| 85 | your video content. When you want to apply your quantization settings | ||
| 86 | manually, you must set H264AdaptiveQuantization to a value other than | ||
| 87 | Auto (AUTO). Use this setting to specify the strength of any adaptive | ||
| 88 | quantization filters that you enable. If you don't want MediaConvert to | ||
| 89 | do any adaptive quantization in this transcode, set Adaptive | ||
| 90 | quantization (H264AdaptiveQuantization) to Off (OFF). Related settings: | ||
| 91 | The value that you choose here applies to the following settings: | ||
| 92 | H264FlickerAdaptiveQuantization, H264SpatialAdaptiveQuantization, and | ||
| 93 | H264TemporalAdaptiveQuantization. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 Bitrate => Int | ||
| 97 | |||
| 98 | Specify the average bitrate in bits per second. Required for VBR and | ||
| 99 | CBR. For MS Smooth outputs, bitrates must be unique when rounded down | ||
| 100 | to the nearest multiple of 1000. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 CodecLevel => Str | ||
| 104 | |||
| 105 | Specify an H.264 level that is consistent with your output video | ||
| 106 | settings. If you aren't sure what level to specify, choose Auto (AUTO). | ||
| 107 | |||
| 108 | |||
| 109 | =head2 CodecProfile => Str | ||
| 110 | |||
| 111 | H.264 Profile. High 4:2:2 and 10-bit profiles are only available with | ||
| 112 | the AVC-I License. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 DynamicSubGop => Str | ||
| 116 | |||
| 117 | Choose Adaptive to improve subjective video quality for high-motion | ||
| 118 | content. This will cause the service to use fewer B-frames (which infer | ||
| 119 | information based on other frames) for high-motion portions of the | ||
| 120 | video and more B-frames for low-motion portions. The maximum number of | ||
| 121 | B-frames is limited by the value you provide for the setting B frames | ||
| 122 | between reference frames (numberBFramesBetweenReferenceFrames). | ||
| 123 | |||
| 124 | |||
| 125 | =head2 EntropyEncoding => Str | ||
| 126 | |||
| 127 | Entropy encoding mode. Use CABAC (must be in Main or High profile) or | ||
| 128 | CAVLC. | ||
| 129 | |||
| 130 | |||
| 131 | =head2 FieldEncoding => Str | ||
| 132 | |||
| 133 | Keep the default value, PAFF, to have MediaConvert use PAFF encoding | ||
| 134 | for interlaced outputs. Choose Force field (FORCE_FIELD) to disable | ||
| 135 | PAFF encoding and create separate interlaced fields. | ||
| 136 | |||
| 137 | |||
| 138 | =head2 FlickerAdaptiveQuantization => Str | ||
| 139 | |||
| 140 | Only use this setting when you change the default value, AUTO, for the | ||
| 141 | setting H264AdaptiveQuantization. When you keep all defaults, excluding | ||
| 142 | H264AdaptiveQuantization and all other adaptive quantization from your | ||
| 143 | JSON job specification, MediaConvert automatically applies the best | ||
| 144 | types of quantization for your video content. When you set | ||
| 145 | H264AdaptiveQuantization to a value other than AUTO, the default value | ||
| 146 | for H264FlickerAdaptiveQuantization is Disabled (DISABLED). Change this | ||
| 147 | value to Enabled (ENABLED) to reduce I-frame pop. I-frame pop appears | ||
| 148 | as a visual flicker that can arise when the encoder saves bits by | ||
| 149 | copying some macroblocks many times from frame to frame, and then | ||
| 150 | refreshes them at the I-frame. When you enable this setting, the | ||
| 151 | encoder updates these macroblocks slightly more often to smooth out the | ||
| 152 | flicker. To manually enable or disable H264FlickerAdaptiveQuantization, | ||
| 153 | you must set Adaptive quantization (H264AdaptiveQuantization) to a | ||
| 154 | value other than AUTO. | ||
| 155 | |||
| 156 | |||
| 157 | =head2 FramerateControl => Str | ||
| 158 | |||
| 159 | If you are using the console, use the Framerate setting to specify the | ||
| 160 | frame rate for this output. If you want to keep the same frame rate as | ||
| 161 | the input video, choose Follow source. If you want to do frame rate | ||
| 162 | conversion, choose a frame rate from the dropdown list or choose | ||
| 163 | Custom. The framerates shown in the dropdown list are decimal | ||
| 164 | approximations of fractions. If you choose Custom, specify your frame | ||
| 165 | rate as a fraction. If you are creating your transcoding job | ||
| 166 | specification as a JSON file without the console, use FramerateControl | ||
| 167 | to specify which value the service uses for the frame rate for this | ||
| 168 | output. Choose INITIALIZE_FROM_SOURCE if you want the service to use | ||
| 169 | the frame rate from the input. Choose SPECIFIED if you want the service | ||
| 170 | to use the frame rate you specify in the settings FramerateNumerator | ||
| 171 | and FramerateDenominator. | ||
| 172 | |||
| 173 | |||
| 174 | =head2 FramerateConversionAlgorithm => Str | ||
| 175 | |||
| 176 | Choose the method that you want MediaConvert to use when increasing or | ||
| 177 | decreasing the frame rate. We recommend using drop duplicate | ||
| 178 | (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to | ||
| 179 | 30 fps. For numerically complex conversions, you can use interpolate | ||
| 180 | (INTERPOLATE) to avoid stutter. This results in a smooth picture, but | ||
| 181 | might introduce undesirable video artifacts. For complex frame rate | ||
| 182 | conversions, especially if your source video has already been converted | ||
| 183 | from its original cadence, use FrameFormer (FRAMEFORMER) to do | ||
| 184 | motion-compensated interpolation. FrameFormer chooses the best | ||
| 185 | conversion method frame by frame. Note that using FrameFormer increases | ||
| 186 | the transcoding time and incurs a significant add-on cost. | ||
| 187 | |||
| 188 | |||
| 189 | =head2 FramerateDenominator => Int | ||
| 190 | |||
| 191 | When you use the API for transcode jobs that use frame rate conversion, | ||
| 192 | specify the frame rate as a fraction. For example, 24000 / 1001 = | ||
| 193 | 23.976 fps. Use FramerateDenominator to specify the denominator of this | ||
| 194 | fraction. In this example, use 1001 for the value of | ||
| 195 | FramerateDenominator. When you use the console for transcode jobs that | ||
| 196 | use frame rate conversion, provide the value as a decimal number for | ||
| 197 | Framerate. In this example, specify 23.976. | ||
| 198 | |||
| 199 | |||
| 200 | =head2 FramerateNumerator => Int | ||
| 201 | |||
| 202 | When you use the API for transcode jobs that use frame rate conversion, | ||
| 203 | specify the frame rate as a fraction. For example, 24000 / 1001 = | ||
| 204 | 23.976 fps. Use FramerateNumerator to specify the numerator of this | ||
| 205 | fraction. In this example, use 24000 for the value of | ||
| 206 | FramerateNumerator. When you use the console for transcode jobs that | ||
| 207 | use frame rate conversion, provide the value as a decimal number for | ||
| 208 | Framerate. In this example, specify 23.976. | ||
| 209 | |||
| 210 | |||
| 211 | =head2 GopBReference => Str | ||
| 212 | |||
| 213 | If enable, use reference B frames for GOP structures that have B frames | ||
| 214 | E<gt> 1. | ||
| 215 | |||
| 216 | |||
| 217 | =head2 GopClosedCadence => Int | ||
| 218 | |||
| 219 | Frequency of closed GOPs. In streaming applications, it is recommended | ||
| 220 | that this be set to 1 so a decoder joining mid-stream will receive an | ||
| 221 | IDR frame as quickly as possible. Setting this value to 0 will break | ||
| 222 | output segmenting. | ||
| 223 | |||
| 224 | |||
| 225 | =head2 GopSize => Num | ||
| 226 | |||
| 227 | GOP Length (keyframe interval) in frames or seconds. Must be greater | ||
| 228 | than zero. | ||
| 229 | |||
| 230 | |||
| 231 | =head2 GopSizeUnits => Str | ||
| 232 | |||
| 233 | Indicates if the GOP Size in H264 is specified in frames or seconds. If | ||
| 234 | seconds the system will convert the GOP Size into a frame count at run | ||
| 235 | time. | ||
| 236 | |||
| 237 | |||
| 238 | =head2 HrdBufferInitialFillPercentage => Int | ||
| 239 | |||
| 240 | Percentage of the buffer that should initially be filled (HRD buffer | ||
| 241 | model). | ||
| 242 | |||
| 243 | |||
| 244 | =head2 HrdBufferSize => Int | ||
| 245 | |||
| 246 | Size of buffer (HRD buffer model) in bits. For example, enter five | ||
| 247 | megabits as 5000000. | ||
| 248 | |||
| 249 | |||
| 250 | =head2 InterlaceMode => Str | ||
| 251 | |||
| 252 | Choose the scan line type for the output. Keep the default value, | ||
| 253 | Progressive (PROGRESSIVE) to create a progressive output, regardless of | ||
| 254 | the scan type of your input. Use Top field first (TOP_FIELD) or Bottom | ||
| 255 | field first (BOTTOM_FIELD) to create an output that's interlaced with | ||
| 256 | the same field polarity throughout. Use Follow, default top | ||
| 257 | (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to | ||
| 258 | produce outputs with the same field polarity as the source. For jobs | ||
| 259 | that have multiple inputs, the output field polarity might change over | ||
| 260 | the course of the output. Follow behavior depends on the input scan | ||
| 261 | type. If the source is interlaced, the output will be interlaced with | ||
| 262 | the same polarity as the source. If the source is progressive, the | ||
| 263 | output will be interlaced with top field bottom field first, depending | ||
| 264 | on which of the Follow options you choose. | ||
| 265 | |||
| 266 | |||
| 267 | =head2 MaxBitrate => Int | ||
| 268 | |||
| 269 | Maximum bitrate in bits/second. For example, enter five megabits per | ||
| 270 | second as 5000000. Required when Rate control mode is QVBR. | ||
| 271 | |||
| 272 | |||
| 273 | =head2 MinIInterval => Int | ||
| 274 | |||
| 275 | Enforces separation between repeated (cadence) I-frames and I-frames | ||
| 276 | inserted by Scene Change Detection. If a scene change I-frame is within | ||
| 277 | I-interval frames of a cadence I-frame, the GOP is shrunk and/or | ||
| 278 | stretched to the scene change I-frame. GOP stretch requires enabling | ||
| 279 | lookahead as well as setting I-interval. The normal cadence resumes for | ||
| 280 | the next GOP. This setting is only used when Scene Change Detect is | ||
| 281 | enabled. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 | ||
| 282 | |||
| 283 | |||
| 284 | =head2 NumberBFramesBetweenReferenceFrames => Int | ||
| 285 | |||
| 286 | Number of B-frames between reference frames. | ||
| 287 | |||
| 288 | |||
| 289 | =head2 NumberReferenceFrames => Int | ||
| 290 | |||
| 291 | Number of reference frames to use. The encoder may use more than | ||
| 292 | requested if using B-frames and/or interlaced encoding. | ||
| 293 | |||
| 294 | |||
| 295 | =head2 ParControl => Str | ||
| 296 | |||
| 297 | Optional. Specify how the service determines the pixel aspect ratio | ||
| 298 | (PAR) for this output. The default behavior, Follow source | ||
| 299 | (INITIALIZE_FROM_SOURCE), uses the PAR from your input video for your | ||
| 300 | output. To specify a different PAR in the console, choose any value | ||
| 301 | other than Follow source. To specify a different PAR by editing the | ||
| 302 | JSON job specification, choose SPECIFIED. When you choose SPECIFIED for | ||
| 303 | this setting, you must also specify values for the parNumerator and | ||
| 304 | parDenominator settings. | ||
| 305 | |||
| 306 | |||
| 307 | =head2 ParDenominator => Int | ||
| 308 | |||
| 309 | Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On | ||
| 310 | the console, this corresponds to any value other than Follow source. | ||
| 311 | When you specify an output pixel aspect ratio (PAR) that is different | ||
| 312 | from your input video PAR, provide your output PAR as a ratio. For | ||
| 313 | example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. | ||
| 314 | In this example, the value for parDenominator is 33. | ||
| 315 | |||
| 316 | |||
| 317 | =head2 ParNumerator => Int | ||
| 318 | |||
| 319 | Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On | ||
| 320 | the console, this corresponds to any value other than Follow source. | ||
| 321 | When you specify an output pixel aspect ratio (PAR) that is different | ||
| 322 | from your input video PAR, provide your output PAR as a ratio. For | ||
| 323 | example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. | ||
| 324 | In this example, the value for parNumerator is 40. | ||
| 325 | |||
| 326 | |||
| 327 | =head2 QualityTuningLevel => Str | ||
| 328 | |||
| 329 | Optional. Use Quality tuning level (qualityTuningLevel) to choose how | ||
| 330 | you want to trade off encoding speed for output video quality. The | ||
| 331 | default behavior is faster, lower quality, single-pass encoding. | ||
| 332 | |||
| 333 | |||
| 334 | =head2 QvbrSettings => L<Paws::MediaConvert::H264QvbrSettings> | ||
| 335 | |||
| 336 | Settings for quality-defined variable bitrate encoding with the H.264 | ||
| 337 | codec. Required when you set Rate control mode to QVBR. Not valid when | ||
| 338 | you set Rate control mode to a value other than QVBR, or when you don't | ||
| 339 | define Rate control mode. | ||
| 340 | |||
| 341 | |||
| 342 | =head2 RateControlMode => Str | ||
| 343 | |||
| 344 | Use this setting to specify whether this output has a variable bitrate | ||
| 345 | (VBR), constant bitrate (CBR) or quality-defined variable bitrate | ||
| 346 | (QVBR). | ||
| 347 | |||
| 348 | |||
| 349 | =head2 RepeatPps => Str | ||
| 350 | |||
| 351 | Places a PPS header on each encoded picture, even if repeated. | ||
| 352 | |||
| 353 | |||
| 354 | =head2 ScanTypeConversionMode => Str | ||
| 355 | |||
| 356 | Use this setting for interlaced outputs, when your output frame rate is | ||
| 357 | half of your input frame rate. In this situation, choose Optimized | ||
| 358 | interlacing (INTERLACED_OPTIMIZE) to create a better quality interlaced | ||
| 359 | output. In this case, each progressive frame from the input corresponds | ||
| 360 | to an interlaced field in the output. Keep the default value, Basic | ||
| 361 | interlacing (INTERLACED), for all other output frame rates. With basic | ||
| 362 | interlacing, MediaConvert performs any frame rate conversion first and | ||
| 363 | then interlaces the frames. When you choose Optimized interlacing and | ||
| 364 | you set your output frame rate to a value that isn't suitable for | ||
| 365 | optimized interlacing, MediaConvert automatically falls back to basic | ||
| 366 | interlacing. Required settings: To use optimized interlacing, you must | ||
| 367 | set Telecine (telecine) to None (NONE) or Soft (SOFT). You can't use | ||
| 368 | optimized interlacing for hard telecine outputs. You must also set | ||
| 369 | Interlace mode (interlaceMode) to a value other than Progressive | ||
| 370 | (PROGRESSIVE). | ||
| 371 | |||
| 372 | |||
| 373 | =head2 SceneChangeDetect => Str | ||
| 374 | |||
| 375 | Enable this setting to insert I-frames at scene changes that the | ||
| 376 | service automatically detects. This improves video quality and is | ||
| 377 | enabled by default. If this output uses QVBR, choose Transition | ||
| 378 | detection (TRANSITION_DETECTION) for further video quality improvement. | ||
| 379 | For more information about QVBR, see | ||
| 380 | https://docs.aws.amazon.com/console/mediaconvert/cbr-vbr-qvbr. | ||
| 381 | |||
| 382 | |||
| 383 | =head2 Slices => Int | ||
| 384 | |||
| 385 | Number of slices per picture. Must be less than or equal to the number | ||
| 386 | of macroblock rows for progressive pictures, and less than or equal to | ||
| 387 | half the number of macroblock rows for interlaced pictures. | ||
| 388 | |||
| 389 | |||
| 390 | =head2 SlowPal => Str | ||
| 391 | |||
| 392 | Ignore this setting unless your input frame rate is 23.976 or 24 frames | ||
| 393 | per second (fps). Enable slow PAL to create a 25 fps output. When you | ||
| 394 | enable slow PAL, MediaConvert relabels the video frames to 25 fps and | ||
| 395 | resamples your audio to keep it synchronized with the video. Note that | ||
| 396 | enabling this setting will slightly reduce the duration of your video. | ||
| 397 | Required settings: You must also set Framerate to 25. In your JSON job | ||
| 398 | specification, set (framerateControl) to (SPECIFIED), | ||
| 399 | (framerateNumerator) to 25 and (framerateDenominator) to 1. | ||
| 400 | |||
| 401 | |||
| 402 | =head2 Softness => Int | ||
| 403 | |||
| 404 | Ignore this setting unless you need to comply with a specification that | ||
| 405 | requires a specific value. If you don't have a specification | ||
| 406 | requirement, we recommend that you adjust the softness of your output | ||
| 407 | by using a lower value for the setting Sharpness (sharpness) or by | ||
| 408 | enabling a noise reducer filter (noiseReducerFilter). The Softness | ||
| 409 | (softness) setting specifies the quantization matrices that the encoder | ||
| 410 | uses. Keep the default value, 0, for flat quantization. Choose the | ||
| 411 | value 1 or 16 to use the default JVT softening quantization matricies | ||
| 412 | from the H.264 specification. Choose a value from 17 to 128 to use | ||
| 413 | planar interpolation. Increasing values from 17 to 128 result in | ||
| 414 | increasing reduction of high-frequency data. The value 128 results in | ||
| 415 | the softest video. | ||
| 416 | |||
| 417 | |||
| 418 | =head2 SpatialAdaptiveQuantization => Str | ||
| 419 | |||
| 420 | Only use this setting when you change the default value, Auto (AUTO), | ||
| 421 | for the setting H264AdaptiveQuantization. When you keep all defaults, | ||
| 422 | excluding H264AdaptiveQuantization and all other adaptive quantization | ||
| 423 | from your JSON job specification, MediaConvert automatically applies | ||
| 424 | the best types of quantization for your video content. When you set | ||
| 425 | H264AdaptiveQuantization to a value other than AUTO, the default value | ||
| 426 | for H264SpatialAdaptiveQuantization is Enabled (ENABLED). Keep this | ||
| 427 | default value to adjust quantization within each frame based on spatial | ||
| 428 | variation of content complexity. When you enable this feature, the | ||
| 429 | encoder uses fewer bits on areas that can sustain more distortion with | ||
| 430 | no noticeable visual degradation and uses more bits on areas where any | ||
| 431 | small distortion will be noticeable. For example, complex textured | ||
| 432 | blocks are encoded with fewer bits and smooth textured blocks are | ||
| 433 | encoded with more bits. Enabling this feature will almost always | ||
| 434 | improve your video quality. Note, though, that this feature doesn't | ||
| 435 | take into account where the viewer's attention is likely to be. If | ||
| 436 | viewers are likely to be focusing their attention on a part of the | ||
| 437 | screen with a lot of complex texture, you might choose to set | ||
| 438 | H264SpatialAdaptiveQuantization to Disabled (DISABLED). Related | ||
| 439 | setting: When you enable spatial adaptive quantization, set the value | ||
| 440 | for Adaptive quantization (H264AdaptiveQuantization) depending on your | ||
| 441 | content. For homogeneous content, such as cartoons and video games, set | ||
| 442 | it to Low. For content with a wider variety of textures, set it to High | ||
| 443 | or Higher. To manually enable or disable | ||
| 444 | H264SpatialAdaptiveQuantization, you must set Adaptive quantization | ||
| 445 | (H264AdaptiveQuantization) to a value other than AUTO. | ||
| 446 | |||
| 447 | |||
| 448 | =head2 Syntax => Str | ||
| 449 | |||
| 450 | Produces a bitstream compliant with SMPTE RP-2027. | ||
| 451 | |||
| 452 | |||
| 453 | =head2 Telecine => Str | ||
| 454 | |||
| 455 | When you do frame rate conversion from 23.976 frames per second (fps) | ||
| 456 | to 29.97 fps, and your output scan type is interlaced, you can | ||
| 457 | optionally enable hard or soft telecine to create a smoother picture. | ||
| 458 | Hard telecine (HARD) produces a 29.97i output. Soft telecine (SOFT) | ||
| 459 | produces an output with a 23.976 output that signals to the video | ||
| 460 | player device to do the conversion during play back. When you keep the | ||
| 461 | default value, None (NONE), MediaConvert does a standard frame rate | ||
| 462 | conversion to 29.97 without doing anything with the field polarity to | ||
| 463 | create a smoother picture. | ||
| 464 | |||
| 465 | |||
| 466 | =head2 TemporalAdaptiveQuantization => Str | ||
| 467 | |||
| 468 | Only use this setting when you change the default value, AUTO, for the | ||
| 469 | setting H264AdaptiveQuantization. When you keep all defaults, excluding | ||
| 470 | H264AdaptiveQuantization and all other adaptive quantization from your | ||
| 471 | JSON job specification, MediaConvert automatically applies the best | ||
| 472 | types of quantization for your video content. When you set | ||
| 473 | H264AdaptiveQuantization to a value other than AUTO, the default value | ||
| 474 | for H264TemporalAdaptiveQuantization is Enabled (ENABLED). Keep this | ||
| 475 | default value to adjust quantization within each frame based on | ||
| 476 | temporal variation of content complexity. When you enable this feature, | ||
| 477 | the encoder uses fewer bits on areas of the frame that aren't moving | ||
| 478 | and uses more bits on complex objects with sharp edges that move a lot. | ||
| 479 | For example, this feature improves the readability of text tickers on | ||
| 480 | newscasts and scoreboards on sports matches. Enabling this feature will | ||
| 481 | almost always improve your video quality. Note, though, that this | ||
| 482 | feature doesn't take into account where the viewer's attention is | ||
| 483 | likely to be. If viewers are likely to be focusing their attention on a | ||
| 484 | part of the screen that doesn't have moving objects with sharp edges, | ||
| 485 | such as sports athletes' faces, you might choose to set | ||
| 486 | H264TemporalAdaptiveQuantization to Disabled (DISABLED). Related | ||
| 487 | setting: When you enable temporal quantization, adjust the strength of | ||
| 488 | the filter with the setting Adaptive quantization | ||
| 489 | (adaptiveQuantization). To manually enable or disable | ||
| 490 | H264TemporalAdaptiveQuantization, you must set Adaptive quantization | ||
| 491 | (H264AdaptiveQuantization) to a value other than AUTO. | ||
| 492 | |||
| 493 | |||
| 494 | =head2 UnregisteredSeiTimecode => Str | ||
| 495 | |||
| 496 | Inserts timecode for each frame as 4 bytes of an unregistered SEI | ||
| 497 | message. | ||
| 498 | |||
| 499 | |||
| 500 | |||
| 501 | =head1 SEE ALSO | ||
| 502 | |||
| 503 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 504 | |||
| 505 | =head1 BUGS and CONTRIBUTIONS | ||
| 506 | |||
| 507 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 508 | |||
| 509 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 510 | |||
| 511 | =cut | ||
| 512 |