/AWS1/CL_REKSEGMENTDETECTION¶
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.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_type
TYPE /AWS1/REKSEGMENTTYPE
/AWS1/REKSEGMENTTYPE
¶
The type of the segment. Valid values are
TECHNICAL_CUE
andSHOT
.
iv_starttimestampmillis
TYPE /AWS1/REKTIMESTAMP
/AWS1/REKTIMESTAMP
¶
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.
iv_endtimestampmillis
TYPE /AWS1/REKTIMESTAMP
/AWS1/REKTIMESTAMP
¶
The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.
iv_durationmillis
TYPE /AWS1/REKULONG
/AWS1/REKULONG
¶
The duration of the detected segment in milliseconds.
iv_starttimecodesmpte
TYPE /AWS1/REKTIMECODE
/AWS1/REKTIMECODE
¶
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).
iv_endtimecodesmpte
TYPE /AWS1/REKTIMECODE
/AWS1/REKTIMECODE
¶
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).
iv_durationsmpte
TYPE /AWS1/REKTIMECODE
/AWS1/REKTIMECODE
¶
The duration of the timecode for the detected segment in SMPTE format.
io_technicalcuesegment
TYPE REF TO /AWS1/CL_REKTECHNICALCUESEGM00
/AWS1/CL_REKTECHNICALCUESEGM00
¶
If the segment is a technical cue, contains information about the technical cue.
io_shotsegment
TYPE REF TO /AWS1/CL_REKSHOTSEGMENT
/AWS1/CL_REKSHOTSEGMENT
¶
If the segment is a shot detection, contains information about the shot detection.
iv_startframenumber
TYPE /AWS1/REKULONG
/AWS1/REKULONG
¶
The frame number of the start of a video segment, using a frame index that starts with 0.
iv_endframenumber
TYPE /AWS1/REKULONG
/AWS1/REKULONG
¶
The frame number at the end of a video segment, using a frame index that starts with 0.
iv_durationframes
TYPE /AWS1/REKULONG
/AWS1/REKULONG
¶
The duration of a video segment, expressed in frames.
Queryable Attributes¶
Type¶
The type of the segment. Valid values are
TECHNICAL_CUE
andSHOT
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
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.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STARTTIMESTAMPMILLIS() |
Getter for STARTTIMESTAMPMILLIS |
EndTimestampMillis¶
The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENDTIMESTAMPMILLIS() |
Getter for ENDTIMESTAMPMILLIS |
DurationMillis¶
The duration of the detected segment in milliseconds.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATIONMILLIS() |
Getter for DURATIONMILLIS, with configurable default |
ASK_DURATIONMILLIS() |
Getter for DURATIONMILLIS w/ exceptions if field has no valu |
HAS_DURATIONMILLIS() |
Determine if DURATIONMILLIS has a value |
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).
Accessible with the following methods¶
Method | Description |
---|---|
GET_STARTTIMECODESMPTE() |
Getter for STARTTIMECODESMPTE, with configurable default |
ASK_STARTTIMECODESMPTE() |
Getter for STARTTIMECODESMPTE w/ exceptions if field has no |
HAS_STARTTIMECODESMPTE() |
Determine if STARTTIMECODESMPTE has a value |
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).
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENDTIMECODESMPTE() |
Getter for ENDTIMECODESMPTE, with configurable default |
ASK_ENDTIMECODESMPTE() |
Getter for ENDTIMECODESMPTE w/ exceptions if field has no va |
HAS_ENDTIMECODESMPTE() |
Determine if ENDTIMECODESMPTE has a value |
DurationSMPTE¶
The duration of the timecode for the detected segment in SMPTE format.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATIONSMPTE() |
Getter for DURATIONSMPTE, with configurable default |
ASK_DURATIONSMPTE() |
Getter for DURATIONSMPTE w/ exceptions if field has no value |
HAS_DURATIONSMPTE() |
Determine if DURATIONSMPTE has a value |
TechnicalCueSegment¶
If the segment is a technical cue, contains information about the technical cue.
Accessible with the following methods¶
Method | Description |
---|---|
GET_TECHNICALCUESEGMENT() |
Getter for TECHNICALCUESEGMENT |
ShotSegment¶
If the segment is a shot detection, contains information about the shot detection.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SHOTSEGMENT() |
Getter for SHOTSEGMENT |
StartFrameNumber¶
The frame number of the start of a video segment, using a frame index that starts with 0.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STARTFRAMENUMBER() |
Getter for STARTFRAMENUMBER, with configurable default |
ASK_STARTFRAMENUMBER() |
Getter for STARTFRAMENUMBER w/ exceptions if field has no va |
HAS_STARTFRAMENUMBER() |
Determine if STARTFRAMENUMBER has a value |
EndFrameNumber¶
The frame number at the end of a video segment, using a frame index that starts with 0.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENDFRAMENUMBER() |
Getter for ENDFRAMENUMBER, with configurable default |
ASK_ENDFRAMENUMBER() |
Getter for ENDFRAMENUMBER w/ exceptions if field has no valu |
HAS_ENDFRAMENUMBER() |
Determine if ENDFRAMENUMBER has a value |
DurationFrames¶
The duration of a video segment, expressed in frames.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATIONFRAMES() |
Getter for DURATIONFRAMES, with configurable default |
ASK_DURATIONFRAMES() |
Getter for DURATIONFRAMES w/ exceptions if field has no valu |
HAS_DURATIONFRAMES() |
Determine if DURATIONFRAMES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SEGMENTDETECTIONS
¶
TYPES TT_SEGMENTDETECTIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_REKSEGMENTDETECTION WITH DEFAULT KEY
.