ComfyUI Extension
darkHUB Base64
ComfyUI custom node for converting IMAGE batches into copyable PNG or MP4 Base64 strings, with optional MP4 audio muxing.
Cyber05CC/darkHUB-Video-to-Base64
Nodes1
On cloudLocal install
CategorydarkHUB
Stars0
Updated5 months ago
Readme
darkHUB Base64
darkHUB Base64 is a single-purpose ComfyUI custom node.
It accepts an IMAGE output directly from nodes such as VAE Decode, stores the result as Base64 inside the node, and exposes a single Copy Base64 button in the node UI.
Included Node
darkHUB Base64
Inputs:
images: ComfyUIIMAGEformat:auto,png, ormp4fps: frame rate for MP4 outputquality: MP4 quality controlaudio(optional): ComfyUIAUDIO, embedded when the output format is MP4
Outputs:
base64_stringmime_typeframe_count
Behavior
autochoosespngfor a single image with no audio.autochoosesmp4for multi-frame batches or when audio is connected.- The node UI only renders one button:
Copy Base64. - PNG output does not accept audio.
- MP4 output keeps the audio track when audio is connected.
Installation
- Place this repository inside
ComfyUI/custom_nodes/. - Install dependencies:
pip install -r requirements.txt
- Restart ComfyUI.
ffmpeg Notes
- If
ffmpegis available in your system path, the node uses it directly. - Otherwise the fallback binary from
imageio-ffmpegis used when available. - MP4 output requires working
ffmpegsupport.
Version
Current release: 3.0.2
License
MIT License. See LICENSE.