aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs
diff options
context:
space:
mode:
authorEvan <evan@MacBook-Pro.local>2025-08-15 07:16:41 +0800
committerEvan <evan@MacBook-Pro.local>2025-08-15 07:18:44 +0800
commit29e17b6bc0c002d0de5469d1f795ccacf4a41b56 (patch)
treec0d9cc5a89a8c2e41aea249dbe1ef626495d9960 /src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs
parent50180adc5324027765ff433961852a5a5ae9786b (diff)
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
Diffstat (limited to 'src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs')
-rw-r--r--src/Jellyfin.MediaEncoding.Keyframes/FfProbe/FfProbeKeyframeExtractor.cs1
1 files changed, 1 insertions, 0 deletions
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);
}