![Warlock-Studio banner](Assets/banner.png)
[![Build Status](https://img.shields.io/badge/Build-Stable_Release-0A192F?style=for-the-badge&logo=github&logoColor=FFD700)](https://github.com/Ivan-Ayub97/Warlock-Studio/releases) [![Version](https://img.shields.io/badge/Version-4.2.1-FF4500?style=for-the-badge&logo=git&logoColor=white)](https://github.com/Ivan-Ayub97/Warlock-Studio/releases/tag/4.2.1) [![License](https://img.shields.io/badge/License-MIT-6A0DAD?style=for-the-badge&logo=open-source-initiative&logoColor=white)](LICENSE) [![Downloads](https://img.shields.io/github/downloads/Ivan-Ayub97/Warlock-Studio/total?style=for-the-badge&color=FFD700&logo=download&logoColor=black)](https://github.com/Ivan-Ayub97/Warlock-Studio/releases) [![Platform](https://img.shields.io/badge/Platform-Windows%2011-0078D6?style=for-the-badge&logo=windows11&logoColor=white)](#) [![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=for-the-badge&logo=python&logoColor=FFD700)](https://www.python.org/) [![Issues](https://img.shields.io/github/issues/Ivan-Ayub97/Warlock-Studio?style=for-the-badge&color=FF4500&logo=github&logoColor=white)](https://github.com/Ivan-Ayub97/Warlock-Studio/issues) [![Last Commit](https://img.shields.io/github/last-commit/Ivan-Ayub97/Warlock-Studio?style=for-the-badge&color=2E8B57&logo=git&logoColor=white)](https://github.com/Ivan-Ayub97/Warlock-Studio/commits/main) --- **Warlock-Studio** is an open-source desktop application for **Windows**, engineered to integrate state-of-the-art AI models for **image and video enhancement**. Inspired by [Djdefrag](https://github.com/Djdefrag) tools such as **QualityScaler** and **FluidFrames**, Warlock-Studio provides a unified, high-performance platform for **upscaling, restoration, denoising, and frame interpolation**. --- ## ๐Ÿ“ฅ Download Installer (v4.2.1) from:
Download Warlock-Studio Download from GitHub
### ๐Ÿ“š User Manuals & Documentation The documentation provides detailed technical explanations, troubleshooting guides, and best practices.
Download Manual
--- ## ๐Ÿ–ผ๏ธ Interface Previews **Main Window** ![Main interface](rsc/Capture.png) **Console** ![Console](rsc/CaptureCONSOLE.png) --- ## โœจ Key Features - **AI Upscaling & Restoration** โ€“ Utilize **Real-ESRGAN, BSRGAN, and IRCNN** models for denoising, super-resolution, and detail recovery. - **Face Restoration (GFPGAN)** โ€“ Recover facial details from low-resolution or blurry images and video frames. - **Frame Interpolation (RIFE)** โ€“ Smooth motion or generate slow-motion content with **2ร—, 4ร—, or 8ร— interpolation**. - **Advanced Hardware Acceleration** โ€“ Intelligent provider selection prioritizes **CUDA**, falls back to **DirectML**, and finally **CPU** for maximum compatibility and performance. - **Batch Processing** โ€“ Process multiple media files simultaneously, saving time and effort. - **Custom Workflows** โ€“ Fine-grained control over models, resolution, output formats, and quality parameters. - **Open-Source & Extensible** โ€“ Fully MIT licensed, for contributors and developers. --- ## ๐Ÿ†• What's New in v4.2.1 This maintenance release focuses on critical stability, usability, and a significant visual overhaul. ### Stability & Usability Fixes - **โœ… Critical Audio Fix:** Resolved a major bug that caused all generated videos to be encoded without an audio track. The missing `ffprobe.exe` binary has been restored, ensuring proper audio stream detection and passthrough/re-encoding. - **โœ… UI State Resilience:** Fixed an issue where conflicting AI model settings (e.g., blending and frame interpolation options) could persist incorrectly when switching between model types, preventing invalid setting combinations. - **โœ… Robust Thumbnails:** Reworked the file thumbnail generation process (`FileWidget.extract_file_icon`) to be more robust, preventing potential crashes related to `Pillow`/`numpy` compatibility issues during image conversion. - **โœ… Fixed Window Size:** The main application window is now non-resizable (`window.resizable(False, False)`) to ensure a stable and predictable UI layout, preventing widget placement errors. - **โœ… Dialog Behavior:** Removed the aggressive "always-on-top" flag (`-topmost`) from dialog windows, ensuring they behave as standard application-modal windows. ### Visual & Thematic Redesign - **๐Ÿ”ฅ "DarkRed" Theme:** Introduced a significant visual overhaul with a high-contrast, dark-mode palette. The theme uses a deep red background (`#480B0B`) with bright yellow (`#FFE32C`) and white text for enhanced readability and a distinct, technical aesthetic. - **๐Ÿ’ป Monospaced Font:** Changed the global font from `"Segoe UI"` to `"Consola"` for a uniform, technical look across all UI elements, enhancing readability for file names and status messages. --- ## ๐Ÿ–ผ๏ธ Quality Comparison Enhanced image using **BSRGANx2**: ![Comparison](rsc/image_comparison.png) AI-Driven Visual Transformation: Before & After (**Click on the image to open the video on YouTube**) [![Watch the video](https://img.youtube.com/vi/kJOcctTM32c/hqdefault.jpg)](https://youtu.be/kJOcctTM32c) --- ## ๐Ÿ“Š Model Comparison | Model File | Use Case | Speed | Quality | Notes | | :----------------- | :--------------------------- | :-------- | :-------- | :---------------------------------- | | **GFPGANv1.4** | Face restoration | High | High | Optimal for portraits | | **BSRGANx2** | 2ร— upscale + denoising | Medium | Very High | Suitable for lightly degraded media | | **BSRGANx4** | 4ร— upscale + denoising | Low | Very High | For heavily degraded content | | **RIFE** | Frame interpolation | High | High | Smooth motion, slow-motion support | | **RIFE-Lite** | Lightweight interpolation | Very High | Medium | Faster, lower resource usage | | **RealESRGANx4** | General 4ร— upscaling | Medium | High | Balanced performance | | **RealESRNetx4** | Subtle restoration | Medium | High | Preserves natural image texture | | **RealSRx4_Anime** | Anime / line-art enhancement | Medium | High | Sharp edges for 2D art | | **IRCNN_L** | Light denoising | High | Medium | Mild artifact removal | | **IRCNN_M** | Medium denoising | High | Medium | Stronger artifact cleanup | --- ## ๐Ÿ–ฅ๏ธ System Requirements - **OS:** Windows 11 or higher (64-bit) - **RAM:** 8GB+ recommended - **GPU:** NVIDIA (for CUDA), AMD, or Intel GPU with up-to-date drivers recommended - **Storage:** Sufficient free space for input and processed media --- ## ๐Ÿ“Œ Development Status (v4.2.1) | Component | Status | Notes | | :-------------------------- | :------------ | :---------------------------------------------------------------- | | ONNX Runtime Engine | ๐ŸŸข Enhanced | Prioritizes CUDA > DirectML > CPU with automatic fallback. | | Installer & Packaging | ๐ŸŸข Overhauled | Full offline installer; heavily optimized package size. | | **Video Audio Passthrough** | **โœ… Fixed** | **Resolved critical failure to include audio in encoded videos.** | | **UI State Persistence** | **โœ… Fixed** | **Settings no longer conflict when switching AI models.** | | Upscaling Models | ๐ŸŸข Stable | Includes VRAM recovery integration. | | Face Restoration (GFPGAN) | ๐ŸŸข Stable | High-quality face reconstruction. | | Frame Interpolation (RIFE) | ๐ŸŸข Stable | Smooth motion and slow-motion support. | | User Interface (UI/UX) | ๐ŸŸข Redesigned | **New high-contrast "Inferno" theme.** | | Code Quality | ๐ŸŸข Improved | Refactored, modular, and more maintainable. | --- ## ๐Ÿ“‚ Project Structure
``` Warlock-Studio/ โ”œโ”€โ”€ AI-onnx/ # Pre-trained ONNX models for AI processing โ”‚ โ”œโ”€โ”€ BSRGANx2_fp16.onnx โ”‚ โ”œโ”€โ”€ BSRGANx4_fp16.onnx โ”‚ โ”œโ”€โ”€ GFPGANv1.4.fp16.onnx โ”‚ โ”œโ”€โ”€ IRCNN_Lx1_fp16.onnx โ”‚ โ”œโ”€โ”€ IRCNN_Mx1_fp16.onnx โ”‚ โ”œโ”€โ”€ RealESR_Animex4_fp16.onnx โ”‚ โ”œโ”€โ”€ RealESR_Gx4_fp16.onnx โ”‚ โ”œโ”€โ”€ RealESRGANx4_fp16.onnx โ”‚ โ”œโ”€โ”€ RealESRNetx4_fp16.onnx โ”‚ โ”œโ”€โ”€ RealSRx4_Anime_fp16.onnx โ”‚ โ”œโ”€โ”€ RIFE_fp32.onnx โ”‚ โ””โ”€โ”€ RIFE_Lite_fp32.onnx โ”‚ โ”œโ”€โ”€ Assets/ # Application assets and third-party binaries โ”‚ โ”œโ”€โ”€ banner.png โ”‚ โ”œโ”€โ”€ clear_icon.png โ”‚ โ”œโ”€โ”€ exiftool.exe โ”‚ โ”œโ”€โ”€ ffmpeg.exe โ”‚ โ”œโ”€โ”€ ffmprobe.exe โ”‚ โ”œโ”€โ”€ ffmplay.exe โ”‚ โ”œโ”€โ”€ info_icon.png โ”‚ โ”œโ”€โ”€ logo.ico โ”‚ โ”œโ”€โ”€ logo.png โ”‚ โ”œโ”€โ”€ stop_icon.png โ”‚ โ”œโ”€โ”€ upscale_icon.png โ”‚ โ”œโ”€โ”€ wizard-image.bmp โ”‚ โ””โ”€โ”€ wizard-small.bmp โ”‚ โ”œโ”€โ”€ rsc/ # UI previews and branding resources โ”‚ โ”œโ”€โ”€ Capture.png โ”‚ โ”œโ”€โ”€ image_comparison.png โ”‚ โ”œโ”€โ”€ CaptureCONSOLE.png โ”‚ โ””โ”€โ”€ GitHub_Logo_WS.png โ”‚ โ”œโ”€โ”€ Warlock-Studio.py # Main application script โ”œโ”€โ”€ Warlock-Studio.spec # PyInstaller specification file โ”œโ”€โ”€ Setup.iss # Inno Setup installer script โ”œโ”€โ”€ README.md # Project overview โ”œโ”€โ”€ CHANGELOG.md # Version history and updates โ”œโ”€โ”€ LICENSE # MIT License information โ”œโ”€โ”€ NOTICE.md # Legal notices and attributions โ”œโ”€โ”€ CODE_OF_CONDUCT.md # Contributor guidelines โ”œโ”€โ”€ CONTRIBUTING.md # Contribution guide โ””โ”€โ”€ SECURITY.md # Security reporting policies ```
--- ## ๐Ÿ“Š Integrated Technologies & Licenses | Technology | License | Author / Maintainer | Source | | ------------- | --------------------- | --------------------------------------- | ---------------------------------------------------------- | | QualityScaler | MIT | [Djdefrag](https://github.com/Djdefrag) | [GitHub](https://github.com/Djdefrag/QualityScaler) | | FluidFrames | MIT | [Djdefrag](https://github.com/Djdefrag) | [GitHub](https://github.com/Djdefrag/FluidFrames) | | Real-ESRGAN | BSD 3-Clause / Apache | Xintao Wang | [GitHub](https://github.com/xinntao/Real-ESRGAN) | | GFPGAN | Apache 2.0 | TencentARC / Xintao Wang | [GitHub](https://github.com/TencentARC/GFPGAN) | | RIFE | Apache 2.0 | hzwer | [GitHub](https://github.com/megvii-research/ECCV2022-RIFE) | | BSRGAN | Apache 2.0 | Kai Zhang | [GitHub](https://github.com/cszn/BSRGAN) | | IRCNN | BSD / Mixed | Kai Zhang | [GitHub](https://github.com/cszn/IRCNN) | | ONNX Runtime | MIT | Microsoft | [GitHub](https://github.com/microsoft/onnxruntime) | | FFmpeg | LGPL / GPL | FFmpeg Team | [Official Site](https://ffmpeg.org) | | ExifTool | Artistic License | Phil Harvey | [Official Site](https://exiftool.org/) | | Python | PSF License | Python Software Foundation | [Official Site](https://www.python.org) | | PyInstaller | GPLv2+ | PyInstaller Team | [GitHub](https://github.com/pyinstaller/pyinstaller) | | Inno Setup | Custom | Jordan Russell | [Official Site](http://www.jrsoftware.org/isinfo.php) | --- ## ๐Ÿค Contributions We welcome contributions from the community: **Fork** the repository. **Create a branch** for your feature or bug fix. **Submit a Pull Request** with a detailed description and testing notes. ๐Ÿ“ง Contact: **[negroayub97@gmail.com](mailto:negroayub97@gmail.com)** --- ## ๐Ÿ“œ License ยฉ 2025 Ivรกn Eduardo Chavez Ayub Licensed under **MIT**. Additional terms and attributions are provided in `NOTICE.md`.