Get Segment By Timestamp

POST

Returns metadata for the segment containing the requested absolute timestamp. This endpoint should only be used for videos that were ingested with frame-level timestamps.

Path parameters

videoRidstringRequired

Request

This endpoint expects an object.
timestampobjectRequired

Response

This endpoint returns an optional object.
ridstring
videoRidstring
dataHandleobject
frameRatedouble

The average frame rate (FPS) of the segment calculated as total frames / duration in seconds.

durationSecondsdouble

The duration of a segment in media time.

timestampsobject

for videos with frame-level timestamps, we provide mappings, otherwise we just include a single list of timestamps.

Built with