Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-CustomNodePacks > Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C)

ComfyUI Node: Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C)

Class Name

MaskTrackerMEC

Category
C2C/Video
Author
Code2Collapse (Account age: 1184days)
Extension
ComfyUI-CustomNodePacks
Latest Updated
2026-07-29
Github Stars
0.05K

How to Install ComfyUI-CustomNodePacks

Install this extension via the ComfyUI Manager by searching for ComfyUI-CustomNodePacks
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-CustomNodePacks 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

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Description

Unified video mask tracking, propagation, and consistency tool with motion detection and temporal anchoring for efficient video processing.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C):

MaskTrackerMEC is a comprehensive node designed for unified video mask tracking, propagation, and consistency. It integrates multiple functionalities that were previously handled by separate nodes, offering a streamlined approach to video processing. The node combines motion detection, mask propagation, temporal anchoring, and consistency checking into a single, cohesive tool. This integration allows for efficient handling of video frames, ensuring that masks are accurately tracked and propagated across frames while maintaining temporal consistency. The node is particularly beneficial for tasks that require precise mask tracking over time, such as video editing, special effects, and automated video analysis. By selecting a specific mode, users can leverage different engines to achieve desired outcomes, making MaskTrackerMEC a versatile tool in video processing workflows.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Input Parameters:

images

This parameter represents the video batch input, formatted as (B,H,W,C), where B is the batch size, H is the height, W is the width, and C is the number of channels. It requires a minimum of two frames to perform motion detection. The input video frames are essential for the node to analyze and generate masks based on motion and other criteria.

camera_compensation

This boolean parameter, which defaults to True, determines whether global camera motion should be estimated and subtracted before detection. This is crucial for footage captured with handheld or moving cameras, as it helps isolate the motion of objects within the scene by compensating for the camera's movement.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Output Parameters:

MASK

This output provides a batch of per-frame masks, which highlight the areas of interest detected by the node. These masks are crucial for identifying and isolating moving objects or regions within the video frames.

IMAGE

The IMAGE output offers a preview overlay or passthrough of the processed video frames. This visual representation helps users quickly assess the effectiveness of the mask tracking and propagation.

FLOAT

This output delivers a score representing motion intensity, confidence, or flicker score, depending on the selected mode. It provides a quantitative measure of the detected motion or consistency, aiding in further analysis or decision-making processes.

STRING (info_json)

The info_json output contains mode-specific diagnostic information in JSON format. This detailed report can be used for debugging or understanding the node's processing outcomes.

STRING (metric)

This output indicates which mode or metric produced the result, offering clarity on the processing path taken by the node.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Usage Tips:

  • To achieve optimal results, ensure that the input video frames are of high quality and have minimal noise, as this can significantly impact the accuracy of motion detection and mask propagation.
  • Experiment with different modes to find the best configuration for your specific task, as each mode offers unique capabilities that can enhance the node's performance for various video processing needs.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Common Errors and Solutions:

"Insufficient frames for motion detection"

  • Explanation: This error occurs when the input video batch contains fewer than two frames, which is insufficient for motion detection.
  • Solution: Ensure that the input video batch includes at least two frames to enable the node to perform motion detection effectively.

"Camera compensation failed"

  • Explanation: This error might arise if the node is unable to estimate and subtract global camera motion, possibly due to excessive noise or lack of distinguishable features in the video frames.
  • Solution: Try disabling camera compensation if the footage is stable, or improve the video quality by reducing noise and ensuring clear, distinguishable features are present in the frames.

Mask Tracker — Motion/Propagate/Anchor/Consistency (C2C) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-CustomNodePacks
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.