![]() |
![]()
| ![]() |
![]()
NAMEPaws::ElasticTranscoder::Thumbnails USAGEThis class represents one of two things: Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::ElasticTranscoder::Thumbnails object: $service_obj->Method(Att1 => { AspectRatio => $value, ..., SizingPolicy => $value }); Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticTranscoder::Thumbnails object: $result = $service_obj->Method(...); $result->Att1->AspectRatio DESCRIPTIONThumbnails for videos. ATTRIBUTESAspectRatio => StrTo better control resolution and aspect ratio of thumbnails, we recommend that you use the values "MaxWidth", "MaxHeight", "SizingPolicy", and "PaddingPolicy" instead of "Resolution" and "AspectRatio". The two groups of settings are mutually exclusive. Do not use them together. The aspect ratio of thumbnails. Valid values include: "auto", "1:1", "4:3", "3:2", "16:9" If you specify "auto", Elastic Transcoder tries to preserve the aspect ratio of the video in the output file. Format => StrThe format of thumbnails, if any. Valid values are "jpg" and "png". You specify whether you want Elastic Transcoder to create thumbnails when you create a job. Interval => StrThe approximate number of seconds between thumbnails. Specify an integer value. MaxHeight => StrThe maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072. MaxWidth => StrThe maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096. PaddingPolicy => StrWhen you set "PaddingPolicy" to "Pad", Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail "MaxWidth" and "MaxHeight" settings. Resolution => StrTo better control resolution and aspect ratio of thumbnails, we recommend that you use the values "MaxWidth", "MaxHeight", "SizingPolicy", and "PaddingPolicy" instead of "Resolution" and "AspectRatio". The two groups of settings are mutually exclusive. Do not use them together. The width and height of thumbnail files in pixels. Specify a value in the format " width " x " height " where both values are even integers. The values cannot exceed the width and height that you specified in the "Video:Resolution" object. SizingPolicy => StrSpecify one of the following values to control scaling of thumbnails:
SEE ALSOThis class forms part of Paws, describing an object used in Paws::ElasticTranscoder BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|