Skip to content

Encoding

TheMRX13 edited this page Jul 3, 2026 · 1 revision

Encoding

🌐 English · Deutsch

The Encoding page (/encoding, admin only) controls whether downloads are re-encoded when saved. The default is copy — the stream is taken over 1:1 without quality loss or CPU load (recommended).

Screenshot: encoding page

Modes

Mode Description
copy Keep video untouched (default); optionally convert audio to AAC/AC3
h264 Re-encode to H.264
h265 Re-encode to H.265/HEVC (smaller files, more compute)
expert Custom FFmpeg flags for video and audio (e.g. -c:v libx265 -preset slow -crf 18)

Hardware acceleration

For h264/h265 you can choose per mode:

Option Encoder
cpu libx264 / libx265
nvenc h264_nvenc / hevc_nvenc (NVIDIA)
vaapi h264_vaapi / hevc_vaapi (Intel/AMD, Linux)
videotoolbox h264_videotoolbox / hevc_videotoolbox (macOS)

The Detect hardware button tests the FFmpeg encoders available on your system. Quality is controlled via CRF (default: 23 for H.264, 28 for H.265) plus preset (ultrafastveryslow); for NVENC, CRF maps to the cq mode, for VAAPI to global_quality.

Audio

Selectable per mode: copy (default), aac or ac3.

Scope

  • These settings affect the download (FFmpeg muxing).
  • The in-browser player (Library) has its own automatic encoder selection for live HLS transcoding.
  • Upscaling has its own output codec settings (Anime4K Upscaling).

Clone this wiki locally