Class: Aws::Rekognition::Types::SegmentDetection
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::SegmentDetection
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Overview
A technical cue or shot detection segment detected in a video. An array of ‘SegmentDetection` objects containing all segments detected in a stored video is returned by GetSegmentDetection.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#duration_frames ⇒ Integer
The duration of a video segment, expressed in frames.
-
#duration_millis ⇒ Integer
The duration of the detected segment in milliseconds.
-
#duration_smpte ⇒ String
The duration of the timecode for the detected segment in SMPTE format.
-
#end_frame_number ⇒ Integer
The frame number at the end of a video segment, using a frame index that starts with 0.
-
#end_timecode_smpte ⇒ String
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment.
-
#end_timestamp_millis ⇒ Integer
The end time of the detected segment, in milliseconds, from the start of the video.
-
#shot_segment ⇒ Types::ShotSegment
If the segment is a shot detection, contains information about the shot detection.
-
#start_frame_number ⇒ Integer
The frame number of the start of a video segment, using a frame index that starts with 0.
-
#start_timecode_smpte ⇒ String
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment.
-
#start_timestamp_millis ⇒ Integer
The start time of the detected segment in milliseconds from the start of the video.
-
#technical_cue_segment ⇒ Types::TechnicalCueSegment
If the segment is a technical cue, contains information about the technical cue.
-
#type ⇒ String
The type of the segment.
Instance Attribute Details
#duration_frames ⇒ Integer
The duration of a video segment, expressed in frames.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#duration_millis ⇒ Integer
The duration of the detected segment in milliseconds.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#duration_smpte ⇒ String
The duration of the timecode for the detected segment in SMPTE format.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#end_frame_number ⇒ Integer
The frame number at the end of a video segment, using a frame index that starts with 0.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#end_timecode_smpte ⇒ String
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment. ‘EndTimecode` is in HH:MM:SS:fr format (and *;fr* for drop frame-rates).
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#end_timestamp_millis ⇒ Integer
The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#shot_segment ⇒ Types::ShotSegment
If the segment is a shot detection, contains information about the shot detection.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#start_frame_number ⇒ Integer
The frame number of the start of a video segment, using a frame index that starts with 0.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#start_timecode_smpte ⇒ String
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment. ‘StartTimecode` is in HH:MM:SS:fr format (and *;fr* for drop frame-rates).
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#start_timestamp_millis ⇒ Integer
The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#technical_cue_segment ⇒ Types::TechnicalCueSegment
If the segment is a technical cue, contains information about the technical cue.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the segment. Valid values are ‘TECHNICAL_CUE` and `SHOT`.
6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 |
# File 'lib/aws-sdk-rekognition/types.rb', line 6740 class SegmentDetection < Struct.new( :type, :start_timestamp_millis, :end_timestamp_millis, :duration_millis, :start_timecode_smpte, :end_timecode_smpte, :duration_smpte, :technical_cue_segment, :shot_segment, :start_frame_number, :end_frame_number, :duration_frames) SENSITIVE = [] include Aws::Structure end |