Inspect a video or audio files metadata and return the duration. The duration will then be passed to downstream Actions to set their length and how long they should play for, for example when playing an entire video file in a Studio template.
Pass the Action a URL to a file and it will inspect the metadata and return the duration for use in downstream Actions.
Actions are used to process inputs, perform tasks and return an output. Inputs are typically media file URLs, text, prompts and template merge fields.
The Action will then perform some kind of task on the inputs - such as rendering a template using the provided merge field values, generating an image or video from a text prompt or converting a video to a different format.
Finally the Action will return an output, such as a video URL or body of text. The output can then be used as an input for another downstream Action.
|The URL of the video or audio file to inspect, select from an upstream va
|Returns the duration in seconds of the video or audio file