Browse Source

fix bt470bg color normalization using qsv (#1230)

pull/1231/head
Jason Dove 2 years ago committed by GitHub
parent
commit
cf3b8d90e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 4
      ErsatzTV.FFmpeg/Filter/ColorspaceFilter.cs

1
CHANGELOG.md

@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix bug where local libraries would merge with media server libraries when the same file was added to both libraries
- Fix transcoding some 10-bit content from media servers using VAAPI acceleration
- Fix decoding of MPEG-4 Part 2 (e.g. DivX) content using NVIDIA acceleration
- Fix color normalization from `bt470bg` to `bt709` using QSV acceleration
### Changed
- Use Poster artwork for XMLTV if available

4
ErsatzTV.FFmpeg/Filter/ColorspaceFilter.cs

@ -72,8 +72,8 @@ public class ColorspaceFilter : BaseFilter @@ -72,8 +72,8 @@ public class ColorspaceFilter : BaseFilter
{
return _desiredPixelFormat.BitDepth switch
{
10 => $"{hwdownload}colormatrix=dst=bt709,format=yuv420p10",
8 => $"{hwdownload}colormatrix=dst=bt709,format=yuv420p",
10 => $"{hwdownload}colormatrix=src=bt470bg:dst=bt709,format=yuv420p10",
8 => $"{hwdownload}colormatrix=src=bt470bg:dst=bt709,format=yuv420p",
_ => string.Empty
};
}

Loading…
Cancel
Save