From 8b0b927a5c4080a37302e6d3337962b054adb7d1 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Fri, 1 Sep 2023 11:50:56 -0500 Subject: [PATCH] use d3d11va for qsv accel on windows (#1408) --- CHANGELOG.md | 1 + .../HardwareAcceleration/QsvHardwareAccelerationOption.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf3621e0..bd1c12fca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Use different control for editing schedule item duration, and allow 24-hour duration - This is needed if you want a default/fallback alternate schedule to fill the entire day with one schedule item - The schedule item should have a fixed start time of midnight (00:00) and a duration of 24 hours +- Use Direct3D 11 for QSV acceleration on Windows ## [0.8.1-beta] - 2023-08-07 ### Added diff --git a/ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs b/ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs index 7bd06ebb3..b03ba4e6c 100644 --- a/ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs +++ b/ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs @@ -20,7 +20,7 @@ public class QsvHardwareAccelerationOption : GlobalOption get { string[] initDevices = OperatingSystem.IsWindows() - ? new[] { "-init_hw_device", "qsv=hw:hw,child_device_type=dxva2", "-filter_hw_device", "hw" } + ? new[] { "-init_hw_device", "d3d11va=hw:,vendor=0x8086", "-filter_hw_device", "hw" } : new[] { "-init_hw_device", "qsv=hw", "-filter_hw_device", "hw" }; var result = new List