Resolve libx265 not found errors by locating FFmpeg binaries with statically linked HEVC support.
Resolve FFmpeg stalls caused by invalid -map_metadata indices and accelerate libx265 encoding by adjusting presets.