Pipeline Settings

Pipeline Settings

The upscaling pipeline processes each video frame through four configurable stages. This page explains every setting and how each stage affects the output.

Pipeline Overview

Every frame passes through four stages in sequence. Each stage is optional and can be toggled independently. The pipeline executes in the following order:

Stage 1
Pre-Processing
Denoise, Deinterlace
Stage 2
Upscaling
AI Model, Multi-Pass
Stage 3
Post-Processing
Color, Sharpen
Stage 4
Finalization
Audio, Metadata

Denoising

Denoising removes grain, noise, and compression artifacts from the source frame before it reaches the upscaling model. This prevents the AI model from amplifying unwanted noise. Recaster uses OpenCV Non-Local Means (NLMeans) denoising, which preserves edges while smoothing flat areas.

SettingRangeDefaultDescription
EnableOn / OffOffToggle denoising on or off
Strength0.0 – 10.02.0Higher values remove more noise but may soften details

Strength guidelines:

  • 1.0 – 2.0 — Light denoising for clean or lightly compressed sources
  • 2.0 – 3.0 — Moderate denoising for typical video with compression artifacts
  • 3.0 – 5.0 — Heavy denoising for noisy or grainy sources
  • 5.0 – 10.0 — Very aggressive denoising for severely degraded material

Denoise before upscaling

Applying denoising before upscaling is much more effective than denoising afterward. The AI model produces cleaner output when it receives a cleaner input, and the noise is easier to remove at the original resolution.

Multi-Pass Upscaling

Multi-pass upscaling chains multiple 2x upscale passes to reach higher scale factors. Instead of using a single 4x model, multi-pass runs the 2x model twice in sequence. This produces significantly better detail preservation and reduces the "plastic" look that aggressive single-pass upscaling can cause.

Target ScaleMulti-Pass ChainTotal Factor
2xSingle 2x pass2x
4x2x pass 1 → 2x pass 24x
8x2x pass 1 → 2x pass 2 → 2x pass 38x

When to disable multi-pass

If you are using a model that already natively supports 4x (like SwinIR 4x or Real-ESRGAN 4x+), you can disable multi-pass to process each frame in a single pass. This is faster but may produce slightly less refined results compared to the chained 2x approach.

Color Correction

AI upscaling models can sometimes shift colors slightly, especially in skin tones or saturated areas. The color correction stage uses LAB color space matching to preserve the original color palette of the source material. It adjusts the lightness and chrominance channels of the upscaled frame to match the original.

Color correction is a simple toggle (on or off) with no additional parameters. It is enabled by default in all presets except Fast.

Sharpening

The sharpening stage applies an unsharp mask to enhance edge definition in the upscaled output. This is particularly useful after denoising, which can soften edges slightly. The strength slider controls how much sharpening is applied.

SettingRangeDefaultDescription
EnableOn / OffOffToggle sharpening on or off
Strength0.0 – 2.00.5Higher values produce sharper edges but may introduce halos

Strength guidelines:

  • 0.3 – 0.5 — Subtle sharpening that enhances edges without visible artifacts
  • 0.5 – 1.0 — Moderate sharpening for general use
  • 1.0 – 1.5 — Strong sharpening to compensate for heavy denoising
  • 1.5 – 2.0 — Aggressive sharpening for severely softened material

Over-sharpening

Setting sharpening above 1.5 can introduce visible halo artifacts around edges. If you notice bright outlines around objects, reduce the strength or disable sharpening entirely. For most content, a value between 0.3 and 0.8 is sufficient.

Tile Settings

Both Real-ESRGAN and SwinIR models have an input resolution limit of 512x512 pixels. For larger frames, the upscaler automatically splits the image into overlapping tiles, processes each tile independently, and blends the results seamlessly. The tile settings control this behavior.

SettingOptionsDefaultDescription
Tile Size128 / 256 / 512 px256 pxSize of each processing tile. Larger tiles use more GPU memory but may produce fewer seam artifacts.
Tile Overlap16 – 64 px32 pxOverlap between adjacent tiles. More overlap produces smoother blending but increases processing time.
GPU Memory Limit1 / 2 / 4 / 6 / 8 GB2 GBMaximum GPU memory allocated for the ONNX Runtime session.

Default settings work well

The default tile size of 256 pixels with 32 pixel overlap is a good balance of quality and memory usage for most GPUs. Only adjust these settings if you encounter out-of-memory errors (reduce tile size) or visible tile seams (increase overlap).

Audio Preservation

Recaster automatically preserves the audio track from your input video. The process works in three steps:

  1. Detection — ffprobe examines the input file and identifies audio streams.
  2. Processing — Video frames are upscaled independently without modifying the audio.
  3. Muxing — ffmpeg combines the upscaled video with the original audio track into the final output file.

Audio preservation happens automatically and requires no configuration. If ffmpeg is not installed on your system, the upscaled video is still produced but without audio.

ffmpeg required for audio

Install ffmpeg on your system to enable audio preservation. On macOS, use brew install ffmpeg. On Windows, download from ffmpeg.org and add it to your PATH. On Linux, use your package manager (e.g., sudo apt install ffmpeg).

Preview Interval

During processing, Recaster displays live previews of upscaled frames. The preview interval controls how often these previews update. The default is every 30 frames. Lower values provide more frequent updates but add a small overhead to processing.

Settings Persistence

All pipeline settings are saved between sessions. When you close and reopen Recaster, your last-used configuration is restored automatically. You can reset to a clean state by selecting any quality preset, which overwrites all settings with the preset defaults.

Here are starting-point configurations for common scenarios. Adjust values based on your specific source material.

Clean HD Source → 4K

  • Model: SwinIR 2x
  • Multi-pass: On (2x → 2x)
  • Denoise: Off (source is clean)
  • Sharpen: Light (0.3)
  • Color correction: On

Compressed Web Video → 4K

  • Model: SwinIR 2x
  • Multi-pass: On (2x → 2x)
  • Denoise: On (2.5)
  • Sharpen: Medium (0.5)
  • Color correction: On

VHS Tape → HD

  • Model: SwinIR 2x
  • Multi-pass: On (2x → 2x)
  • Denoise: On (5.0)
  • Sharpen: Strong (1.2)
  • Color correction: On

Quick Preview

  • Model: Real-ESRGAN 2x
  • Multi-pass: Off
  • Denoise: Off
  • Sharpen: Off
  • Color correction: Off