Skip to content

Schemas

ClipUnavailableReason

Why no clips can be created from an analysis. When several apply, the first in this list:

  • UNSUPPORTED_FILE_TYPE: clips can't be made from the uploaded file's type. Judged by the extension of fileName; supported are mp4, mov, mkv, m4v, avi and webm.
  • NOT_FINISHED: the analysis is not FINISHED.
  • TOO_LONG: the video is longer than the longest video an analysis may have (limits.maxDurationSeconds in getUsage).
  • CREATED_BEFORE_CLIPS: the analysis is older than clips, and its original upload is gone. Upload the video again to create clips.
  • SOURCE_NOT_KEPT: the original upload is not kept with the analysis yet. Reading the analysis again retries.

More reasons can be added. A client treats a reason it does not know like any other: clips are not available.

ValueDescription
UNSUPPORTED_FILE_TYPE
NOT_FINISHED
TOO_LONG
CREATED_BEFORE_CLIPS
SOURCE_NOT_KEPT