238 lines
7.0 KiB
YAML
238 lines
7.0 KiB
YAML
# =============================================================================
|
|
# ENCODERPRO CONFIGURATION - INTEL ARC GPU
|
|
# =============================================================================
|
|
# Optimized configuration for Intel Arc A-Series GPUs and Intel integrated graphics
|
|
|
|
# =============================================================================
|
|
# DIRECTORY PATHS
|
|
# =============================================================================
|
|
|
|
# When running in Docker, these paths are mapped from host
|
|
movies_dir: /movies
|
|
archive_dir: /archive
|
|
work_dir: /work
|
|
state_db: /db/state.db
|
|
log_dir: /logs
|
|
|
|
# =============================================================================
|
|
# PARALLEL PROCESSING
|
|
# =============================================================================
|
|
|
|
parallel:
|
|
# Intel Arc can handle 2-4 concurrent encodes depending on model
|
|
# A770/A750: 3-4 workers
|
|
# A380/A310: 2-3 workers
|
|
# Integrated graphics: 1-2 workers
|
|
max_workers: 3
|
|
|
|
# Intel Arc GPU encode slots
|
|
# Most Arc GPUs can handle 2-3 simultaneous encodes
|
|
gpu_slots: 2
|
|
|
|
# CPU fallback slots
|
|
cpu_slots: 2
|
|
|
|
# =============================================================================
|
|
# ENCODING PROFILES
|
|
# =============================================================================
|
|
|
|
profiles:
|
|
# Default profile - optimized for Intel Arc
|
|
# Change to sweetspot_av1 if you have Arc A-Series and want best compression
|
|
default: sweetspot_qsv
|
|
|
|
definitions:
|
|
# --- RECOMMENDED SWEET SPOT PROFILES ---
|
|
|
|
# BEST CHOICE for H.265: Perfect quality/size/speed balance
|
|
sweetspot_qsv:
|
|
encoder: intel_qsv_h265
|
|
preset: slow
|
|
quality: 21
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "⭐ RECOMMENDED - Visually transparent quality at excellent compression"
|
|
|
|
# BEST CHOICE for AV1: Maximum compression with great quality (Arc A-Series only)
|
|
sweetspot_av1:
|
|
encoder: intel_qsv_av1
|
|
preset: medium
|
|
quality: 27 # AV1 scale is different - 27 is sweet spot
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "⭐ RECOMMENDED AV1 - Best compression, Arc A-Series only"
|
|
|
|
# --- INTEL QSV PROFILES ---
|
|
|
|
# Balanced H.265 encoding (good for general use)
|
|
balanced_qsv:
|
|
encoder: intel_qsv_h265
|
|
preset: medium
|
|
quality: 23
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "Balanced quality/speed H.265 encoding"
|
|
|
|
# Fast H.264 encoding (for quick processing)
|
|
fast_qsv:
|
|
encoder: intel_qsv_h264
|
|
preset: veryfast
|
|
quality: 26
|
|
audio_codec: copy
|
|
description: "Fast H.264 encoding for quick turnaround"
|
|
|
|
# High quality H.265 encoding (slower, larger files)
|
|
quality_qsv:
|
|
encoder: intel_qsv_h265
|
|
preset: slower
|
|
quality: 19
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "Maximum H.265 quality for archival"
|
|
|
|
# AV1 encoding (Intel Arc exclusive - best compression!)
|
|
# Note: Only available on Arc A-Series, not older integrated graphics
|
|
av1_qsv:
|
|
encoder: intel_qsv_av1
|
|
preset: medium
|
|
quality: 30
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "Balanced AV1 encoding (Arc A-Series only)"
|
|
|
|
# Fast AV1 for testing
|
|
av1_fast:
|
|
encoder: intel_qsv_av1
|
|
preset: fast
|
|
quality: 33
|
|
audio_codec: copy
|
|
description: "Fast AV1 encoding"
|
|
|
|
# High quality AV1
|
|
av1_quality:
|
|
encoder: intel_qsv_av1
|
|
preset: slow
|
|
quality: 24
|
|
audio_codec: copy
|
|
hdr_handling: preserve
|
|
description: "High quality AV1 encoding"
|
|
|
|
# --- CPU FALLBACK PROFILES ---
|
|
|
|
balanced_cpu:
|
|
encoder: cpu_x265
|
|
preset: medium
|
|
quality: 23
|
|
audio_codec: copy
|
|
description: "CPU fallback H.265"
|
|
|
|
fast_cpu:
|
|
encoder: cpu_x264
|
|
preset: fast
|
|
quality: 26
|
|
audio_codec: copy
|
|
description: "CPU fallback H.264"
|
|
|
|
# =============================================================================
|
|
# PROCESSING SETTINGS
|
|
# =============================================================================
|
|
|
|
processing:
|
|
file_extensions:
|
|
- mkv
|
|
- mp4
|
|
- avi
|
|
- m4v
|
|
- ts
|
|
- m2ts
|
|
|
|
# Skip files without subtitles (change to false to process all files)
|
|
skip_without_subtitles: false # Deprecated - all files now scanned, use dashboard filters
|
|
|
|
# Clean up abandoned work files on startup
|
|
cleanup_stale_work: true
|
|
|
|
# =============================================================================
|
|
# QUALITY CHECKING
|
|
# =============================================================================
|
|
|
|
quality_check:
|
|
# Enable pre-encoding quality analysis to detect quality degradation
|
|
enabled: true
|
|
|
|
# Warning threshold - warn if quality will drop by this many points (0-100 scale)
|
|
# Example: Source quality 85 → Target quality 70 = 15 point drop (warning)
|
|
warn_threshold: 10.0
|
|
|
|
# Error threshold - fail/skip if quality will drop by this many points
|
|
# Example: Source quality 85 → Target quality 60 = 25 point drop (error)
|
|
error_threshold: 20.0
|
|
|
|
# Automatically skip files where encoding would degrade quality
|
|
# Set to false to warn but continue encoding anyway
|
|
skip_on_degradation: false
|
|
|
|
# Prompt user for confirmation when warnings detected (CLI only)
|
|
prompt_on_warning: true
|
|
|
|
# =============================================================================
|
|
# ADVANCED OPTIONS
|
|
# =============================================================================
|
|
|
|
advanced:
|
|
# Hardware detection
|
|
auto_detect_encoder: true
|
|
fallback_to_cpu: true
|
|
|
|
# Resolution-based rules
|
|
resolution_rules:
|
|
enabled: false
|
|
rules:
|
|
- max_width: 1920
|
|
profile: fast_qsv
|
|
- max_width: 3840
|
|
profile: balanced_qsv
|
|
- max_width: 7680
|
|
profile: quality_qsv
|
|
|
|
# HDR handling
|
|
hdr:
|
|
detect_hdr: true
|
|
preserve_metadata: true
|
|
tone_mapping: false # Set to true to convert HDR to SDR
|
|
|
|
# Audio options
|
|
audio:
|
|
default_codec: copy
|
|
max_channels: 8
|
|
normalize: false
|
|
|
|
# =============================================================================
|
|
# INTEL-SPECIFIC NOTES
|
|
# =============================================================================
|
|
#
|
|
# Intel Arc A-Series GPU Capabilities:
|
|
# - Hardware H.264, H.265 (HEVC), and AV1 encode/decode
|
|
# - Up to 8K encoding support
|
|
# - Multiple concurrent encode sessions (2-4 depending on model)
|
|
# - HDR10, HDR10+, and Dolby Vision support
|
|
# - Excellent quality-to-speed ratio
|
|
#
|
|
# Recommended Profiles by Use Case:
|
|
# - General purpose: balanced_qsv (H.265)
|
|
# - Maximum compatibility: fast_qsv (H.264)
|
|
# - Best compression: av1_qsv (AV1, Arc A-Series only)
|
|
# - Archive quality: quality_qsv or av1_quality
|
|
#
|
|
# Performance Expectations (1080p content):
|
|
# - H.264: 150-300 fps
|
|
# - H.265: 100-200 fps
|
|
# - AV1: 80-150 fps
|
|
#
|
|
# Note: Actual performance varies by Arc model:
|
|
# - A770 (16GB/8GB): Best performance
|
|
# - A750: Excellent performance
|
|
# - A380: Good performance
|
|
# - A310: Budget-friendly, still much faster than CPU
|
|
# =============================================================================
|