Nodes/ComfyUi-MpiNodes/Mpi Has Audio
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.

By MadPonyInteractive·Created 10 months ago·Updated 4 days ago· 2
Mpi Has Audio
    • has_audio
    video_path
    CategoryMpiNodes/Utils

    Inputs (1)

    NameTypeDefaultDescription
    video_pathSTRINGPath to the video file (same string fed to VHS_LoadVideoPath). Absolute path or a bare basename resolved against ComfyUI's input dir.

    Outputs (1)

    NameTypeDescription
    has_audioBOOLEAN