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.
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.
- Professional Desktop Interface: Built with
CustomTkinterfor 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, 91and 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.
- Full Hardware Parity: Matches the original PowerShell script's hardware detection and logic.
- GPU-Accelerated Decoding: Uses
-hwaccelflags to ensure the GPU handles both decoding AND encoding for maximum throughput. - NVENC Visual Tuning: Automatically injects
-spatial_aqand-aq-strengthfor 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.
- Windows 10/11
- FFmpeg (Must be in your system
PATH)- Download FFmpeg here
- Crucial: Build must include
libvmaffor advanced quality targeting.
- Python 3.10+ (The launcher handles virtual environment setup automatically)
- Launch: Double-click
Video Optimizer.bat. - Select: Choose your source directory.
- Optimize: Configure your quality targets (or use the recommended VMAF 93) and click START PRO OPTIMIZATION.
The original PowerShell engine remains available for CLI-focused workflows. It can be run directly or via the web:
irm https://raw.githubusercontent.com/BishnuMahali/Video-Optimizer/main/Video-Optimizer.ps1 | iexThis project is licensed under the MIT License — see the LICENSE file for details.
Copyright (c) 2026 Bishnu Mahali
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! ❤️