ComfyUI Node
RelayVSR Upscale Streaming
Upscale a video with RelayVSR without materializing it as IMAGE tensors. Frames are decoded one time chunk at a time, each chunk is upscaled in spatial tiles, temporal overlaps are crossfaded, and finished frames go straight to the encoder. The whole clip never sits in RAM.
RelayVSR Upscale Streaming
- model
- video
- filename
◄upscale_width0►
◄sr_ratio2►
◄chunk_len24►
◄seed0►
◄chunk_overlap4►
◄spatial_grid_cols1►
◄spatial_grid_rows1►
◄spatial_overlap64►
◄codech264►
◄crf18►
◄presetmedium►
◄filename_prefixRelayVSR/upscaled►
Categoryvideo/upscaling
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| model | RELAYVSR_MODEL | — | |
| video | VIDEO | The video to upscale. It is read and written incrementally; only one time chunk is in memory | |
| upscale_width | INT | 00–16384 | Final output width. Height follows the source aspect ratio and is rounded to even. 0 keeps width * sr_ratio |
| sr_ratio | INT | 22–4 | x2 weights require 2; x4 weights accept 2 or 4 |
| chunk_len | INT | 242–64 | Frames per streaming pass and RelayVSR window; larger values blend fewer temporal seams but use more RAM |
| seed | INT | 00–18446744073709550000 | Only affects the initial noise of reference frames |
| chunk_overlap | INT | 40–256 | Frames crossfaded between adjacent time chunks; must be smaller than chunk_len |
| spatial_grid_cols | INT | 11–8 | Number of tiles along the width; 1 disables horizontal tiling |
| spatial_grid_rows | INT | 11–8 | Number of tiles along the height; 1 disables vertical tiling |
| spatial_overlap | INT | 640–1024 | Overlap between spatial tiles in input pixels, crossfaded linearly |
| codec | COMBO | h264 | h264: compatible default. h265: smaller at the same quality. av1: smallest, slowest, WebM output |
| crf | FLOAT | 180–63 | Quality: lower is better and bigger. Values above each codec's limit are clamped |
| preset | COMBO | medium | Encoder speed vs compression; maps onto the numeric speed knob for AV1 |
| filename_prefix | STRING | RelayVSR/upscaled | Output name under ComfyUI's output directory; a counter is appended |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| filename | STRING | Absolute path of the saved video |