From 7d0a56ab9882ccf5a05ebc431f8f4653699e3642 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Sun, 29 May 2022 20:44:27 -0500 Subject: [PATCH] disable lower-power mode for qsv encoders (#826) --- CHANGELOG.md | 1 + ErsatzTV.FFmpeg/Encoder/Qsv/EncoderH264Qsv.cs | 1 + ErsatzTV.FFmpeg/Encoder/Qsv/EncoderHevcQsv.cs | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 871e0d9b8..7e6aaf92b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Use paging to synchronize movies from Plex, Jellyfin and Emby - This will reduce memory use and improve reliability of synchronizing large libraries +- Disable low power mode for `h264_qsv` and `hevc_qsv` encoders ## [0.5.8-beta] - 2022-05-20 ### Fixed diff --git a/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderH264Qsv.cs b/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderH264Qsv.cs index 9991f93e6..c047635e2 100644 --- a/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderH264Qsv.cs +++ b/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderH264Qsv.cs @@ -20,6 +20,7 @@ public class EncoderH264Qsv : EncoderBase public override string Name => "h264_qsv"; public override StreamKind Kind => StreamKind.Video; + public override IList OutputOptions => new[] { "-low_power", "0" }; // need to upload if we're still in software and a watermark is used public override string Filter diff --git a/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderHevcQsv.cs b/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderHevcQsv.cs index 290813f94..70a49e1cb 100644 --- a/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderHevcQsv.cs +++ b/ErsatzTV.FFmpeg/Encoder/Qsv/EncoderHevcQsv.cs @@ -20,6 +20,7 @@ public class EncoderHevcQsv : EncoderBase public override string Name => "hevc_qsv"; public override StreamKind Kind => StreamKind.Video; + public override IList OutputOptions => new[] { "-low_power", "0" }; // need to upload if we're still in software and a watermark is used public override string Filter