Skip to main content

Source

The 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.

NameTypeDescription
uidstringA unique identifier for this element.
kindenum                   
asset_url
asset_complex
The type of source file. An "asset_url" is a single element, whereas an "asset_complex is an asset made up of multiple elements.
payloadobjectThe payload for the particular source type. The payload types are:
asset_url
asset_complex

Source Example

{
"uid": "source_file",
"kind": "source",
"payload": {
"kind": "asset_url",
"payload": {
"storage_provider": "s3",
"url": "s3://hybrik-examples/public/sources/sample1.mp4"
}
}
}