ComfyTV/VideoFXgenerated

Mask Propagate(MaskPropagateStage)

Mask Propagate is a video effects stage in the ComfyTV package, under the ComfyTV/VideoFX category.

Mask Propagate Stage

video
mask
mask
invert
ComfyTV

Description

Mask Propagate is a video effects stage in the ComfyTV package, under the ComfyTV/VideoFX category. It accepts a video and a mask image, optionally inverts the mask, and produces a COMFYTV_VIDEO output. The node is intended for workflows where a mask must be propagated across a video sequence and the processed video is passed to downstream video nodes.

Inputs

InputTypeRequiredDefaultDescription
invertBOOLEANYesfalseControls whether the mask is inverted before propagation. Leave it at false to use the mask as supplied; enable it to propagate the opposite region.
videoCOMFYTV_VIDEONon/aThe source video to process. Connect the video whose frames should be used by the mask propagation stage. This socket is optional, so the node can exist in a workflow without a video connected, but the intended effect requires a video source.
maskCOMFYTV_IMAGENon/aThe mask image used for propagation. The socket expects a COMFYTV_IMAGE, so connect a compatible image or mask source. This socket is optional, but providing it is necessary for the mask propagation behavior the node is designed for.

Outputs

OutputTypeDescription
videoCOMFYTV_VIDEOThe resulting video after mask propagation. Connect this to downstream video processing, preview, or save nodes.

Usage Notes

  • Use invert to switch between propagating the supplied mask and its complement without adding a separate inversion node.
  • For the intended effect, connect both the video and mask inputs. The optional inputs allow flexible wiring, but the output depends on the connected data.
  • The mask input uses the COMFYTV_IMAGE type rather than a standard mask type, so make sure the mask source is converted or adapted appropriately for ComfyTV video workflows.
  • Because the output is a COMFYTV_VIDEO, this stage can be chained with other ComfyTV video effect nodes or used as the final processed video branch of a workflow.

Comments

Sign in with GitHub to join the discussion.

Loading comments…