Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for finalizing video generation, saving, and anomaly detection on last frame for quality assurance.
PreViewVideo is a node designed to handle the final stages of video generation, focusing on saving the generated video while performing anomaly detection on the last frame. This node ensures that the video is properly normalized and converted into a format suitable for saving, either as a single image or a video file. It also includes a mechanism to detect and handle anomalies in the last frame, which can be particularly useful for maintaining the quality and integrity of the generated video. By using this node, you can streamline the process of finalizing and saving your video outputs, ensuring they meet the desired quality standards.
This parameter represents the generated video tensor that needs to be processed. It is a multi-dimensional tensor containing the video data, which will be normalized and converted into a format suitable for saving. The tensor should have the shape [batch_size, channels, frames, height, width]
.
The mean values used for normalizing the video tensor. This parameter helps in unnormalizing the video data back to its original range. It should be a list or tensor of mean values corresponding to each channel.
The standard deviation values used for normalizing the video tensor. This parameter helps in unnormalizing the video data back to its original range. It should be a list or tensor of standard deviation values corresponding to each channel.
The file path where the generated video or image will be saved. This parameter specifies the destination path for the output file, which can be either a .png
file for a single frame or a video file for multiple frames.
The frames per second (FPS) at which the video will be saved. This parameter determines the playback speed of the saved video. It is applicable only when saving the output as a video file.
The number of retry attempts in case of an error during the saving process. This parameter allows the node to attempt saving the video multiple times if an error occurs, increasing the chances of successful saving.
The file path where the generated video or image has been saved. This output parameter confirms the destination path of the saved file, allowing you to locate and access the output easily.
gen_video
tensor is properly formatted and contains valid video data before passing it to the node.mean
and std
values that match the normalization parameters used during the video generation process to ensure accurate unnormalization.local_path
with the correct file extension (.png
for single frames or a video file extension for multiple frames) to avoid file saving errors.save_fps
parameter according to the desired playback speed of the saved video.retry
parameter to a reasonable value to handle potential errors during the saving process without causing excessive delays.local_path
is valid and that you have the necessary permissions to write to the specified location. Check the file extension and directory path for correctness.© Copyright 2024 RunComfy. All Rights Reserved.