Nodes/ComfyUI-FFMPEGA/Media Bridge (FFMPEGA)
ComfyUI Node

Media Bridge (FFMPEGA)

Bidirectional media switch: convert IMAGE tensors to a video file path, or a video file path back to IMAGE tensors + audio. Use mode dropdown to pick the conversion direction.

By AEmotionStudio·Created 7 months ago·Updated 3 months ago· 14
Media Bridge (FFMPEGA)
  • images
  • audio
  • video_path
  • images
  • audio
  • fps
  • frame_count
modeimages_to_path
video_path
fps24
CategoryFFMPEGA

Inputs (5)

NameTypeDefaultDescription
modeCOMBOimages_to_pathimages_to_path: encode IMAGE tensor → temp video file path. path_to_images: decode video file path → IMAGE tensor + AUDIO.
imagesoptIMAGEVideo frames from a Load Video node or any IMAGE source. Used in images_to_path mode.
video_pathoptSTRINGPath to a video file. Used in path_to_images mode.
fpsoptINT241–120Frames per second for encoding (images_to_path mode). Ignored in path_to_images mode — FPS is read from the file.
audiooptAUDIOOptional audio to mux into the encoded video (images_to_path mode only).

Outputs (5)

NameTypeDescription
video_pathSTRINGFile path to the temp video (images_to_path) or empty string (path_to_images).
imagesIMAGEDecoded video frames (path_to_images) or empty tensor (images_to_path).
audioAUDIOExtracted audio (path_to_images) or silent fallback (images_to_path).
fpsFLOATFrames per second — always populated regardless of mode.
frame_countINTTotal frame count — always populated regardless of mode.