Optimize-HEVCSettings

PowerShell HEVC Video Converter

📋 Table of Contents

Overview

Finds optimal encoding settings for your content

Synopsis

Finds optimal HEVC encoding settings by analyzing content characteristics.

Description

Automatically tests various encoding parameters and recommends the best
balance between quality, file size, and encoding speed for specific video content.
Performs comprehensive analysis including quality metrics (VMAF, SSIM, PSNR),
bitrate distribution, and visual complexity scoring.

Parameters

-InputPath

Path to the video file or folder containing videos to analyze.

-TestDuration

Duration (in seconds) of the test segment to use for optimization. Default: 60.

-QualityTarget

Target VMAF score for quality-constrained optimization (1-100). Default: 92.

-SpeedTarget

Target encoding speed (fps) for time-constrained optimization.

-ComplexityAnalysis

Perform detailed content complexity analysis.

-HardwareAcceleration

Use hardware acceleration if available (cuvid, qsv, vaapi).

-filePath

Path to the video file.

-original

Path to source video file.

-encoded

Path to encoded video file.

-source

Path to source video file.

-settings

Encoding settings (CRF, preset, etc.).

Examples

Example 1

.\Optimize-HEVCSettings.ps1 -InputPath ".\4k_demo.mp4" -QualityTarget 95

Example 2

.\Optimize-HEVCSettings.ps1 -InputPath ".\videos\" -SpeedTarget 8 -ComplexityAnalysis -HardwareAcceleration