ComfyTV/VideoFXgenerated

Deinterlace(VideoDeinterlaceStage)

Deinterlace (class VideoDeinterlaceStage) removes interlacing artifacts from a video stream.

Video Deinterlace Stage

video
video
ComfyTV

Description

Deinterlace (class VideoDeinterlaceStage) removes interlacing artifacts from a video stream. Interlaced footage, such as older broadcast, VHS, or DVD sources, stores each frame as two separate fields captured at slightly different moments in time. When such footage is treated as progressive, moving edges show characteristic comb-like tearing. This node processes the incoming video and returns a progressive result, so downstream stages can work with clean frames.

The node lives in the ComfyTV/VideoFX category and is intended to sit early in a video pipeline, before scaling, frame interpolation, or encoding steps that would otherwise bake the combing artifacts into the output.

Inputs

video

  • Type: COMFYTV_VIDEO
  • Required: No

The video stream to deinterlace. Connect the output of a video loader or any upstream ComfyTV video node here. The socket is optional in the node definition, so the node can be added and executed without a connected source; connect a video when you actually want a deinterlaced result.

The node exposes no additional widgets or settings. Its behavior is driven entirely by the connected video stream, so there is nothing to tune: the deinterlacing treatment is applied as a fixed stage in the graph.

Outputs

video output

  • Type: COMFYTV_VIDEO

The deinterlaced video. Feed this into any node that accepts a COMFYTV_VIDEO input, such as a video preview, saver, or a further ComfyTV/VideoFX stage. Frame count and timing follow the source stream.

Usage Notes

  • Place the node directly after loading the source footage. Deinterlacing before scaling, cropping, or frame interpolation gives the cleanest result, because those operations can spread combing artifacts across neighboring pixels and make them harder to remove later.
  • If the source is already progressive, deinterlacing is normally unnecessary. Check a frame with motion before adding the node: interlacing appears as horizontal comb teeth along moving edges.
  • Because the video input is optional, you can keep the node in a graph while experimenting with alternate branches and only connect a source to the branches that need it.

Comments

Sign in with GitHub to join the discussion.

Loading comments…