Sweep/vgdeband: cap x264 at ENCODE_THREADS (2) so conversions stop starving Jellyfin and the live portal

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 19:30:29 -06:00
parent f32730ba94
commit 88bfda4c9d
4 changed files with 9 additions and 4 deletions

View File

@@ -8,4 +8,5 @@ Type=oneshot
ExecStart=/usr/local/bin/normalize-sweep.sh
Nice=15
IOSchedulingClass=idle
Environment=ENCODE_THREADS=2 # x264 threads per conversion; keeps Jellyfin and the live portal responsive (default 2)
# Environment=FILL_GAPS_MS=1000 # opt-in: CFR re-encode streams whose dropped-frame holes total >= 1 s (hours of CPU on this box)