ComfyUI > Nodes > ComfyUI-WanVideoWrapper > WanVideo Decode

ComfyUI Node: WanVideo Decode

Class Name

WanVideoDecode

Category
WanVideoWrapper
Author
kijai (Account age: 2871days)
Extension
ComfyUI-WanVideoWrapper
Latest Updated
2026-05-05
Github Stars
6.41K

How to Install ComfyUI-WanVideoWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-WanVideoWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-WanVideoWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

WanVideo Decode Description

Facilitates video decoding in ComfyUI for AI artists, ensuring high-fidelity output and seamless integration into creative workflows.

WanVideo Decode:

The WanVideoDecode node is designed to facilitate the decoding of video data within the ComfyUI framework, specifically tailored for AI artists who work with video content. This node leverages advanced decoding techniques to transform encoded video data back into a usable format, making it an essential tool for video processing tasks. Its primary goal is to efficiently handle video data, ensuring that the decoded output maintains high fidelity to the original content. By utilizing this node, you can seamlessly integrate video decoding into your creative workflows, allowing for further manipulation or analysis of video frames. The WanVideoDecode node is particularly beneficial for projects that require precise video frame extraction and processing, providing a robust solution for handling complex video data.

WanVideo Decode Input Parameters:

z

The z parameter represents the encoded video data that needs to be decoded. It is a tensor with dimensions [b, c, t, h, w], where b is the batch size, c is the number of channels, t is the number of frames, h is the height, and w is the width of the video frames. This parameter is crucial as it contains the compressed video information that the node will process to reconstruct the original video frames. The quality and accuracy of the decoded output heavily depend on the integrity of this input data.

pbar

The pbar parameter is a boolean flag that determines whether a progress bar should be displayed during the decoding process. When set to True, it provides a visual indication of the decoding progress, which can be helpful for monitoring long-running tasks. This parameter does not affect the decoding results but enhances the user experience by offering feedback on the operation's status.

WanVideo Decode Output Parameters:

out

The out parameter is the decoded video output, which is a tensor representing the reconstructed video frames. This output retains the original dimensions of the input video data, allowing you to work with the video frames in their intended format. The out parameter is essential for any subsequent video processing tasks, as it provides the necessary data for further manipulation or analysis. The quality of this output is a direct reflection of the node's decoding capabilities, ensuring that the video frames are accurately reconstructed from the encoded input.

WanVideo Decode Usage Tips:

  • Ensure that the z parameter is correctly formatted and contains valid encoded video data to achieve optimal decoding results.
  • Utilize the pbar parameter to monitor the progress of the decoding process, especially for large video files, to better manage your workflow and time.

WanVideo Decode Common Errors and Solutions:

Invalid input shape

  • Explanation: This error occurs when the z parameter does not conform to the expected tensor dimensions [b, c, t, h, w].
  • Solution: Verify that the input data is correctly formatted and matches the required dimensions before passing it to the node.

CUDA memory error

  • Explanation: This error may arise if the GPU runs out of memory during the decoding process.
  • Solution: Reduce the batch size or the resolution of the video frames, or ensure that your system has sufficient GPU memory available for the task.

WanVideo Decode Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-WanVideoWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

WanVideo Decode