« blib/lib/Paws/MediaConvert/VideoPreprocessor.pm
↑ Summary
blib/lib/Paws/MediaConvert/VorbisSettings.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::MediaConvert::VideoSelector; | ||
| 3 | use Moose; | ||
| 4 | has AlphaBehavior => (is => 'ro', isa => 'Str', request_name => 'alphaBehavior', traits => ['NameInRequest']); | ||
| 5 | has ColorSpace => (is => 'ro', isa => 'Str', request_name => 'colorSpace', traits => ['NameInRequest']); | ||
| 6 | has ColorSpaceUsage => (is => 'ro', isa => 'Str', request_name => 'colorSpaceUsage', traits => ['NameInRequest']); | ||
| 7 | has Hdr10Metadata => (is => 'ro', isa => 'Paws::MediaConvert::Hdr10Metadata', request_name => 'hdr10Metadata', traits => ['NameInRequest']); | ||
| 8 | has Pid => (is => 'ro', isa => 'Int', request_name => 'pid', traits => ['NameInRequest']); | ||
| 9 | has ProgramNumber => (is => 'ro', isa => 'Int', request_name => 'programNumber', traits => ['NameInRequest']); | ||
| 10 | has Rotate => (is => 'ro', isa => 'Str', request_name => 'rotate', traits => ['NameInRequest']); | ||
| 11 | has SampleRange => (is => 'ro', isa => 'Str', request_name => 'sampleRange', traits => ['NameInRequest']); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::MediaConvert::VideoSelector | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::MediaConvert::VideoSelector object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { AlphaBehavior => $value, ..., SampleRange => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConvert::VideoSelector object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->AlphaBehavior | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Input video selectors contain the video settings for the input. Each of | ||
| 44 | your inputs can have up to one video selector. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 AlphaBehavior => Str | ||
| 50 | |||
| 51 | Ignore this setting unless this input is a QuickTime animation with an | ||
| 52 | alpha channel. Use this setting to create separate Key and Fill | ||
| 53 | outputs. In each output, specify which part of the input MediaConvert | ||
| 54 | uses. Leave this setting at the default value DISCARD to delete the | ||
| 55 | alpha channel and preserve the video. Set it to REMAP_TO_LUMA to delete | ||
| 56 | the video and map the alpha channel to the luma channel of your | ||
| 57 | outputs. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 ColorSpace => Str | ||
| 61 | |||
| 62 | If your input video has accurate color space metadata, or if you don't | ||
| 63 | know about color space, leave this set to the default value Follow | ||
| 64 | (FOLLOW). The service will automatically detect your input color space. | ||
| 65 | If your input video has metadata indicating the wrong color space, | ||
| 66 | specify the accurate color space here. If your input video is HDR 10 | ||
| 67 | and the SMPTE ST 2086 Mastering Display Color Volume static metadata | ||
| 68 | isn't present in your video stream, or if that metadata is present but | ||
| 69 | not accurate, choose Force HDR 10 (FORCE_HDR10) here and specify | ||
| 70 | correct values in the input HDR 10 metadata (Hdr10Metadata) settings. | ||
| 71 | For more information about MediaConvert HDR jobs, see | ||
| 72 | https://docs.aws.amazon.com/console/mediaconvert/hdr. | ||
| 73 | |||
| 74 | |||
| 75 | =head2 ColorSpaceUsage => Str | ||
| 76 | |||
| 77 | There are two sources for color metadata, the input file and the job | ||
| 78 | input settings Color space (ColorSpace) and HDR master display | ||
| 79 | information settings(Hdr10Metadata). The Color space usage setting | ||
| 80 | determines which takes precedence. Choose Force (FORCE) to use color | ||
| 81 | metadata from the input job settings. If you don't specify values for | ||
| 82 | those settings, the service defaults to using metadata from your input. | ||
| 83 | FALLBACK - Choose Fallback (FALLBACK) to use color metadata from the | ||
| 84 | source when it is present. If there's no color metadata in your input | ||
| 85 | file, the service defaults to using values you specify in the input | ||
| 86 | settings. | ||
| 87 | |||
| 88 | |||
| 89 | =head2 Hdr10Metadata => L<Paws::MediaConvert::Hdr10Metadata> | ||
| 90 | |||
| 91 | Use these settings to provide HDR 10 metadata that is missing or | ||
| 92 | inaccurate in your input video. Appropriate values vary depending on | ||
| 93 | the input video and must be provided by a color grader. The color | ||
| 94 | grader generates these values during the HDR 10 mastering process. The | ||
| 95 | valid range for each of these settings is 0 to 50,000. Each increment | ||
| 96 | represents 0.00002 in CIE1931 color coordinate. Related settings - When | ||
| 97 | you specify these values, you must also set Color space (ColorSpace) to | ||
| 98 | HDR 10 (HDR10). To specify whether the the values you specify here take | ||
| 99 | precedence over the values in the metadata of your input file, set | ||
| 100 | Color space usage (ColorSpaceUsage). To specify whether color metadata | ||
| 101 | is included in an output, set Color metadata (ColorMetadata). For more | ||
| 102 | information about MediaConvert HDR jobs, see | ||
| 103 | https://docs.aws.amazon.com/console/mediaconvert/hdr. | ||
| 104 | |||
| 105 | |||
| 106 | =head2 Pid => Int | ||
| 107 | |||
| 108 | Use PID (Pid) to select specific video data from an input file. Specify | ||
| 109 | this value as an integer; the system automatically converts it to the | ||
| 110 | hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet | ||
| 111 | identifier, is an identifier for a set of data in an MPEG-2 transport | ||
| 112 | stream container. | ||
| 113 | |||
| 114 | |||
| 115 | =head2 ProgramNumber => Int | ||
| 116 | |||
| 117 | Selects a specific program from within a multi-program transport | ||
| 118 | stream. Note that Quad 4K is not currently supported. | ||
| 119 | |||
| 120 | |||
| 121 | =head2 Rotate => Str | ||
| 122 | |||
| 123 | Use Rotate (InputRotate) to specify how the service rotates your video. | ||
| 124 | You can choose automatic rotation or specify a rotation. You can | ||
| 125 | specify a clockwise rotation of 0, 90, 180, or 270 degrees. If your | ||
| 126 | input video container is .mov or .mp4 and your input has rotation | ||
| 127 | metadata, you can choose Automatic to have the service rotate your | ||
| 128 | video according to the rotation specified in the metadata. The rotation | ||
| 129 | must be within one degree of 90, 180, or 270 degrees. If the rotation | ||
| 130 | metadata specifies any other rotation, the service will default to no | ||
| 131 | rotation. By default, the service does no rotation, even if your input | ||
| 132 | video has rotation metadata. The service doesn't pass through rotation | ||
| 133 | metadata. | ||
| 134 | |||
| 135 | |||
| 136 | =head2 SampleRange => Str | ||
| 137 | |||
| 138 | Use this setting when your input video codec is AVC-Intra. Ignore this | ||
| 139 | setting for all other inputs. If the sample range metadata in your | ||
| 140 | input video is accurate, or if you don't know about sample range, keep | ||
| 141 | the default value, Follow (FOLLOW), for this setting. When you do, the | ||
| 142 | service automatically detects your input sample range. If your input | ||
| 143 | video has metadata indicating the wrong sample range, specify the | ||
| 144 | accurate sample range here. When you do, MediaConvert ignores any | ||
| 145 | sample range information in the input metadata. Regardless of whether | ||
| 146 | MediaConvert uses the input sample range or the sample range that you | ||
| 147 | specify, MediaConvert uses the sample range for transcoding and also | ||
| 148 | writes it to the output metadata. | ||
| 149 | |||
| 150 | |||
| 151 | |||
| 152 | =head1 SEE ALSO | ||
| 153 | |||
| 154 | This class forms part of L<Paws>, describing an object used in L<Paws::MediaConvert> | ||
| 155 | |||
| 156 | =head1 BUGS and CONTRIBUTIONS | ||
| 157 | |||
| 158 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 159 | |||
| 160 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 161 | |||
| 162 | =cut | ||
| 163 |