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

Class: Aws::ElasticTranscoder::Types::DetectedProperties

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

Overview

Note:

When making an API call, you may pass DetectedProperties data as a hash:

{
  width: 1,
  height: 1,
  frame_rate: "FloatString",
  file_size: 1,
  duration_millis: 1,
}

The detected properties of the input file. Elastic Transcoder identifies these values from the input file.

Instance Attribute Summary collapse

Instance Attribute Details

#duration_millisInteger

The detected duration of the input file, in milliseconds.

Returns:

  • (Integer)


1966
1967
1968
1969
1970
1971
1972
1973
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1966

class DetectedProperties < Struct.new(
  :width,
  :height,
  :frame_rate,
  :file_size,
  :duration_millis)
  include Aws::Structure
end

#file_sizeInteger

The detected file size of the input file, in bytes.

Returns:

  • (Integer)


1966
1967
1968
1969
1970
1971
1972
1973
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1966

class DetectedProperties < Struct.new(
  :width,
  :height,
  :frame_rate,
  :file_size,
  :duration_millis)
  include Aws::Structure
end

#frame_rateString

The detected frame rate of the input file, in frames per second.

Returns:

  • (String)


1966
1967
1968
1969
1970
1971
1972
1973
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1966

class DetectedProperties < Struct.new(
  :width,
  :height,
  :frame_rate,
  :file_size,
  :duration_millis)
  include Aws::Structure
end

#heightInteger

The detected height of the input file, in pixels.

Returns:

  • (Integer)


1966
1967
1968
1969
1970
1971
1972
1973
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1966

class DetectedProperties < Struct.new(
  :width,
  :height,
  :frame_rate,
  :file_size,
  :duration_millis)
  include Aws::Structure
end

#widthInteger

The detected width of the input file, in pixels.

Returns:

  • (Integer)


1966
1967
1968
1969
1970
1971
1972
1973
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 1966

class DetectedProperties < Struct.new(
  :width,
  :height,
  :frame_rate,
  :file_size,
  :duration_millis)
  include Aws::Structure
end