Video Asset Status

Every video asset on Gumlet has a status field that tells you where it is in the upload and processing pipeline. Use it to decide when a video can be embedded, when to retry an upload, and when something needs attention.

Status lifecycle

A typical asset moves through these statuses in order. Not every asset passes through every status, and some statuses are short enough that you may never see them.

upload-pending ─┐
                ├─> pre-queued ─> queued ─> downloading ─> downloaded ─> validated ─> processing ─> processed ─> ready
  (Create Asset)┘

At any point, an asset can move to errored if processing fails, or to deleted if it is removed.

Video asset statuses

Status Meaning
upload-pending A direct upload asset was created and Gumlet is waiting for the file to be uploaded to its upload_url.
pre-queued The asset was created and is waiting to enter the processing queue. This is the status returned by the Create Asset API.
queued The asset is in the processing queue. Gumlet processes videos in the order they are uploaded.
downloading Gumlet is fetching the source file from the input URL or storage.
downloaded The source file was downloaded to Gumlet servers for processing.
validated The video and its processing parameters were validated.
processing The video is being transcoded into the output formats and resolutions.
processed Transcoding finished and the asset is going through the final steps before it is ready.
optimizing Gumlet is optimizing the asset's output.
ready The video is ready to stream and embed. Playback and embed URLs in output can be used.
errored Processing failed. The asset includes an error object with a code and message describing what went wrong.
deleted The asset was deleted.
Statuses that need attention
  • An asset that stays in upload-pending for several minutes usually means the file upload failed. Upload the video again.
  • An asset that stays in pre-queued or queued is waiting for a processing slot. This normally clears within a few minutes. If it does not, contact support with the asset ID.
  • For errored assets, check error.message on the asset. See the Video FAQs for common causes such as the maximum duration limit.

Check an asset's status

Instead of polling, configure a webhook to get a POST request when an asset's status changes. Each video.status.* webhook includes the current status of the asset. The most commonly used events are:

Webhook event When it is sent
video.status.created The asset was created.
video.status.downloaded The source file was downloaded for processing.
video.status.stream_ready A single rendition is available to stream, immediately after upload.
video.status.ready The asset is ready to embed.
video.status.errored Processing failed. output is omitted and error is included.
video.status.deleted The asset was deleted. output is omitted.
video.status.repackaged A subtitle or audio stream was added to an existing asset.

See Webhooks for the full list of events and the payload format.

Using the API

Call the Get Asset Status API with the asset ID. The response includes status, and output once the asset is ready.

curl -L -X GET 'https://api.gumlet.com/v1/video/assets/<asset_id>' \
-H 'Authorization: Bearer <YOUR_API_KEY>'

To find assets in a given status, pass a single status or a comma-separated list to the status filter of the List Assets API, for example status=ready,errored.

If you poll, stop once the asset reaches ready, errored, or deleted. Replacing a video or adding audio and subtitle streams starts new processing on an existing asset, so track its status again after those calls.

Using the CLI

gumlet video asset list --workspace-id <WORKSPACE_ID> --status ready -o table

See Command Line Interface for setup.

Using the dashboard

In the Video Library, filter videos by Ready, Processing, Queued, Downloading, or Errored. Open a video to see its status history with a timestamp for each step.

Live asset statuses

Live stream assets have their own set of statuses.

Status Meaning
created The live session was created.
preparing The live session is preparing to start.
ready The live session is ready for streaming.
connected The live session is connected to the source.
active The live session is actively streaming.
disconnected The live session disconnected from the source.
complete The live session completed and ended.
errored The live session failed.
deleted The live asset was deleted.

Each status change sends a matching live.video.status.* webhook. You can also filter live assets by status with the Filter Live Assets API.