« blib/lib/Paws/MediaConvert/Av1QvbrSettings.pm
↑ Summary
blib/lib/Paws/MediaConvert/AvailBlanking.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::Av1Settings; | ||
| 3 | use Moose; | ||
| 4 | has AdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'adaptiveQuantization', traits => ['NameInRequest']); | ||
| 5 | has FramerateControl => (is => 'ro', isa => 'Str', request_name => 'framerateControl', traits => ['NameInRequest']); | ||
| 6 | has FramerateConversionAlgorithm => (is => 'ro', isa => 'Str', request_name => 'framerateConversionAlgorithm', traits => ['NameInRequest']); | ||
| 7 | has FramerateDenominator => (is => 'ro', isa => 'Int', request_name => 'framerateDenominator', traits => ['NameInRequest']); | ||
| 8 | has FramerateNumerator => (is => 'ro', isa => 'Int', request_name => 'framerateNumerator', traits => ['NameInRequest']); | ||
| 9 | has GopSize => (is => 'ro', isa => 'Num', request_name => 'gopSize', traits => ['NameInRequest']); | ||
| 10 | has MaxBitrate => (is => 'ro', isa => 'Int', request_name => 'maxBitrate', traits => ['NameInRequest']); | ||
| 11 | has NumberBFramesBetweenReferenceFrames => (is => 'ro', isa => 'Int', request_name => 'numberBFramesBetweenReferenceFrames', traits => ['NameInRequest']); | ||
| 12 | has QvbrSettings => (is => 'ro', isa => 'Paws::MediaConvert::Av1QvbrSettings', request_name => 'qvbrSettings', traits => ['NameInRequest']); | ||
| 13 | has RateControlMode => (is => 'ro', isa => 'Str', request_name => 'rateControlMode', traits => ['NameInRequest']); | ||
| 14 | has Slices => (is => 'ro', isa => 'Int', request_name => 'slices', traits => ['NameInRequest']); | ||
| 15 | has SpatialAdaptiveQuantization => (is => 'ro', isa => 'Str', request_name => 'spatialAdaptiveQuantization', traits => ['NameInRequest']); | ||
| 16 | |||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::MediaConvert::Av1Settings | ||
| 24 | |||
| 25 | =head1 USAGE | ||
| 26 | |||
| 27 | This class represents one of two things: | ||
| 28 | |||
| 29 | =head3 Arguments in a call to a service | ||
| 30 | |||
| 31 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 32 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 33 | |||
| 34 | As an example, if Att1 is expected to be a Paws::MediaConvert::Av1Settings object: | ||
| 35 | |||
| 36 | $service_obj->Method(Att1 => { AdaptiveQuantization => $value, ..., SpatialAdaptiveQuantization => $value }); | ||
| 37 | |||
| 38 | =head3 Results returned from an API call | ||
| 39 | |||
| 40 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::Av1Settings object: | ||
| 41 | |||
| 42 | $result = $service_obj->Method(...); | ||
| 43 | $result->Att1->AdaptiveQuantization | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | Required when you set Codec, under VideoDescriptionE<gt>CodecSettings | ||
| 48 | to the value AV1. | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 AdaptiveQuantization => Str | ||
| 54 | |||
| 55 | Specify the strength of any adaptive quantization filters that you | ||
| 56 | enable. The value that you choose here applies to Spatial adaptive | ||
| 57 | quantization (spatialAdaptiveQuantization). | ||
| 58 | |||
| 59 | |||
| 60 | =head2 FramerateControl => Str | ||
| 61 | |||
| 62 | If you are using the console, use the Framerate setting to specify the | ||
| 63 | frame rate for this output. If you want to keep the same frame rate as | ||
| 64 | the input video, choose Follow source. If you want to do frame rate | ||
| 65 | conversion, choose a frame rate from the dropdown list or choose | ||
| 66 | Custom. The framerates shown in the dropdown list are decimal | ||
| 67 | approximations of fractions. If you choose Custom, specify your frame | ||
| 68 | rate as a fraction. If you are creating your transcoding job | ||
| 69 | specification as a JSON file without the console, use FramerateControl | ||
| 70 | to specify which value the service uses for the frame rate for this | ||
| 71 | output. Choose INITIALIZE_FROM_SOURCE if you want the service to use | ||
| 72 | the frame rate from the input. Choose SPECIFIED if you want the service | ||
| 73 | to use the frame rate you specify in the settings FramerateNumerator | ||
| 74 | and FramerateDenominator. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 FramerateConversionAlgorithm => Str | ||
| 78 | |||
| 79 | Choose the method that you want MediaConvert to use when increasing or | ||
| 80 | decreasing the frame rate. We recommend using drop duplicate | ||
| 81 | (DUPLICATE_DROP) for numerically simple conversions, such as 60 fps to | ||
| 82 | 30 fps. For numerically complex conversions, you can use interpolate | ||
| 83 | (INTERPOLATE) to avoid stutter. This results in a smooth picture, but | ||
| 84 | might introduce undesirable video artifacts. For complex frame rate | ||
| 85 | conversions, especially if your source video has already been converted | ||
| 86 | from its original cadence, use FrameFormer (FRAMEFORMER) to do | ||
| 87 | motion-compensated interpolation. FrameFormer chooses the best | ||
| 88 | conversion method frame by frame. Note that using FrameFormer increases | ||
| 89 | the transcoding time and incurs a significant add-on cost. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 FramerateDenominator => Int | ||
| 93 | |||
| 94 | When you use the API for transcode jobs that use frame rate conversion, | ||
| 95 | specify the frame rate as a fraction. For example, 24000 / 1001 = | ||
| 96 | 23.976 fps. Use FramerateDenominator to specify the denominator of this | ||
| 97 | fraction. In this example, use 1001 for the value of | ||
| 98 | FramerateDenominator. When you use the console for transcode jobs that | ||
| 99 | use frame rate conversion, provide the value as a decimal number for | ||
| 100 | Framerate. In this example, specify 23.976. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 FramerateNumerator => 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 FramerateNumerator to specify the numerator of this | ||
| 108 | fraction. In this example, use 24000 for the value of | ||
| 109 | FramerateNumerator. 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 GopSize => Num | ||
| 115 | |||
| 116 | Specify the GOP length (keyframe interval) in frames. With AV1, | ||
| 117 | MediaConvert doesn't support GOP length in seconds. This value must be | ||
| 118 | greater than zero and preferably equal to 1 + ((numberBFrames + 1) * | ||
| 119 | x), where x is an integer value. | ||
| 120 | |||
| 121 | |||
| 122 | =head2 MaxBitrate => Int | ||
| 123 | |||
| 124 | Maximum bitrate in bits/second. For example, enter five megabits per | ||
| 125 | second as 5000000. Required when Rate control mode is QVBR. | ||
| 126 | |||
| 127 | |||
| 128 | =head2 NumberBFramesBetweenReferenceFrames => Int | ||
| 129 | |||
| 130 | Specify from the number of B-frames, in the range of 0-15. For AV1 | ||
| 131 | encoding, we recommend using 7 or 15. Choose a larger number for a | ||
| 132 | lower bitrate and smaller file size; choose a smaller number for better | ||
| 133 | video quality. | ||
| 134 | |||
| 135 | |||
| 136 | =head2 QvbrSettings => L<Paws::MediaConvert::Av1QvbrSettings> | ||
| 137 | |||
| 138 | Settings for quality-defined variable bitrate encoding with the AV1 | ||
| 139 | codec. Required when you set Rate control mode to QVBR. Not valid when | ||
| 140 | you set Rate control mode to a value other than QVBR, or when you don't | ||
| 141 | define Rate control mode. | ||
| 142 | |||
| 143 | |||
| 144 | =head2 RateControlMode => Str | ||
| 145 | |||
| 146 | 'With AV1 outputs, for rate control mode, MediaConvert supports only | ||
| 147 | quality-defined variable bitrate (QVBR). You can''t use CBR or VBR.' | ||
| 148 | |||
| 149 | |||
| 150 | =head2 Slices => Int | ||
| 151 | |||
| 152 | Specify the number of slices per picture. This value must be 1, 2, 4, | ||
| 153 | 8, 16, or 32. For progressive pictures, this value must be less than or | ||
| 154 | equal to the number of macroblock rows. For interlaced pictures, this | ||
| 155 | value must be less than or equal to half the number of macroblock rows. | ||
| 156 | |||
| 157 | |||
| 158 | =head2 SpatialAdaptiveQuantization => Str | ||
| 159 | |||
| 160 | Keep the default value, Enabled (ENABLED), to adjust quantization | ||
| 161 | within each frame based on spatial variation of content complexity. | ||
| 162 | When you enable this feature, the encoder uses fewer bits on areas that | ||
| 163 | can sustain more distortion with no noticeable visual degradation and | ||
| 164 | uses more bits on areas where any small distortion will be noticeable. | ||
| 165 | For example, complex textured blocks are encoded with fewer bits and | ||
| 166 | smooth textured blocks are encoded with more bits. Enabling this | ||
| 167 | feature will almost always improve your video quality. Note, though, | ||
| 168 | that this feature doesn't take into account where the viewer's | ||
| 169 | attention is likely to be. If viewers are likely to be focusing their | ||
| 170 | attention on a part of the screen with a lot of complex texture, you | ||
| 171 | might choose to disable this feature. Related setting: When you enable | ||
| 172 | spatial adaptive quantization, set the value for Adaptive quantization | ||
| 173 | (adaptiveQuantization) depending on your content. For homogeneous | ||
| 174 | content, such as cartoons and video games, set it to Low. For content | ||
| 175 | with a wider variety of textures, set it to High or Higher. | ||
| 176 | |||
| 177 | |||
| 178 | |||
| 179 | =head1 SEE ALSO | ||
| 180 | |||
| 181 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 182 | |||
| 183 | =head1 BUGS and CONTRIBUTIONS | ||
| 184 | |||
| 185 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 186 | |||
| 187 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 188 | |||
| 189 | =cut | ||
| 190 |