Mux · Arazzo Workflow
Mux Add Caption Track to Asset
Version 1.0.0
Create an asset, wait until ready, attach a text caption track, then poll the track until it is ready.
View Spec
View on GitHub
Video InfrastructureVideo StreamingLive StreamingVideo AnalyticsVideo AIEncodingArazzoWorkflows
Provider
Workflows
asset-add-caption-track
Create a ready asset, add a text caption track, and wait for the track to be ready.
Creates an asset, waits for ready, attaches a text caption track from a URL, and polls the asset until the track is ready.
1
createAsset
create-asset
Create a new asset from the source URL so a caption track can be attached once it is ready.
2
waitForReady
get-asset
Poll the asset until its status reaches ready so a track can be added.
3
addCaptionTrack
create-asset-track
Attach a text caption track to the ready asset, pointing Mux at the external caption file to download.
4
waitForTrackReady
get-asset
Re-read the asset until the newly added caption track reports a ready status in the asset's tracks list.