Nodes/ComfyUI-OldTimeRadio/ Post-Upscale Procgen Blend (1080p)
ComfyUI Node

Post-Upscale Procgen Blend (1080p)

A ComfyUI node in OldTimeRadio/video with 11 inputs and 2 outputs.

By jbrick2070·Created 5 months ago·Updated about 4 hours ago· 7
Post-Upscale Procgen Blend (1080p)
    • final_mp4_path
    • report
    source_mp4_path
    procgen_mp4_path
    blend_modescreen
    blend_opacity1.00
    ffmpegffmpeg
    bypassfalse
    out_suffix_procgen_blended
    shadow_crush_threshold18
    green_only_overlaytrue
    scopes_mp4_path
    audio_barsbottom
    CategoryOldTimeRadio/video

    Inputs (11)

    NameTypeDefaultDescription
    source_mp4_pathSTRINGPath to the SilentComposite output mp4 (1920x1080 HuMo + LTX composite).
    procgen_mp4_pathSTRINGPath to OTR_SignalLostVideo procgen mp4 (1920x1080 native per BUG-030 Phase B).
    blend_modeoptCOMBOscreen16 options: lighten, screen, addition, overlay, hardlight, softlight, +10
    blend_opacityoptFLOAT1.000–1Procgen overlay opacity. 0.0 = procgen invisible (equivalent to bypass). 1.0 = procgen contributes at full strength via the selected blend mode. Default 1.0 + 'screen' mode (BUG-LOCAL-096) gives the canonical bright-additive overlay -- procgen colors at full intensity, upscale still visible underneath. Drop to 0.5 for a moderate sheen instead of full strength.
    ffmpegoptSTRINGffmpegffmpeg binary path or PATH-resolvable name.
    bypassoptBOOLEANfalseSkip the blend entirely and copy source -> output verbatim. Useful for A/B comparison vs the procgen blend, or when procgen visual is unwanted (clean uplift for an external editor).
    out_suffixoptSTRING_procgen_blendedFilename suffix for the blended output. Final filename: ``<source_stem><out_suffix>.mp4`` placed in the same dir as ``source_mp4_path``.
    shadow_crush_thresholdoptINT180–50BUG-LOCAL-103: pre-blend shadow crush. Any procgen RGB channel value below this threshold is forced to 0 BEFORE the blend, normalizing near-black noise (e.g. (5,5,10) blue-tinted procgen black) to true #000000 so brighter blends (lighten/screen/addition) don't lift source darks toward the procgen tint. Default 18 covers a (5-10) noise floor with margin while preserving real motion content (procgen highlights up to ~95). 0 disables -- use that to verify the un-crushed pink/cast symptom or to A/B test a procgen render with hardened prompt that already produces true black.
    green_only_overlayoptBOOLEANtrueBUG-LOCAL-104/105/106: when True, zero the procgen R and B channels (colorchannelmixer) BEFORE the blend so only the procgen G channel ever contributes. Filter chain also pins both inputs to gbrp planar RGB before blend and back to yuv420p after, so the per-channel math runs in RGB instead of YUV (where 'lighten' on Y/U/V creates color-shifting garbage that swallows a 1%-sparse green wireframe). Source R/B pass through untouched (no color lift); source G gets boosted only where the procgen has green wireframe pixels. Pair with blend_mode='screen' or 'addition' -- 'lighten' will turn the wireframe pure white over fully-saturated magenta source pixels because max(255,0,255) vs (0,255,0) collapses to (255,255,255).
    scopes_mp4_pathoptSTRINGOptional path to OTR_SceneAwareScopes' scopes_only.mp4. Present -> procgen is screened on, then the scene-aware scopes are lightened on top (3-input gbrp blend). Empty -> the standard single-procgen blend (unchanged).
    audio_barsoptCOMBObottomALWAYS-ON bottom audio-reactive green bars overlay, DEFAULT ON. 'bottom' paints a green frequency strip along the bottom of EVERY frame (landscape AND portrait), driven by the master audio, lighten-blended at 60%, seated above the caption safe-area so captions stay ON TOP -- decoupled from the scene-aware floor so it shows no matter what clip is above/below. 'off' = byte-identical video to the pre-overlay path. Audio is never touched (byte-identical).

    Outputs (2)

    NameTypeDescription
    final_mp4_pathSTRING
    reportSTRING