ComfyUI Extension: Steganos Node for ComfyUI
This custom node for ComfyUI allows you to hide a video file within a PNG image using a file concatenation technique. The resulting image can be viewed as a normal picture, but a standard unzip tool can extract the hidden video from it.
Custom Nodes (0)
README
Steganos Node for ComfyUI
This custom node for ComfyUI allows you to hide a video file within a PNG image using a file concatenation technique. The resulting image can be viewed as a normal picture, but a standard unzip tool can extract the hidden video from it.
Features
- Encodes an image sequence into an MP4 video.
- Uses a static carrier image (
test.png) as the "cover". - Zips the MP4 video and appends it to the carrier image.
- The final output is a valid PNG file that also contains the hidden video.
- No special decoding tools required; any standard unzip utility will work.
Installation
- Navigate to the
ComfyUI/custom_nodes/directory. - Clone this repository or simply place the
steganosfolder insidecustom_nodes. - Ensure the
steganosfolder contains:__init__.pynodes.pytest.png(You can replace this with your own cover image, but keep the filename the same).
- Restart ComfyUI.
Usage
- In the ComfyUI menu, go to
Add Node->Steganos->Steganos Video Encoder. - Connect an image sequence (e.g., from a VAE Decode or a Load Image sequence) to the
imagesinput. - Adjust the
fps(frames per second) for the output video. - Set a
filename_prefixfor the output file. - Queue the prompt. The final PNG file containing the hidden video will be saved in your ComfyUI output directory.
- The node will also output the
test.pngcarrier image, which you can then connect to other nodes like "Save Image" or "Preview Image".
How to Extract the Hidden Video
- Locate the output PNG file.
- Use any standard archive utility (like 7-Zip, WinRAR, or the
unzipcommand in Linux/macOS) to open or extract the contents of the PNG file. - The utility will find the appended ZIP archive and extract the
secret.mp4video file from it.