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

Class: Aws::Rekognition::Types::VideoMetadata

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

Overview

Information about a video that Amazon Rekognition analyzed. Videometadata is returned in every page of paginated responses from a Amazon Rekognition video operation.

Instance Attribute Summary collapse

Instance Attribute Details

#codecString

Type of compression used in the analyzed video.

Returns:

  • (String)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end

#duration_millisInteger

Length of the video in milliseconds.

Returns:

  • (Integer)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end

#formatString

Format of the analyzed video. Possible values are MP4, MOV and AVI.

Returns:

  • (String)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end

#frame_heightInteger

Vertical pixel dimension of the video.

Returns:

  • (Integer)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end

#frame_rateFloat

Number of frames per second in the video.

Returns:

  • (Float)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end

#frame_widthInteger

Horizontal pixel dimension of the video.

Returns:

  • (Integer)


3159
3160
3161
3162
3163
3164
3165
3166
3167
# File 'gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/types.rb', line 3159

class VideoMetadata < Struct.new(
  :codec,
  :duration_millis,
  :format,
  :frame_rate,
  :frame_height,
  :frame_width)
  include Aws::Structure
end