class Aws::Rekognition::Types::SegmentDetection

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.

@!attribute [rw] type

The type of the segment. Valid values are `TECHNICAL_CUE` and
`SHOT`.
@return [String]

@!attribute [rw] start_timestamp_millis

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.
@return [Integer]

@!attribute [rw] end_timestamp_millis

The end time of the detected segment, in milliseconds, from the
start of the video. This value is rounded down.
@return [Integer]

@!attribute [rw] duration_millis

The duration of the detected segment in milliseconds.
@return [Integer]

@!attribute [rw] start_timecode_smpte

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).
@return [String]

@!attribute [rw] end_timecode_smpte

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).
@return [String]

@!attribute [rw] duration_smpte

The duration of the timecode for the detected segment in SMPTE
format.
@return [String]

@!attribute [rw] technical_cue_segment

If the segment is a technical cue, contains information about the
technical cue.
@return [Types::TechnicalCueSegment]

@!attribute [rw] shot_segment

If the segment is a shot detection, contains information about the
shot detection.
@return [Types::ShotSegment]

@!attribute [rw] start_frame_number

The frame number of the start of a video segment, using a frame
index that starts with 0.
@return [Integer]

@!attribute [rw] end_frame_number

The frame number at the end of a video segment, using a frame index
that starts with 0.
@return [Integer]

@!attribute [rw] duration_frames

The duration of a video segment, expressed in frames.
@return [Integer]

Constants

SENSITIVE