ComfyUI Node
Mpi Has Audio
Check if a video file contains an audio stream via ffprobe. Outputs True if an audio track exists, False otherwise. Reads the file (not an AUDIO object) to avoid false positives from lazy audio maps. Defaults to False if ffprobe is missing or errors. Use to gate an audio wire into CreateVideo so video-only clips don't crash the workflow.
Mpi Has Audio
- has_audio
◄video_path►
CategoryMpiNodes/Utils
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | Path to the video file (same string fed to VHS_LoadVideoPath). Absolute path or a bare basename resolved against ComfyUI's input dir. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| has_audio | BOOLEAN | — |