From 41adf0d9f9e50e8f8f16b9b6091e90a8481e6aee Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 20 Apr 2026 12:14:46 +0100 Subject: [PATCH] Revert transcode-hevc thread cap; let ffmpeg use all cores Thread cap didn't move the thermals, so the real culprit is likely dried-out thermal paste rather than concurrency. Reverting to the unbounded default while the compound gets redone; running one stream at a time is enough of a workaround in the meantime. Co-Authored-By: Claude Opus 4.7 --- scripts/transcode-hevc.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/transcode-hevc.sh b/scripts/transcode-hevc.sh index 0211278..5aa53de 100644 --- a/scripts/transcode-hevc.sh +++ b/scripts/transcode-hevc.sh @@ -20,7 +20,6 @@ DONE_LOG="/var/lib/transcode-hevc/completed.log" LOG_FILE="/var/log/transcode-hevc.log" CRF="${TRANSCODE_CRF:-24}" PRESET="${TRANSCODE_PRESET:-medium}" -THREADS="${TRANSCODE_THREADS:-8}" DRY_RUN="${DRY_RUN:-0}" QB_URL="${QB_URL:-http://localhost:8080}" @@ -244,11 +243,9 @@ while IFS= read -r -d '' file; do rm -f "$tmp_file" if "$FFMPEG" -nostdin -y \ - -threads "$THREADS" \ -i "$file" \ -map 0:v:0 -map 0:a -map 0:s? \ -c:v libx265 -crf "$CRF" -preset "$PRESET" \ - -x265-params "pools=$THREADS" \ -c:a copy \ -c:s copy \ "$tmp_file" \