@ -74,7 +74,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@@ -74,7 +74,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix extracted text subtitles getting into invalid state after media server deep scans
- Targeted deep scans will now extract text subtitles for the scanned show
- Fix playlist preview
- Use NvEnc API to detect encoder capability instead of heuristic based on GPU model/architecture
- Use NVIDIA NvEnc API to detect encoder capability instead of heuristic based on GPU model/architecture
- Use NVIDIA Cuvid API to detect decoder capability instead of heuristic based on GPU model/architecture
### Changed
- Filler presets: use separate text fields for `hours`, `minutes` and `seconds` duration
@ -34,53 +17,54 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
@@ -34,53 +17,54 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
Option<IPixelFormat>maybePixelFormat,
boolisHdr)
{
// we use vulkan for hdr, so only support h264, hevc and av1 when isHdr == true
@ -95,19 +79,19 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
@@ -95,19 +79,19 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
_logger.LogWarning("NvEnc {Format} is not supported; will use software encode",videoFormat);
logger.LogWarning("NVIDIA encode {Format} is not supported; will use software encode",videoFormat);
returnFFmpegCapability.Software;
}
@ -126,8 +110,8 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
@@ -126,8 +110,8 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
if(!codec.ProfileGuids.Contains(profileGuid))
{
_logger.LogWarning(
"NvEnc {Format} / {Profile} is not supported; will use software encode",
logger.LogWarning(
"NVIDIA encode {Format} / {Profile} is not supported; will use software encode",
videoFormat,
videoProfile);
returnFFmpegCapability.Software;
@ -135,8 +119,8 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
@@ -135,8 +119,8 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
if(!codec.BitDepths.Contains(bitDepth))
{
_logger.LogWarning(
"NvEnc {Format} / {Profile} / {BitDepth}-bit is not supported; will use software encode",
logger.LogWarning(
"NVIDIA encode {Format} / {Profile} / {BitDepth}-bit is not supported; will use software encode",
videoFormat,
videoProfile,
bitDepth);
@ -156,7 +140,7 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
@@ -156,7 +140,7 @@ public class NvidiaHardwareCapabilities : IHardwareCapabilities
returnFFmpegCapability.Hardware;
}
_logger.LogWarning("FFmpeg does not contain codec {Codec}; will fall back to software codec",codec.Name);
logger.LogWarning("FFmpeg does not contain codec {Codec}; will fall back to software codec",codec.Name);
@ -307,7 +307,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder
@@ -307,7 +307,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder