You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticTranscoder::Types::Preset

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb

Overview

Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) for the preset.

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#audioTypes::AudioParameters

A section of the response body that provides information about the audio preset values.



3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#containerString

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

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#descriptionString

A description of the preset.

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#idString

Identifier for the new preset. You use this value to get settings for the preset or to delete it.

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#nameString

The name of the preset.

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#thumbnailsTypes::Thumbnails

A section of the response body that provides information about the thumbnail preset values, if any.

Returns:



3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#typeString

Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end

#videoTypes::VideoParameters

A section of the response body that provides information about the video preset values.



3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 3715

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  include Aws::Structure
end