A collection of PowerShell scripts for converting videos to HEVC (H.265) format using FFmpeg. Features batch processing, quality presets, and comprehensive analysis tools.
Quick Start
# Convert all videos in current directory
.\Convert-VideoToHEVC.ps1
# Convert with custom quality
.\Convert-VideoToHEVC.ps1 -crf 20 -preset slow
# Use a preset profile
.\Convert-VideoToHEVC.ps1 -Profile Animation
Requirements
PowerShell 5.1 or later
FFmpeg with libx265 support
Windows 10/11 (or PowerShell Core on other platforms)
Features
Batch Processing Convert multiple files automatically with progress tracking
Quality Presets Optimized settings for different content types
Hardware Acceleration Support for NVENC, QSV, and other hardware encoders
Quality Analysis VMAF, PSNR, and SSIM metrics for quality validation
Use Cases
Media Server Optimization - Convert movie collections for Plex, Jellyfin, or Emby
Security Camera Storage - Reduce storage requirements for surveillance footage
Mobile Device Preparation - Optimize videos for phones and tablets
Archive Management - Preserve old content with minimal quality loss
Streaming Preparation - Prepare content for web streaming platforms
Available Scripts
Convert-VideoToHEVC
Main HEVC conversion script with batch processing and quality presets