Nodes/ComfyUI-HttpRequestNodes/Blob To Video Node
ComfyUI Node

Blob To Video Node

Bytes in, VHS-compatible VIDEO out

By ahkimkoo·Created 3 months ago·Updated 3 months ago· 1
Blob To Video Node
  • bytes
  • video

The Blob To Video Node decodes video bytes - MP4, GIF, WebM - into ComfyUI's VIDEO type so a video returned by an API can be previewed, saved, or processed like any locally-generated clip. It's the receive side of the pack's video story: Video To Blob Node encodes a VIDEO tensor for departure, this node decodes the response on the way back. Together they're the reason a video-editing or video-processing workflow can talk to an HTTP service and never touch disk.

It's one of the utility nodes in ComfyUI-HttpRequestNodes, ahkimkoo's fork of felixszeto's ComfyUI-RequestNodes. Compatibility is the selling point: the output is built to match the VideoHelperSuite (VHS) format that dominates video workflows - a {"frames", "frame_rate", "path"} dict - so whatever previews and savers you already use for VHS video will take this node's output without complaint.

How it works

One input, bytes (BYTES), one output, video (VIDEO). Under the hood it uses imageio's ffmpeg reader to pull every frame into memory, stacks them into a [N, H, W, 3] float tensor, and packs it into a VIDEO dict along with the detected frame rate (falling back to 24 if the file doesn't report one) and a path of None.

Two practical things to know. First, the whole clip is loaded into RAM as one tensor - fine for short clips, a memory risk for long ones, since it's uncompressed frames. Second, the one hard dependency is real: if imageio isn't importable the node raises ImportError: imageio is required. pip install imageio imageio-ffmpeg - that's the exact command to run, and the ffmpeg part is what actually decodes the container. The input gotcha shared across this pack's decoders also applies: it wants raw bytes, not a BytesIO object, so feed it response_bytes or any outputs rather than file.

Install

ComfyUI Manager → search ComfyUI-HttpRequestNodes → Install, restart. Or:

cd ComfyUI/custom_nodes
git clone https://github.com/ahkimkoo/ComfyUI-HttpRequestNodes
pip install soundfile imageio imageio-ffmpeg

Category: RequestNode/Utils. imageio + imageio-ffmpeg are the required pip packages for this node. No models, no keys, no downloads beyond the pip line.

CategoryRequestNode/Utils

Inputs (1)

NameTypeDefaultDescription
bytesBYTES

Outputs (1)

NameTypeDescription
videoVIDEO