Skip to content

BishnuMahali/Video-Optimizer

Repository files navigation

🎬 Ultimate Video Optimizer Pro v2.5.0 (Ultimate Edition)

License: MIT Platform: Windows Python: 3.10+

A professional-grade, hardware-accelerated video optimization suite. This version introduces the major Python Pro GUI, offering a significant leap in stability, visual fidelity, and advanced quality-targeting over the legacy PowerShell scripts.


🚀 The Ultimate Upgrade (v2.5.0)

This release marks the transition to Python as the primary interface, while retaining the core high-performance FFmpeg logic that made the PowerShell version a success.

🌟 New Python GUI Features:

  • Professional Desktop Interface: Built with CustomTkinter for a sleek, system-aware Light/Dark mode experience.
  • VMAF Target Ladder (Multi-Pass): Automatically hunt for the perfect visual quality. Input targets like 95, 93, 91 and the engine will iterate until the optimal size-to-quality ratio is found.
  • Persistent Config System: All settings (Encoders, Presets, Quality, Paths) are now saved automatically to .Video Optimizer/config.json.
  • Smart Encoder Intelligence: Auto-detects all supported hardware encoders (NVIDIA NVENC, AMD AMF, Intel QSV) and marks unsupported ones.
  • Beautified Real-Time Logs: High-fidelity console output with professional status prefixes and detailed process feedback.
  • Robust Cache & Resume: Integrated signature-based caching to prevent redundant processing of already optimized files.

⚙️ Engine Restoration (Best-in-Class Logic):

  • Full Hardware Parity: Matches the original PowerShell script's hardware detection and logic.
  • GPU-Accelerated Decoding: Uses -hwaccel flags to ensure the GPU handles both decoding AND encoding for maximum throughput.
  • NVENC Visual Tuning: Automatically injects -spatial_aq and -aq-strength for superior NVIDIA encoding quality.
  • Audio Compatibility Fallback: Intelligent stream analysis automatically falls back to high-quality AAC if source audio is incompatible with the target container.

🛠️ Requirements

  • Windows 10/11
  • FFmpeg (Must be in your system PATH)
  • Python 3.10+ (The launcher handles virtual environment setup automatically)

🚀 Quick Start (GUI)

  1. Launch: Double-click Video Optimizer.bat.
  2. Select: Choose your source directory.
  3. Optimize: Configure your quality targets (or use the recommended VMAF 93) and click START PRO OPTIMIZATION.

💻 PowerShell Mode (Legacy/CLI)

The original PowerShell engine remains available for CLI-focused workflows. It can be run directly or via the web:

Quick Run (IRM):

irm https://raw.githubusercontent.com/BishnuMahali/Video-Optimizer/main/Video-Optimizer.ps1 | iex

📜 License

This project is licensed under the MIT License — see the LICENSE file for details.

Copyright (c) 2026 Bishnu Mahali


🤝 Support & Connect

These projects are simple utility scripts built to solve everyday problems. If you find them helpful in your workflow and would like to support me, any small contribution is deeply appreciated! ❤️

Buy Me A Coffee Ko-fi Patreon PayPal

GitHub Website YouTube Instagram Facebook X (Twitter) LinkedIn