Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) for the preset.

Returns:

  • (String)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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

#audioTypes::AudioParameters

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


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  SENSITIVE = []
  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)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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

#descriptionString

A description of the preset.

Returns:

  • (String)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  SENSITIVE = []
  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)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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

#nameString

The name of the preset.

Returns:

  • (String)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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

#thumbnailsTypes::Thumbnails

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

Returns:


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

class Preset < Struct.new(
  :id,
  :arn,
  :name,
  :description,
  :container,
  :audio,
  :video,
  :thumbnails,
  :type)
  SENSITIVE = []
  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)

2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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

#videoTypes::VideoParameters

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


2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 2890

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