SegmentDetection - Amazon Rekognition

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.

Contents

DurationFrames

The duration of a video segment, expressed in frames.

Type: Long

Valid Range: Minimum value of 0.

Required: No

DurationMillis

The duration of the detected segment in milliseconds.

Type: Long

Valid Range: Minimum value of 0.

Required: No

DurationSMPTE

The duration of the timecode for the detected segment in SMPTE format.

Type: String

Required: No

EndFrameNumber

The frame number at the end of a video segment, using a frame index that starts with 0.

Type: Long

Valid Range: Minimum value of 0.

Required: No

EndTimecodeSMPTE

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).

Type: String

Required: No

EndTimestampMillis

The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.

Type: Long

Required: No

ShotSegment

If the segment is a shot detection, contains information about the shot detection.

Type: ShotSegment object

Required: No

StartFrameNumber

The frame number of the start of a video segment, using a frame index that starts with 0.

Type: Long

Valid Range: Minimum value of 0.

Required: No

StartTimecodeSMPTE

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).

Type: String

Required: No

StartTimestampMillis

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.

Type: Long

Required: No

TechnicalCueSegment

If the segment is a technical cue, contains information about the technical cue.

Type: TechnicalCueSegment object

Required: No

Type

The type of the segment. Valid values are TECHNICAL_CUE and SHOT.

Type: String

Valid Values: TECHNICAL_CUE | SHOT

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: