Skip to content

Releases

Upscayl-Next v2.0.0 — Sirius

Choose a tag to compare

@yu7783 yu7783 released this 26 Nov 10:17

Upscayl-Next v2.0.0 — Code Name: Sirius ✨

A major milestone release introducing a complete next-generation image & video upscaling workflow, in-app model management, unified job queueing, and CLI automation.


🎬 Video Upscaling Suite (Phase 1)

  • Trim Range & Quick 5s Preview: Specify start/end timestamps (seconds, mm:ss, hh:mm:ss) with synchronized audio slicing, plus a 1-click Quick 5s Preview button to verify quality before committing to a full video render.
  • Crash-Safe Pause & Resume: Persist chunk-segment checkpoints to resume long video renders across interruptions or app restarts.
  • Batch Video Upscaling: Select or drag-and-drop multiple videos to upscale sequentially with per-video error isolation and a summary view.
  • AI Frame Interpolation (2x / 4x FPS): Automatic rife-ncnn-vulkan detection with FFmpeg optical-flow (minterpolate) fallback.

🖼️ Image Quality & Comparison Workflow (Phase 2)

  • Keep Winner / Discard Others: In Multi-Model Compare, keep your favorite generation and move rejected outputs to the OS Trash with one click (source image is always protected).
  • ROI Crop Preview: Drag on the image to select a small region and test single or multiple models in seconds before upscaling the full image.
  • Model Blending: Live real-time opacity blend preview (Original + Upscaled or Model A + Model B) with pixel-accurate Sharp RGBA export and metadata copy.
  • Recipes (Presets): Save, apply, delete, import, and export complete workflows (model, scale, format, compression, video encoding, blend ratio, face restoration) with 3 built-in recipes.
  • Face Restoration (GFPGAN): Optional GFPGAN post-processing with adjustable strength across single, double, batch, multi-model, and ROI pipelines.

🚀 Ecosystem & Automation (Phase 3)

  • In-App Model Manager: Browse, search, filter by tag, download with live progress, install, and uninstall popular open-source NCNN models directly inside Upscayl-Next.
  • Unified Job Queue: Queue image, double, batch, multi-model, and video jobs together with reorder, pause-after-current, progress tracking, and completion notifications.
  • Standalone & Headless CLI: Run upscayl-next (image, batch, compare, video, blend, models) or launch the app headlessly with --cli. See docs/CLI.md.

🛡️ Hardening & Fixes

  • Declared sharp explicitly in runtime dependencies so packaged builds always bundle it cleanly.
  • Improved Electron IPC listener cleanup to prevent listener leaks across dialog/sidebar lifecycles.
  • Fixed 1-based batch video progress numbering, queued multi-model double-upscale & batch post-processing, and single-image blend reset on image switch.

Upscayl-Next v1.3.1

Choose a tag to compare

@yu7783 yu7783 released this 23 Nov 14:58

Upscayl-Next v1.3.1

Performance release focused on dramatically accelerating the Video Upscaling pipeline.

Highlights — Video Upscaling Acceleration

  • GPU Hardware Video Encoding (NVENC / AMF / QSV / VideoToolbox):
    • Automatically probes and verifies working GPU video encoders on your system (h264_nvenc, hevc_nvenc, h264_amf, hevc_amf, h264_qsv, hevc_qsv, h264_videotoolbox, hevc_videotoolbox) and enables hardware encoding by default when available.
    • Optimized software fallbacks use -preset fast for libx264/libx265 and multi-threaded -row-mt 1 -cpu-used 4 -threads 0 for libvpx-vp9.
  • Fast Intermediate Frame Pipeline (Near-Lossless JPEG Default / Lossless PNG Option):
    • Switches the default intermediate frame pipeline to near-lossless JPEG (-q:v 1 / -f jpg -c 0 / mjpeg pipe), eliminating 4K PNG zlib CPU bottlenecks (5–10x faster frame I/O and ~8x smaller temporary storage).
    • Lossless PNG remains selectable in the Video tab and now uses -compression_level 1 for 3–4x faster extraction.
  • Hardware-Accelerated Frame Decoding (-hwaccel auto -threads 0):
    • Uses GPU-assisted decoding during frame extraction with automatic fallback to software decoding for unsupported codecs.
  • Double-Buffered Asynchronous Pipeline & Adaptive Chunks:
    • Overlaps GPU upscaling of chunk N+1 with asynchronous disk reads, FFmpeg piping, and cleanup of chunk N, removing GPU idle time between chunks.
    • Expands chunk size to 150 frames for JPEG intermediates (down from 60), reducing Vulkan/model startup overhead by 2.5x.
  • Lossless Consecutive-Frame Deduplication:
    • Detects byte-identical consecutive frames (including across chunk boundaries) via SHA-1 hashing and reuses the already-upscaled frame without invoking the GPU again — delivering 2–5x speedups on anime, screen recordings, and static scenes with zero quality loss.
  • GPU-Optimal Video Thread Split (getVideoThreadCount):
    • Caps concurrent Vulkan GPU inference threads (proc) at 2 (or 1 after a VRAM fallback) to prevent tile-size drops while scaling CPU save threads up to 6 to keep the GPU continuously saturated.
  • Video Tab Controls & Telemetry:
    • Displays the detected GPU encoder badge (NVENC / AMF / QSV / VideoToolbox), toggles for Frame Pipeline, GPU Hardware Encode, and Skip identical frames, plus an 8x slowdown warning if global TTA Mode is enabled in Settings.
    • Shows used encoder, effective throughput (fps), and skipped duplicate frame counts upon completion.

Verification

  • npm test: 76/76 unit tests passing (including new tests for GPU thread splitting, adaptive chunk sizing, hardware encoder priority, extract/encode arguments, and cross-chunk frame deduplication).
  • npm run build: TypeScript compilation, locale schema check (ja.json), and Next.js production export verified.

Upscayl-Next v1.3.0

Choose a tag to compare

@yu7783 yu7783 released this 23 Nov 05:34

Upscayl-Next v1.3.0

Feature release introducing Multi-Model Sequential Comparison and promoting Video Upscaling from Beta to an official, production-ready feature.

Highlights

Multi-Model Sequential Comparison

Built directly from user feedback ("allowing me to generate a picture with multiple models in succession and then letting me compare the different generations"):

  • Compare Multiple Models toggle in the Image sidebar (works with all bundled NCNN models and imported custom NCNN / ONNX / HAT / DAT / SUPIR models).
  • Multi-select model picker with sequence badges (#1, #2, ...), Select All Bundled / Clear actions, and removable model pills in the sidebar.
  • Sequential GPU-safe execution (electron/commands/multi-model-upscayl.ts) with per-model Vulkan VRAM tile fallback (512 → 256 → 128 → 64 → 32), Double Upscayl support, EXIF metadata copying, cached output reuse, and per-model error isolation so one failing model does not abort the rest.
  • Interactive Comparison Viewer (MultiModelCompareView):
    • Slider (A/B): Compare Original or any generated model against any other model with quick Swap A ↔ B and keyboard shortcuts (1–9 to switch B, ←/→ to cycle models).
    • Grid (All): View Original and every generated model side-by-side with synchronized zoom (100%–400%) and mouse pan, per-model generation time badges, and one-click Set A / Set B / Show File.
    • Lens (A/B): 4x magnifying loupe comparing any two selected generations.
  • Partial results on stop: Stopping partway through still lets you immediately compare every model that already finished.

Video Upscaling — Promoted from Beta to Official Feature

The video upscaling pipeline was thoroughly audited and rebuilt for production reliability:

  • Fixed VFR audio/video desync & bogus FPS detection: ffprobe now reads a single JSON probe, prefers avg_frame_rate over container timebase r_frame_rate values (such as 90000/1 or 1000/1), handles smartphone 90°/270° rotation metadata, and extracts strict CFR frames via -vf fps=<rational>.
  • Eliminated disk exhaustion on long videos: Replaced full-video upscaled PNG storage with chunked upscaling (60 frames/chunk) piped directly into a single streaming FFmpeg encoder (image2pipe), deleting both input and upscaled PNGs progressively as each chunk completes.
  • Fixed odd-dimension encoding failures: Added -vf pad=ceil(iw/2)*2:ceil(ih/2)*2 so yuv420p encoding never crashes on odd widths/heights or custom output widths.
  • Fixed premature video truncation & playback compatibility: Removed forced -shortest truncation and added -movflags +faststart for MP4 and -tag:v hvc1 for H.265/HEVC.
  • Configurable encoding options: Choose MP4 (H.264), MP4 (H.265 / HEVC), MKV (H.264 / H.265), or WebM (VP9); select High / Balanced / Compact quality presets; and toggle Keep original audio.
  • Dedicated Video Workspace:
    • Drag and drop video files directly into the app (automatically switches to the Video tab).
    • Built-in FFmpeg & FFprobe readiness indicator with version detection and support for UPSCAYL_FFMPEG_PATH / UPSCAYL_FFPROBE_PATH.
    • Source video preview with resolution, estimated output resolution, FPS, duration, estimated frames, and audio codec metadata.
    • Flicker-free structured 3-stage progress overlay (Extract → Upscale → Finalize) with frame/chunk counts, ETA, and exit-code verification.
    • Before/After Video Comparison Player with synchronized Play/Pause/Seek, output file summary, and Show in Folder.
  • Reliable cancellation & cleanup: Stopping any operation now cleanly terminates active child processes, deletes incomplete output files, removes temporary directories (including on app quit), and resets the UI progress state immediately.

Other fixes

  • Fixed false-positive "Read/Write Error" alerts triggered when log output contained substrings like thread.
  • Restored clean package-lock.json integrity so npm ci works out of the box.
  • Updated npm test glob pattern for compatibility across Node 18, 20, and 22 (72 unit tests passing).

Upscayl-Next v1.2.6

Choose a tag to compare

@yu7783 yu7783 released this 31 Oct 01:00

Upscayl-Next v1.2.6

Installer fix for ENOTDIR / ENOTEMPTY and “Could not extract the downloaded
package”.

Root cause

Electron patches its fs module so that paths ending in .asar are treated as
ASAR archives. The installer was using that patched module to check and copy
resources/app.asar, which is a normal 125 MB file inside the downloaded
package. Electron therefore reported it as a directory, causing:

  • ENOTDIR: not a directory
  • ENOTEMPTY: directory not empty
  • extraction tools being treated as failed even after they finished

Fixes

  • The installer now uses Electron's original-fs module for every
    filesystem operation. This bypasses the ASAR path handling, so
    resources/app.asar is correctly recognized as a file.
  • Package extraction now uses tar.exe first (the Windows 10/11 system
    bsdtar), with PowerShell as a fallback.
  • Extraction results are validated by checking both Upscayl-Next.exe and
    resources/app.asar. Validation retries briefly so antivirus scanning cannot
    cause a false failure.
  • Temporary-folder cleanup is now best-effort with retries. A locked file can no
    longer turn a successful installation into an error.
  • Installer diagnostics are written to
    %TEMP%\upscayl-next-installer.log.

The application itself is unchanged from v1.2.5.

Verification

End-to-end test on Windows:

  • downloaded the release package and verified SHA-256
  • extracted with tar.exe
  • installed Upscayl-Next.exe
  • confirmed app.asar is a file of 125,334,747 bytes (not a folder)
  • wrote install.json
  • removed the temporary folder successfully

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The downloader needs an internet connection to fetch the latest package.
  • The optional AI backend needs Python 3.10 or 3.11, internet access and about
    2 GB of disk space.

Upscayl-Next v1.2.5

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 16:23

Upscayl-Next v1.2.5

Installer fix for “Could not extract the downloaded package”.

Fixes

  • The installer now uses a bundled Node ZIP extractor as its primary
    extraction method. It no longer depends on tar.exe or Windows PowerShell
    being available or working correctly.
  • This also avoids the Windows PowerShell 5.1 Expand-Archive bug that could
    turn resources/app.asar into a folder and cause ENOTDIR errors.
  • tar.exe and PowerShell remain as fallbacks, and a failed extraction is
    cleaned up before retrying.
  • The downloaded package is still verified with SHA-256 before extraction.

The application itself is unchanged from v1.2.4.

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The downloader needs an internet connection to fetch the latest package.
  • The optional AI backend needs Python 3.10 or 3.11, internet access and about
    2 GB of disk space.

Upscayl-Next v1.2.4

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 16:03

Upscayl-Next v1.2.4

Installer fix for the ENOTDIR: not a directory error.

Fixes

  • Stale install path — if the chosen install folder exists as a file (for
    example %LOCALAPPDATA%\Programs\Upscayl-Next left behind by an interrupted
    install), the installer now removes it and creates the folder correctly.
  • Clearer errors — if an intermediate path component is a file, the
    installer reports which path is wrong and asks you to choose another folder
    instead of showing a bare ENOTDIR error.
  • Safer resource checks — the installer now checks that the install path is
    a directory before looking for Upscayl-Next.exe.
  • File/directory conflicts — the merge logic continues to replace stale
    file-vs-directory conflicts inside the install folder.

The application itself is unchanged from v1.2.3.

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The downloader needs an internet connection to fetch the latest package.
  • The optional AI backend needs Python 3.10 or 3.11, internet access and about
    2 GB of disk space.

Upscayl-Next v1.2.3

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 15:13

Upscayl-Next v1.2.3

A completely custom, modern downloader replaces the old-style installer wizard.

Highlights

  • Custom Electron installer/downloader — the recommended download is now
    Upscayl-Next-Installer-1.2.3.exe, a frameless dark app instead of the NSIS
    wizard.
  • Animated modern UI — floating gradient orbs, a five-step progress rail,
    animated download ring with percentage, speed and ETA, live install log and a
    confetti/completion animation.
  • Simple flow — Welcome → Settings → Download → Install → Finish. The
    downloader finds the latest GitHub release automatically.
  • SHA-256 verification — the portable ZIP is checked against the release's
    SHA256SUMS.txt before extraction.
  • Per-user install — defaults to
    %LOCALAPPDATA%\Programs\Upscayl-Next, so no administrator prompt is needed.
  • Shortcuts and uninstaller — desktop/Start Menu shortcuts and a Windows
    Settings → Apps uninstall entry are created automatically.
  • Optional AI backend — HAT/DAT/SUPIR support can be installed during setup
    or later from the generated Start Menu shortcut.
  • Upgrade-safe copying — existing installations are merged safely and
    resources/native/.venv is preserved.

Legacy installer

The NSIS installer (Upscayl-Next-Setup-1.2.3.exe) and portable ZIP are still
published for auto-update and as a fallback. New users should use the custom
downloader.

Build

npm run dist:win        # app package + legacy NSIS installer
npm run installer-app   # custom modern downloader

The custom installer source lives in installer/.

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The downloader needs an internet connection to fetch the latest package.
  • The optional AI backend needs Python 3.10 or 3.11, internet access and about
    2 GB of disk space.

Upscayl-Next v1.2.2

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 13:24

Upscayl-Next v1.2.2

Clearer guidance for choosing and installing models.

Improvements

  • Model picker guide — the model dialog now explains the difference between
    bundled NCNN models (work immediately) and custom ONNX/PyTorch models
    (HAT/DAT/SUPIR need the optional AI backend).
  • Engine badges — every model shows an NCNN / ONNX / PyTorch / HAT / DAT /
    SUPIR badge. Custom models also say whether they work out of the box or need
    the optional AI backend.
  • Recommended model — Upscayl-Next Standard is marked as the recommended
    starting point, with short "best for" descriptions for every bundled model.
  • Empty state — when no custom models are loaded, the picker explains the
    supported formats (.param + .bin, .onnx, .pth, .pt, .ckpt,
    .safetensors) and links to the custom models repository.
  • Settings → Models — now lists supported formats, explains the optional AI
    backend, shows "No folder selected yet", and provides links to the custom
    model repository and backend setup guide.
  • Non-commercial warning — the guide reminds users that some bundled models
    are non-commercial.
  • Locale fallback — missing translation keys now fall back to English
    instead of showing raw key paths.

Notes

  • The main application is otherwise unchanged from v1.2.1.
  • The optional AI backend still needs Python 3.10 or 3.11, internet access and
    about 2 GB of disk space.
  • Some bundled models are non-commercial; check the model name and the bundled
    notices before commercial use.

Upscayl-Next v1.2.1

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 12:40

Upscayl-Next v1.2.1

A patch release that fixes the installer display problems reported in v1.2.0.

Fixes

  • Installer layout — custom pages now use NSIS dialog units (u) instead
    of raw pixels, so controls fill the page correctly and no longer appear tiny
    or clipped.
  • Readable controls — removed the parent-window color overrides that made
    buttons, checkboxes and the directory page difficult to read.
  • Animations actually play — the installer AVIs are now encoded with
    Microsoft RLE (msrle/8-bit) instead of ffmpeg's rawvideo stream, which the
    Windows SysAnimate32 control showed as a blank white area. The welcome,
    credits, options and finish pages now display their animations.
  • Text wrapping — shortened the long credit/options lines and adjusted
    vertical positions so nothing overlaps or is cut off.
  • Cleaner palette — corrected the MUI header colors to the intended BGR
    values and kept the dark header with readable white text.

Installer flow

  1. Welcome (animated)
  2. License and credits (AGPL-3.0 acceptance)
  3. Installation directory
  4. Options (optional AI backend)
  5. Installation progress
  6. Finish (launch the app)

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The optional AI backend still needs Python 3.10 or 3.11, internet access and
    about 2 GB of disk space.
  • The main application is unchanged from v1.2.0; this release only fixes the
    installer.

Upscayl-Next v1.2.0

Choose a tag to compare

@yu7783 yu7783 released this 30 Oct 09:21

Upscayl-Next v1.2.0

A modern, animated installer and a much easier setup for the optional AI backend.

Highlights

  • Redesigned Windows installer — a dark, animated NSIS wizard with four
    custom pages instead of the previous single-banner welcome page:
    • Welcome — animated logo banner and GPU/Vulkan requirements.
    • License & credits — AGPL-3.0 notice, upstream credits and a required
      acceptance checkbox.
    • Options — optional HAT/DAT/SUPIR Python backend, installed
      automatically during setup when selected.
    • Finish — animated completion page with a launch checkbox.
  • One-click optional AI backend — selecting the option runs
    native/setup.ps1 during installation. If you skip it, a Start Menu shortcut
    named Upscayl-Next - Set up AI backend self-elevates and runs the same
    script later. The main app always works with the bundled NCNN models.
  • Modern theme — dark palette, branded header/sidebar and consistent colors
    across the installer, generated from build/icon.png.
  • Copyright and credits — the installer shows the AGPL-3.0 notice and lists
    Upscayl, upscayl-ncnn, Real-ESRGAN and model authors. The packaged app now
    includes LICENSE, Real-ESRGAN_LICENSE.txt and
    THIRD_PARTY_NOTICES.txt under resources.
  • Reproducible artwork — scripts/generate-installer-assets.ps1 generates
    every AVI and static BMP from the app icon. predist:win runs it before a
    Windows build, and intermediate BMP frames are deleted automatically.

Installer flow

  1. Welcome (animated)
  2. License and credits (AGPL-3.0 acceptance)
  3. Installation directory
  4. Options (optional AI backend)
  5. Installation progress
  6. Finish (launch the app)

Upgrading from v1.1.0

  • Run the new Upscayl-Next-Setup-1.2.0.exe over the existing installation.
    The installer keeps your application data and custom models.
  • If you already created native/.venv, the optional backend setup detects and
    reuses it.
  • The old installer's banner.avi remains as a fallback for environments
    without FFmpeg; new pages use welcome.avi, credits.avi, options.avi and
    finish.avi.

Notes

  • The installer is not code-signed, so Windows SmartScreen may show a
    warning. Choose More Info → Run Anyway to continue.
  • The optional AI backend needs Python 3.10 or 3.11, internet access and about
    2 GB of disk space.
  • Video upscaling still requires FFmpeg on your PATH.