DLSS 5 Neural Rendering for Images & Video with Frame Generation, RTX Video Super Resolution, HDR, and Color Grading
TypeScript ai-upscalingdlssdlss-5dlss5dlssgframe-generationframe-interpolationimage-enhancementimage-upscalingneural-renderingnvidianvidia-dlss-5nvidia-rtxrtx-videortx-video-super-resolutionvideo-enhancementvideo-upscaling
Add files via upload
Merserke557d5ec9421
diff --git a/README.md b/README.mdindex 5ee1851..8ed9680 100644--- a/README.md+++ b/README.md@@ -4,6 +4,8 @@Windows application for applying a DLSS 5 Neural Rendering feature-18 pipeline to images and video through a local Gradio interface. It is an independent community project and is not affiliated with, sponsored by, or endorsed by NVIDIA, ReShade, RenoDX, FFmpeg, or their contributors.+The portable build includes sequential image/video batch processing, shared DLSS model-preset selection, verified feature-18 diagnostics, and RenoDX DLSS5 4.70. See the [changelog](CHANGELOG.md) for the complete update history.+<img width="1403" height="630" alt="image" src="https://github.com/user-attachments/assets/4530410a-af0f-42b5-9ba7-72106e1f5517" />### Original@@ -24,13 +26,16 @@ https://github.com/user-attachments/assets/d91591a9-2df1-4b4b-b18f-bd4dff73d5bc- **Images:** single-image and batch processing with per-file success/failure results, responsive input/output previews, individual downloads, a ZIP of successful outputs, batch manifests, and diagnostic JSON reports.- **Image formats:** common Pillow formats plus HEIF/HEIC, SVG, and many camera RAW formats. Outputs are PNG, JPEG, WebP, AVIF, or TIFF.-- **Image handling:** EXIF orientation is applied; ICC input is converted to sRGB; supported EXIF, DPI, and XMP metadata is retained; alpha is preserved except when JPEG composites it over white. Animated and multipage files use only the first frame/page.-- **Video:** whole-video rendering, a one-frame preview, and a three-second preview. H.264, HEVC, AV1, and ProRes Proxy are available in MP4, MKV, or MOV where compatible.+- **Image handling:** EXIF orientation is applied; ICC input is converted to sRGB; supported EXIF, DPI, and XMP metadata is retained; alpha is preserved except when JPEG composites it over white. EXIF/TIFF rational values and other unusual metadata are converted safely for diagnostic JSON without modifying the metadata used to encode the output. Animated and multipage files use only the first frame/page.+- **Video:** single-video and reorderable batch-video rendering, plus one-frame and three-second previews for a single selected video. H.264, HEVC, AV1, and ProRes Proxy are available in MP4, MKV, or MOV where compatible.+- **Sequential video batches:** videos run once, one by one, in the displayed uploader order using one settings snapshot. A failed item is recorded without preventing later videos from rendering. Successful outputs remain individually downloadable and every batch receives an ordered JSON manifest.+- **Single-only video previews:** input and output players are shown when exactly one video is selected. They are hidden for multi-video batches; batch results are provided through downloadable files and the per-video results table.- **Media preservation:** frame timestamps and display rotation are handled; original metadata and chapters are copied. MKV copies compatible audio and subtitle streams, while MP4/MOV convert audio to 192 kbps AAC. Final muxing preserves every rendered video frame when source audio is slightly shorter.-- **Safety and diagnostics:** only one GPU render runs at a time. Stop cancels the active worker/encoder, incomplete output and job data are removed, and outputs are accepted only after feature-18 execution and output dimensions/frame counts are verified.-- **Persistent controls:** Image and Video tabs share neural settings, including the experimental Automatic Mask toggle, saved in `config.ini`; Reset restores every setting to its default.+- **Renaming:** Image and Video outputs support Auto timestamped naming, Copy naming with the original base filename, or a Custom suffix. Existing outputs are never overwritten.+- **Safety and diagnostics:** only one GPU render runs at a time. Stop cancels the active worker/encoder and removes only incomplete output/job data. In a video batch, completed files are retained and queued items are marked skipped. Outputs are accepted only after feature-18 execution and output dimensions/frame counts are verified.+- **Persistent controls:** Image and Video tabs share neural settings and the DLSS Model Preset, including the experimental Automatic Mask toggle. Settings are saved in `config.ini`; Reset restores every setting to its default.-Outputs are written to `outputs/`, reports and manifests to `logs/`, and temporary data to `jobs/` while a render is active.+The application creates `outputs/`, `logs/`, and `jobs/` when needed. Successful media is written to `outputs/`, reports and manifests to `logs/`, and temporary active-render data to `jobs/`.## Requirements@@ -41,10 +46,11 @@ Outputs are written to `outputs/`, reports and manifests to `logs/`, and tempora1. The input is decoded to 8-bit SDR RGBA and its orientation and dimensions are normalized.2. The selected fixed DLSS mode determines the output size; the native worker negotiates its required render size.-3. Images send zero motion with a history reset. Video uses OpenCV DIS optical flow for current-to-previous motion, with resets on the first frame and detected scene changes.-4. Frames are streamed to the project-specific D3D12 worker, which hosts the ReShade/RenoDX DLSS feature-18 path.-5. Alpha is restored for images. Video frames are sent to FFmpeg with source presentation timestamps, then audio, metadata, chapters, and compatible subtitles are muxed.-6. ReShade evidence and output properties are verified. Unverified or incomplete results are deleted; successful renders receive JSON reports containing settings, dimensions, GPU/encoder data, hashes, logs, and feature evidence.+3. `Default` leaves NVIDIA's mode-specific DLSS render-preset hints untouched. J, K, L, or M forces and verifies the selected hint for DLAA, Quality, Balanced, Performance, Ultra Performance, and Ultra Quality before optimal-settings lookup and feature creation.+4. Images send zero motion with a history reset. Video uses OpenCV DIS optical flow for current-to-previous motion, with resets on the first frame and detected scene changes.+5. Frames are streamed through the version 4 protocol to the project-specific D3D12 worker, which hosts the ReShade/RenoDX DLSS feature-18 path and acknowledges the applied model preset.+6. Alpha is restored for images. Video frames are sent to FFmpeg with source presentation timestamps, then audio, metadata, chapters, and compatible subtitles are muxed.+7. ReShade evidence and output properties are verified. Unverified or incomplete results are deleted; successful renders receive JSON reports containing requested/applied presets, dimensions, GPU/encoder data, RenoDX/model/worker hashes, logs, and feature evidence.## Settings@@ -60,6 +66,16 @@ Outputs are written to `outputs/`, reports and manifests to `logs/`, and temporaThe preset numbers are experimental native model hints; their visual effect is content-dependent.+| DLSS Model Preset | SDK value | Behavior |+| --- | ---: | --- |+| Default | 0 | Applies no override and lets NVIDIA choose its normal mode-specific preset |+| J | 10 | Forces preset J for every supported DLSS scaling mode |+| K | 11 | Forces preset K for every supported DLSS scaling mode |+| L | 12 | Forces preset L for every supported DLSS scaling mode |+| M | 13 | Forces preset M for every supported DLSS scaling mode |++The DLSS Model Preset is independent of the experimental Neural Rendering **NR Preset** control.+| Upscaling mode | Factor | Behavior || --- | ---: | --- || DLAA / native | 1× | Keeps the source dimensions |@@ -76,30 +92,31 @@ Output dimensions are rounded to even pixels and limited to a 7680×4320 boundar| Video codec | H.264, HEVC, AV1, or ProRes Proxy || Container | MP4, MKV, or MOV; ProRes Proxy requires MKV or MOV || Encoding quality | Auto (Default) uses resolution/FPS/codec; Good = Auto×2; Best = Auto×4; Max uses CQ/CRF 0; ProRes uses its fixed Proxy profile |+| Rename | Auto adds the DLSS5 timestamp; Copy keeps the original base name; Custom appends the entered suffix before the output extension |H.264 and HEVC prefer NVENC and fall back to slow software encoding. AV1 requires working AV1 NVENC at the selected output size. ProRes Proxy uses 10-bit 4:2:2 encoding, although the verified neural-rendering path remains RGBA8.-## Required external files+## Portable runtime layout-The placeholder documents under `bin/` describe the omitted layout. Restore files only from sources you are authorized to use; filenames alone do not establish authenticity or redistribution rights.+The release is self-contained and uses the runtime files under `bin/`. Startup validates the required files, NVIDIA GPU support, and pinned compatibility identities before opening the interface.-| Expected path | Purpose and ownership |+| Path | Purpose and ownership || --- | --- |-| `bin/python-3.13.15-embed-amd64/` | Python 3.13 portable runtime and packages; omitted and replaced by [BINARIES.md](bin/python-3.13.15-embed-amd64/BINARIES.md) |-| `bin/ffmpeg/bin/ffmpeg.exe`, `ffprobe.exe` | FFmpeg processing and probing tools; omitted and documented in [BINARIES.md](bin/ffmpeg/BINARIES.md) |+| `bin/python-3.13.15-embed-amd64/` | Embedded Python 3.13 runtime and application packages |+| `bin/ffmpeg/bin/ffmpeg.exe`, `ffprobe.exe` | FFmpeg processing, encoding, muxing, verification, and probing tools || `bin/runtime/nvngx.dll` | Project-specific standalone D3D12 worker, named for its caller contract; it is **not** NVIDIA's NGX core DLL || `bin/runtime/dxgi.dll` | ReShade carrier with add-on support |-| `bin/runtime/renodx-dlss5.addon64` | Third-party DLSS 5 Neural Rendering add-on; its specific distribution license must be verified separately |+| `bin/runtime/renodx-dlss5.addon64` | RenoDX DLSS5 4.70 Neural Rendering add-on; the installed binary is checked against the pinned release hash || `bin/runtime/nvngx_dlss.dll`, `nvngx_dlssnr.dll` | DLSS/NGX runtime and neural-rendering components; NVIDIA proprietary terms apply to genuine NVIDIA SDK files |-| `bin/runtime/ReShade.ini` | Local ReShade configuration used by the runtime layout |+| `bin/runtime/ReShade.ini`, `ReShade.log` | Generated automatically while the native worker runs; they are not required in a clean package |-See [the complete runtime inventory](bin/runtime/BINARIES.md). Do not obtain or redistribute proprietary or closed-source files through unauthorized mirrors.+Do not replace or redistribute proprietary or closed-source components through unauthorized mirrors. A filename alone does not establish authenticity or redistribution rights.## License and third-party notices-Original application code in this repository is licensed under the [MIT License](LICENSE), copyright © 2026 Merserk. That license covers only original project code; it does not relicense or grant rights to any third-party software, model, binary, trademark, media, or other asset.+Original application code is licensed under the MIT License, copyright © 2026 Merserk. That license covers only original project code; it does not relicense or grant rights to any third-party software, model, binary, trademark, media, or other asset.-- **NVIDIA DLSS/NGX:** NVIDIA and its suppliers retain their rights in genuine NVIDIA SDK files. Use and distribution are governed by the [NVIDIA RTX SDK License](https://github.com/NVIDIA/DLSS/blob/main/LICENSE.txt). The files are not included here, no standalone redistribution right is implied, and this project must not be represented as NVIDIA-sponsored or endorsed.+- **NVIDIA DLSS/NGX:** NVIDIA and its suppliers retain their rights in genuine NVIDIA SDK files. Use and distribution are governed by the [NVIDIA RTX SDK License](https://github.com/NVIDIA/DLSS/blob/main/LICENSE.txt). Their presence in a portable package does not imply a standalone redistribution right, and this project must not be represented as NVIDIA-sponsored or endorsed.- **FFmpeg:** the referenced Gyan.dev `9.0.1-full_build` was configured with GPL and version-3 components and is distributed under GPLv3. Its build information, license, and exact [corresponding FFmpeg source commit](https://github.com/FFmpeg/FFmpeg/commit/bf1b838f2a) are retained under `bin/ffmpeg/`. Anyone redistributing that binary must satisfy the applicable GPLv3 and corresponding-source obligations. See [FFmpeg licensing](https://github.com/FFmpeg/FFmpeg/blob/master/LICENSE.md).- **ReShade:** copyright belongs to Patrick Mours and contributors; ReShade is available under the [BSD 3-Clause License](https://github.com/crosire/reshade).- **RenoDX:** RenoDX core is copyright its authors and available under [MIT](https://github.com/clshortfuse/renodx/blob/main/LICENSE). This does not establish the license of the separate `renodx-dlss5.addon64` file.