From 29e17b6bc0c002d0de5469d1f795ccacf4a41b56 Mon Sep 17 00:00:00 2001 From: Evan Date: Fri, 15 Aug 2025 07:16:41 +0800 Subject: Run background ffmpeg tasks as ProcessPriorityClass.BelowNormal Follow TrickPlay example of running other background ffmpeg tasks as ProcessPriorityClass.BelowNormal: - Keyframe extraction - Media info probing during library scans - Audio normalization - Image extraction --- src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs') diff --git a/src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs b/src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs index 570c0b9d0..a0dafb8f1 100644 --- a/src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs +++ b/src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs @@ -42,6 +42,7 @@ public static class FfProbeKeyframeExtractor try { process.Start(); + process.PriorityClass = ProcessPriorityClass.BelowNormal; return ParseStream(process.StandardOutput); } -- cgit v1.2.3