From ddb7e1887fa412cc651fa4964c873a270a546d3b Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Mon, 22 May 2023 21:26:48 -0500 Subject: [PATCH] fix nvidia h264 decoder (#1281) --- CHANGELOG.md | 4 +++- ErsatzTV.FFmpeg/Capabilities/NvidiaHardwareCapabilities.cs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42b78f90d..0c260c7df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] ### Added - Synchronize actor metadata from Jellyfin and Emby television libraries - - New libraries will get actor data automatically; existing libraries can deep scan to retrieve actor data + - New libraries and new episodes will get actor data automatically + - Existing libraries can deep scan (one time) to retrieve actor data for existing episodes ### Fixed - Fix extracting embedded text subtitles that had been incompletely extracted in the past @@ -16,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Fix playout building when shuffle in order is used with a single media item - Fix pgs subtitle burn in from media server libraries - Fix subtitle and watermark overlays with RadeonSI VAAPI driver +- Fix NVIDIA pipeline to use hardware-accelerated decoder with 8-bit h264 content ### Changed - Timeout playout builds after 2 minutes; this should prevent playout bugs from blocking other functionality diff --git a/ErsatzTV.FFmpeg/Capabilities/NvidiaHardwareCapabilities.cs b/ErsatzTV.FFmpeg/Capabilities/NvidiaHardwareCapabilities.cs index b0c48aca4..ee77cf353 100644 --- a/ErsatzTV.FFmpeg/Capabilities/NvidiaHardwareCapabilities.cs +++ b/ErsatzTV.FFmpeg/Capabilities/NvidiaHardwareCapabilities.cs @@ -45,7 +45,7 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities VideoFormat.Vp9 => _architecture == 52 && _maxwellGm206.Contains(_model) || _architecture >= 60, // no hardware decoding of 10-bit h264 - VideoFormat.H264 when bitDepth == 10 => false, + VideoFormat.H264 => bitDepth < 10, VideoFormat.Mpeg2Video => true,