GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::ElasticTranscoder::CreatePreset(3) User Contributed Perl Documentation Paws::ElasticTranscoder::CreatePreset(3)

Paws::ElasticTranscoder::CreatePreset - Arguments for method CreatePreset on Paws::ElasticTranscoder

This class represents the parameters used for calling the method CreatePreset on the Amazon Elastic Transcoder service. Use the attributes of this class as arguments to method CreatePreset.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePreset.

    my $elastictranscoder = Paws->service('ElasticTranscoder');
    my $CreatePresetResponse = $elastictranscoder->CreatePreset(
      Container => 'MyPresetContainer',
      Name      => 'MyName',
      Audio     => {
        AudioPackingMode => 'MyAudioPackingMode',    # OPTIONAL
        BitRate          => 'MyAudioBitRate',        # OPTIONAL
        Channels         => 'MyAudioChannels',       # OPTIONAL
        Codec            => 'MyAudioCodec',          # OPTIONAL
        CodecOptions     => {
          BitDepth => 'MyAudioBitDepth',             # OPTIONAL
          BitOrder => 'MyAudioBitOrder',             # OPTIONAL
          Profile  => 'MyAudioCodecProfile',         # OPTIONAL
          Signed   => 'MyAudioSigned',               # OPTIONAL
        },    # OPTIONAL
        SampleRate => 'MyAudioSampleRate',    # OPTIONAL
      },    # OPTIONAL
      Description => 'MyDescription',    # OPTIONAL
      Thumbnails  => {
        AspectRatio   => 'MyAspectRatio',            # OPTIONAL
        Format        => 'MyJpgOrPng',               # OPTIONAL
        Interval      => 'MyDigits',                 # OPTIONAL
        MaxHeight     => 'MyDigitsOrAuto',           # OPTIONAL
        MaxWidth      => 'MyDigitsOrAuto',           # OPTIONAL
        PaddingPolicy => 'MyPaddingPolicy',          # OPTIONAL
        Resolution    => 'MyThumbnailResolution',    # OPTIONAL
        SizingPolicy  => 'MySizingPolicy',           # OPTIONAL
      },    # OPTIONAL
      Video => {
        AspectRatio  => 'MyAspectRatio',     # OPTIONAL
        BitRate      => 'MyVideoBitRate',    # OPTIONAL
        Codec        => 'MyVideoCodec',      # OPTIONAL
        CodecOptions => {
          'MyCodecOption' =>
            'MyCodecOption',    # key: min: 1, max: 255, value: min: 1, max: 255
        },    # max: 30; OPTIONAL
        DisplayAspectRatio => 'MyAspectRatio',         # OPTIONAL
        FixedGOP           => 'MyFixedGOP',            # OPTIONAL
        FrameRate          => 'MyFrameRate',           # OPTIONAL
        KeyframesMaxDist   => 'MyKeyframesMaxDist',    # OPTIONAL
        MaxFrameRate       => 'MyMaxFrameRate',        # OPTIONAL
        MaxHeight          => 'MyDigitsOrAuto',        # OPTIONAL
        MaxWidth           => 'MyDigitsOrAuto',        # OPTIONAL
        PaddingPolicy      => 'MyPaddingPolicy',       # OPTIONAL
        Resolution         => 'MyResolution',          # OPTIONAL
        SizingPolicy       => 'MySizingPolicy',        # OPTIONAL
        Watermarks         => [
          {
            HorizontalAlign  => 'MyHorizontalAlign',        # OPTIONAL
            HorizontalOffset => 'MyPixelsOrPercent',        # OPTIONAL
            Id             => 'MyPresetWatermarkId', # min: 1, max: 40; OPTIONAL
            MaxHeight      => 'MyPixelsOrPercent',   # OPTIONAL
            MaxWidth       => 'MyPixelsOrPercent',   # OPTIONAL
            Opacity        => 'MyOpacity',           # OPTIONAL
            SizingPolicy   => 'MyWatermarkSizingPolicy',    # OPTIONAL
            Target         => 'MyTarget',                   # OPTIONAL
            VerticalAlign  => 'MyVerticalAlign',            # OPTIONAL
            VerticalOffset => 'MyPixelsOrPercent',          # OPTIONAL
          },
          ...
        ],    # OPTIONAL
      },    # OPTIONAL
    );
    # Results:
    my $Preset  = $CreatePresetResponse->Preset;
    my $Warning = $CreatePresetResponse->Warning;
    # Returns a L<Paws::ElasticTranscoder::CreatePresetResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/elastictranscoder/CreatePreset>

A section of the request body that specifies the audio parameters.

REQUIRED Container => Str

The container type for the output file. Valid values include "flac", "flv", "fmp4", "gif", "mp3", "mp4", "mpg", "mxf", "oga", "ogg", "ts", and "webm".

A description of the preset.

REQUIRED Name => Str

The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

A section of the request body that specifies the thumbnail parameters, if any.

A section of the request body that specifies the video parameters.

This class forms part of Paws, documenting arguments for method CreatePreset in Paws::ElasticTranscoder

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.