A Hybrik job must always start from a
source task. There are several versions of a source task, depending on what your source data looks like.
source object defines the source of your workflow. In its simplest form, the
source object points to a single file. But your
source can actually be much more complex. For example, your source may consist of multiple components – video, audio tracks, and subtitle files. Or your source may actually be multiple sources all being stitched into a final output. Or you may have a source file that has 6 discrete mono audio tracks that you need to treat like 6 channels of a single surround track. The
source object lets you handle all of these scenarios. The Sources object defines what files to use, where to find them, how to access them, and how to assemble them.
Hybrik has different structures for specifying sources. There are two source types which can be used.
- A simple source structure for a single asset or multiple assets by URL
asset_complexis for when you want to combine multiple elements into a sequence. This can be to combine audio/video/subtitles, etc or to stitch multiple elements into a sequence.
You can read more in our official API documentation about the source element.