Skip to Content
Get started

Processing

How Vionlabs turns your assets into results, the two ways to start processing, and what the statuses mean.

After you add an asset, Vionlabs' models watch it and create the products you use, such as metadata, thumbnails or binge markers. This is step 2 for every customer.

Two ways to start processing

Each product on your catalog runs in one of two ways. Your Vionlabs contact sets this up.

Automatically (the default). Every asset you add with the Catalog API is processed with all products switched on for automatic processing. Switching on a new product, or a new product version, also processes the assets you already have.

With the Tasks API. Nothing starts until you create a task for an asset, product and version. Use this to choose a priority, test or compare product versions, or process only selected assets. See the Tasks API.

You can combine both on one catalog, but not for the same product and version. A common setup:

  • products you want on every asset run automatically, and
  • products you only want on some assets, or new versions you're testing, run with tasks.

Priorities can only be set with tasks. If you need priorities for a product, ask your Vionlabs contact to switch that product to tasks.

What happens while it runs

Each product is made of several steps. Some read the video directly (extractors), others build on earlier results (processors). Steps run in the right order on their own, and work shared by several products runs only once.

Tasks API statusMeaning
pendingWaiting to start, for example for an earlier step or for the video file
readyFinished. Results are available.
failedSomething went wrong.
inactiveThe task was deactivated.

Stalled steps are retried automatically. You can also see each asset's processing status in the Portal.

You don't need to keep checking: a webhook tells you when a product is ready for an asset. For binge markers, re-fetch the whole season when an episode is ready.

How long processing takes

It depends on several things: the size and duration of your assets, the computing resources available (for example in your own cloud, if you process at the edge), and which products are processed. Your Vionlabs contact looks at each setup and helps you get the fastest processing at the best quality.

Priorities

Each job has a priority, so an asset that goes live soon can be processed first. When several products share a step, that step takes the highest priority among them.

When assets are processed again

Processing runs again automatically when you replace an asset's video file or a new product version is switched on for your catalog. You can also request it yourself with force_asset_reprocess (see Add your assets) or reset a failed task with the Tasks API.

Cloud or edge

Processing can run in the Vionlabs cloud, or at the edge, in your own AWS or Google Cloud account, so the video never leaves it. This is set per catalog. Your Vionlabs contact guides you through an edge setup. See deployment options.

On this page