Browse Source

fix green output with libplacebo and nvidia 10 bit (#2422)

pull/2423/head
Jason Dove 4 months ago committed by GitHub
parent
commit
03b9db7835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGELOG.md
  2. 2
      ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

3
CHANGELOG.md

@ -17,6 +17,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -17,6 +17,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Items will still be scheduled from the rerun collection if it is used before the first run collection
- Otherwise, the rerun collection would be considered "empty" which prevents the playout build altogether
### Fixed
- Fix green output when libplacebo tonemapping is used with NVIDIA acceleration
## [25.6.0] - 2025-09-14
### Added
- Classic schedules: allow selecting multiple graphics elements on schedule items

2
ErsatzTV.FFmpeg/Pipeline/NvidiaPipelineBuilder.cs

@ -787,7 +787,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder @@ -787,7 +787,7 @@ public class NvidiaPipelineBuilder : SoftwarePipelineBuilder
{
if (ffmpegState.IsHdrTonemap)
{
var filter = new TonemapCudaFilter(ffmpegState, pixelFormat);
var filter = new TonemapCudaFilter(ffmpegState, new PixelFormatNv12(FFmpegFormat.YUV420P));
currentState = filter.NextState(currentState);
videoStream.ResetColorParams(ColorParams.Default);
videoInputFile.FilterSteps.Add(filter);

Loading…
Cancel
Save