Visit ComfyUI Online for ready-to-use ComfyUI environment
Convert images to video for TouchDesigner integration, enabling dynamic visual experiences with AI-generated content.
The VideotoTD
node is designed to facilitate the conversion of a series of images into a video format, which is then transmitted to TouchDesigner, a popular visual programming environment. This node is particularly beneficial for AI artists who wish to integrate their image-based creations into dynamic video presentations or installations. By leveraging this node, you can seamlessly encode images into a video stream and broadcast it, allowing for real-time visual experiences. The node's primary function is to encode images using FFmpeg, a powerful multimedia framework, and then send the resulting video to TouchDesigner via a WebSocket connection. This integration enables artists to explore new creative possibilities by combining AI-generated content with interactive and immersive media environments.
This parameter expects a collection of images that will be converted into a video. The images should be provided in a format that the node can process, such as a tensor. The quality and coherence of the final video heavily depend on the input images, so ensure they are of high quality and properly sequenced.
The frame_rate
parameter determines the number of frames displayed per second in the resulting video. It is a floating-point value with a default of 8, a minimum of 1, and increments in steps of 1. A higher frame rate results in smoother motion but requires more images and processing power, while a lower frame rate may produce a choppier video.
This integer parameter controls the quality of the video output, with a default value of 75. It ranges from a minimum of 15 to a maximum of 100, with increments of 1. Higher values yield better video quality but may increase file size and processing time, whereas lower values reduce quality and file size.
The broadcast
parameter is a boolean that determines whether the video should be sent to all connected clients or a specific one. By default, it is set to False
, meaning the video is sent to a specific client. Setting it to True
will broadcast the video to all clients, which is useful for collaborative or multi-display setups.
The VideotoTD
node does not produce any direct output parameters. Instead, its primary function is to process the input images into a video and send it to TouchDesigner. The success of this operation is indicated by the absence of errors during execution.
frame_rate
and quality
parameters to balance between video smoothness and file size, depending on your project's requirements.broadcast
parameter to control whether the video is sent to a single client or multiple clients, based on your setup needs.<error_message>
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.