Browse Source

fix nvidia 10 bit text subtitles and permanent watermark (#2549)

* fix nvidia 10 bit text subtitles and watermark

* update changelog
pull/2550/head
Jason Dove 10 months ago committed by GitHub
parent
commit
64ea413b6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 4
      ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

1
CHANGELOG.md

@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix QSV audio sync - Fix QSV audio sync
- Fix QSV capability detection on Linux using non-drm displays (e.g. wayland) - Fix QSV capability detection on Linux using non-drm displays (e.g. wayland)
- Fix playlist filtering bug that made HLS Segmenter more likely to fail when streaming for multiple hours - Fix playlist filtering bug that made HLS Segmenter more likely to fail when streaming for multiple hours
- Fix NVIDIA overlaying text subtitles and permanent watermark on 10-bit content
### Changed ### Changed
- Do not use graphics engine for single, permanent watermark - Do not use graphics engine for single, permanent watermark

4
ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

@ -281,8 +281,8 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder
fontsFolder, fontsFolder,
subtitleOverlayFilterSteps); subtitleOverlayFilterSteps);
// need to use software overlay with 10 bit primary content and graphics engine // need to use software overlay with 10 bit primary content and graphics engine (or watermark)
if (currentState.FrameDataLocation is FrameDataLocation.Hardware && context.HasGraphicsEngine && if (currentState.FrameDataLocation is FrameDataLocation.Hardware && (context.HasGraphicsEngine || context.HasWatermark) &&
currentState.BitDepth == 10) currentState.BitDepth == 10)
{ {
var hardwareDownload = new CudaHardwareDownloadFilter(currentState.PixelFormat, None); var hardwareDownload = new CudaHardwareDownloadFilter(currentState.PixelFormat, None);

Loading…
Cancel
Save