« blib/lib/Paws/MediaConvert/AvailBlanking.pm
↑ Summary
blib/lib/Paws/MediaConvert/AvcIntraUhdSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::AvcIntraSettings; | ||
| 3 | use Moose; | ||
| 4 | has AvcIntraClass => (is => 'ro', isa => 'Str', request_name => 'avcIntraClass', traits => ['NameInRequest']); | ||
| 5 | has AvcIntraUhdSettings => (is => 'ro', isa => 'Paws::MediaConvert::AvcIntraUhdSettings', request_name => 'avcIntraUhdSettings', traits => ['NameInRequest']); | ||
| 6 | has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']); | ||
| 7 | has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']); | ||
| 8 | has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']); | ||
| 9 | has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']); | ||
| 10 | has InterlaceMode => (is => 'ro', isa => 'Str', request_name => 'interlaceMode', traits => ['NameInRequest']); | ||
| 11 | has ScanTypeConversionMode => (is => 'ro', isa => 'Str', request_name => 'scanTypeConversionMode', traits => ['NameInRequest']); | ||
| 12 | has SlowPal => (is => 'ro', isa => 'Str', request_name => 'slowPal', traits => ['NameInRequest']); | ||
| 13 | has Telecine => (is => 'ro', isa => 'Str', request_name => 'telecine', traits => ['NameInRequest']); | ||
| 14 | |||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::MediaConvert::AvcIntraSettings | ||
| 22 | |||
| 23 | =head1 USAGE | ||
| 24 | |||
| 25 | This class represents one of two things: | ||
| 26 | |||
| 27 | =head3 Arguments in a call to a service | ||
| 28 | |||
| 29 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 30 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 31 | |||
| 32 | As an example, if Att1 is expected to be a Paws::MediaConvert::AvcIntraSettings object: | ||
| 33 | |||
| 34 | $service_obj->Method(Att1 => { AvcIntraClass => $value, ..., Telecine => $value }); | ||
| 35 | |||
| 36 | =head3 Results returned from an API call | ||
| 37 | |||
| 38 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::AvcIntraSettings object: | ||
| 39 | |||
| 40 | $result = $service_obj->Method(...); | ||
| 41 | $result->Att1->AvcIntraClass | ||
| 42 | |||
| 43 | =head1 DESCRIPTION | ||
| 44 | |||
| 45 | Required when you choose AVC-Intra for your output video codec. For | ||
| 46 | more information about the AVC-Intra settings, see the relevant | ||
| 47 | specification. For detailed information about SD and HD in AVC-Intra, | ||
| 48 | see https://ieeexplore.ieee.org/document/7290936. For information about | ||
| 49 | 4K/2K in AVC-Intra, see | ||
| 50 | https://pro-av.panasonic.net/en/avc-ultra/AVC-ULTRAoverview.pdf. | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 AvcIntraClass => Str | ||
| 56 | |||
| 57 | Specify the AVC-Intra class of your output. The AVC-Intra class | ||
| 58 | selection determines the output video bit rate depending on the frame | ||
| 59 | rate of the output. Outputs with higher class values have higher | ||
| 60 | bitrates and improved image quality. Note that for Class 4K/2K, | ||
| 61 | MediaConvert supports only 4:2:2 chroma subsampling. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 AvcIntraUhdSettings => L<Paws::MediaConvert::AvcIntraUhdSettings> | ||
| 65 | |||
| 66 | Optional when you set AVC-Intra class (avcIntraClass) to Class 4K/2K | ||
| 67 | (CLASS_4K_2K). When you set AVC-Intra class to a different value, this | ||
| 68 | object isn't allowed. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 FramerateControl => Str | ||
| 72 | |||
| 73 | If you are using the console, use the Framerate setting to specify the | ||
| 74 | frame rate for this output. If you want to keep the same frame rate as | ||
| 75 | the input video, choose Follow source. If you want to do frame rate | ||
| 76 | conversion, choose a frame rate from the dropdown list or choose | ||
| 77 | Custom. The framerates shown in the dropdown list are decimal | ||
| 78 | approximations of fractions. If you choose Custom, specify your frame | ||
| 79 | rate as a fraction. If you are creating your transcoding job | ||
| 80 | specification as a JSON file without the console, use FramerateControl | ||
| 81 | to specify which value the service uses for the frame rate for this | ||
| 82 | output. Choose INITIALIZE_FROM_SOURCE if you want the service to use | ||
| 83 | the frame rate from the input. Choose SPECIFIED if you want the service | ||
| 84 | to use the frame rate you specify in the settings FramerateNumerator | ||
| 85 | and FramerateDenominator. | ||
| 86 | |||
| 87 | |||
| 88 | =head2 FramerateConversionAlgorithm => Str | ||
| 89 | |||
| 90 | Choose the method that you want MediaConvert to use when increasing or | ||
| 91 | decreasing the frame rate. We recommend using drop duplicate | ||
| 92 | (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to | ||
| 93 | 30 fps. For numerically complex conversions, you can use interpolate | ||
| 94 | (INTERPOLATE) to avoid stutter. This results in a smooth picture, but | ||
| 95 | might introduce undesirable video artifacts. For complex frame rate | ||
| 96 | conversions, especially if your source video has already been converted | ||
| 97 | from its original cadence, use FrameFormer (FRAMEFORMER) to do | ||
| 98 | motion-compensated interpolation. FrameFormer chooses the best | ||
| 99 | conversion method frame by frame. Note that using FrameFormer increases | ||
| 100 | the transcoding time and incurs a significant add-on cost. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 FramerateDenominator => Int | ||
| 104 | |||
| 105 | When you use the API for transcode jobs that use frame rate conversion, | ||
| 106 | specify the frame rate as a fraction. For example, 24000 / 1001 = | ||
| 107 | 23.976 fps. Use FramerateDenominator to specify the denominator of this | ||
| 108 | fraction. In this example, use 1001 for the value of | ||
| 109 | FramerateDenominator. When you use the console for transcode jobs that | ||
| 110 | use frame rate conversion, provide the value as a decimal number for | ||
| 111 | Framerate. In this example, specify 23.976. | ||
| 112 | |||
| 113 | |||
| 114 | =head2 FramerateNumerator => Int | ||
| 115 | |||
| 116 | When you use the API for transcode jobs that use frame rate conversion, | ||
| 117 | specify the frame rate as a fraction. For example, 24000 / 1001 = | ||
| 118 | 23.976 fps. Use FramerateNumerator to specify the numerator of this | ||
| 119 | fraction. In this example, use 24000 for the value of | ||
| 120 | FramerateNumerator. When you use the console for transcode jobs that | ||
| 121 | use frame rate conversion, provide the value as a decimal number for | ||
| 122 | Framerate. In this example, specify 23.976. | ||
| 123 | |||
| 124 | |||
| 125 | =head2 InterlaceMode => Str | ||
| 126 | |||
| 127 | Choose the scan line type for the output. Keep the default value, | ||
| 128 | Progressive (PROGRESSIVE) to create a progressive output, regardless of | ||
| 129 | the scan type of your input. Use Top field first (TOP_FIELD) or Bottom | ||
| 130 | field first (BOTTOM_FIELD) to create an output that's interlaced with | ||
| 131 | the same field polarity throughout. Use Follow, default top | ||
| 132 | (FOLLOW_TOP_FIELD) or Follow, default bottom (FOLLOW_BOTTOM_FIELD) to | ||
| 133 | produce outputs with the same field polarity as the source. For jobs | ||
| 134 | that have multiple inputs, the output field polarity might change over | ||
| 135 | the course of the output. Follow behavior depends on the input scan | ||
| 136 | type. If the source is interlaced, the output will be interlaced with | ||
| 137 | the same polarity as the source. If the source is progressive, the | ||
| 138 | output will be interlaced with top field bottom field first, depending | ||
| 139 | on which of the Follow options you choose. | ||
| 140 | |||
| 141 | |||
| 142 | =head2 ScanTypeConversionMode => Str | ||
| 143 | |||
| 144 | Use this setting for interlaced outputs, when your output frame rate is | ||
| 145 | half of your input frame rate. In this situation, choose Optimized | ||
| 146 | interlacing (INTERLACED_OPTIMIZE) to create a better quality interlaced | ||
| 147 | output. In this case, each progressive frame from the input corresponds | ||
| 148 | to an interlaced field in the output. Keep the default value, Basic | ||
| 149 | interlacing (INTERLACED), for all other output frame rates. With basic | ||
| 150 | interlacing, MediaConvert performs any frame rate conversion first and | ||
| 151 | then interlaces the frames. When you choose Optimized interlacing and | ||
| 152 | you set your output frame rate to a value that isn't suitable for | ||
| 153 | optimized interlacing, MediaConvert automatically falls back to basic | ||
| 154 | interlacing. Required settings: To use optimized interlacing, you must | ||
| 155 | set Telecine (telecine) to None (NONE) or Soft (SOFT). You can't use | ||
| 156 | optimized interlacing for hard telecine outputs. You must also set | ||
| 157 | Interlace mode (interlaceMode) to a value other than Progressive | ||
| 158 | (PROGRESSIVE). | ||
| 159 | |||
| 160 | |||
| 161 | =head2 SlowPal => Str | ||
| 162 | |||
| 163 | Ignore this setting unless your input frame rate is 23.976 or 24 frames | ||
| 164 | per second (fps). Enable slow PAL to create a 25 fps output. When you | ||
| 165 | enable slow PAL, MediaConvert relabels the video frames to 25 fps and | ||
| 166 | resamples your audio to keep it synchronized with the video. Note that | ||
| 167 | enabling this setting will slightly reduce the duration of your video. | ||
| 168 | Required settings: You must also set Framerate to 25. In your JSON job | ||
| 169 | specification, set (framerateControl) to (SPECIFIED), | ||
| 170 | (framerateNumerator) to 25 and (framerateDenominator) to 1. | ||
| 171 | |||
| 172 | |||
| 173 | =head2 Telecine => Str | ||
| 174 | |||
| 175 | When you do frame rate conversion from 23.976 frames per second (fps) | ||
| 176 | to 29.97 fps, and your output scan type is interlaced, you can | ||
| 177 | optionally enable hard telecine (HARD) to create a smoother picture. | ||
| 178 | When you keep the default value, None (NONE), MediaConvert does a | ||
| 179 | standard frame rate conversion to 29.97 without doing anything with the | ||
| 180 | field polarity to create a smoother picture. | ||
| 181 | |||
| 182 | |||
| 183 | |||
| 184 | =head1 SEE ALSO | ||
| 185 | |||
| 186 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 187 | |||
| 188 | =head1 BUGS and CONTRIBUTIONS | ||
| 189 | |||
| 190 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 191 | |||
| 192 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 193 | |||
| 194 | =cut | ||
| 195 |