Video Has Audio
Determines whether a video file contains one or more audio tracks.
This flow element is useful for routing logic based on whether a file includes audio—such as skipping audio processing steps for silent files, or branching to a failure path if audio is required.
Usage Context
This flow element can be used outside of FFmpeg Builder flow elements if you're simply checking the actual media file.
However, if you enable Check FFmpeg Model, then it must be placed after the FFmpeg Builder Start
flow element and before the FFmpeg Builder Executor
. This is because it relies on the builder's internal model of the media tracks rather than analyzing the physical file directly.
Parameters
✅ Check Deleted Tracks
If enabled, audio tracks marked as deleted in the FFmpeg Builder model will still be counted.
Use this if you want to detect whether any audio originally existed, even if it's set to be removed later.
Only applies if Check FFmpeg Model is also enabled.
✅ Check FFmpeg Model
- Enabled: The flow element will inspect the FFmpeg Builder model (i.e., the parsed structure of streams being modified in the flow).
- Disabled: The flow element will check the original media file’s metadata directly.
Outputs
Output 1 – Has audio:
One or more audio tracks were found.Output 2 – Does not have audio:
No audio tracks were detected.
Example Use Cases
- Skip processing if the file has no audio.
- Apply volume normalization or channel conversion only if audio exists.
- Branch to an error notification if audio is missing but required.
Notes
- If used with
Check FFmpeg Model
, ensure it's within the correct part of the FFmpeg Builder sequence. - Works with both audio-enabled and silent video formats.