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.
Media Bridge (FFMPEGA)
- images
- audio
- video_path
- images
- audio
- fps
- frame_count
◄modeimages_to_path►
◄video_path—►
◄fps24►
CategoryFFMPEGA
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | images_to_path | images_to_path: encode IMAGE tensor → temp video file path. path_to_images: decode video file path → IMAGE tensor + AUDIO. |
| imagesopt | IMAGE | Video frames from a Load Video node or any IMAGE source. Used in images_to_path mode. | |
| video_pathopt | STRING | Path to a video file. Used in path_to_images mode. | |
| fpsopt | INT | 241–120 | Frames per second for encoding (images_to_path mode). Ignored in path_to_images mode — FPS is read from the file. |
| audioopt | AUDIO | Optional audio to mux into the encoded video (images_to_path mode only). |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| video_path | STRING | File path to the temp video (images_to_path) or empty string (path_to_images). |
| images | IMAGE | Decoded video frames (path_to_images) or empty tensor (images_to_path). |
| audio | AUDIO | Extracted audio (path_to_images) or silent fallback (images_to_path). |
| fps | FLOAT | Frames per second — always populated regardless of mode. |
| frame_count | INT | Total frame count — always populated regardless of mode. |