Browse Source

fix vaapi transcoding with a53 cc data (#1625)

pull/1631/head
Jason Dove 2 years ago committed by GitHub
parent
commit
ef29e8c5a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 3
      ErsatzTV.FFmpeg/Encoder/Vaapi/EncoderH264Vaapi.cs
  3. 3
      ErsatzTV.FFmpeg/Encoder/Vaapi/EncoderHevcVaapi.cs

1
CHANGELOG.md

@ -44,6 +44,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -44,6 +44,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- This should make *some* clients happier
- Fix `Other Video`, `Song` and `Image` fallback metadata tags to always include parent folder (folder added to library)
- Allow playback of items with any positive duration, including less than one second
- Fix VAAPI transcoding of OTA content containing A53 CC data
### Changed
- Log search index updates under scanner category at debug level, to indicate a potential cause for the UI being out of date

3
ErsatzTV.FFmpeg/Encoder/Vaapi/EncoderH264Vaapi.cs

@ -23,6 +23,9 @@ public class EncoderH264Vaapi : EncoderBase @@ -23,6 +23,9 @@ public class EncoderH264Vaapi : EncoderBase
result.Add("-rc_mode");
result.Add("1");
}
result.Add("-sei");
result.Add("-a53_cc");
return result.ToArray();
}

3
ErsatzTV.FFmpeg/Encoder/Vaapi/EncoderHevcVaapi.cs

@ -23,6 +23,9 @@ public class EncoderHevcVaapi : EncoderBase @@ -23,6 +23,9 @@ public class EncoderHevcVaapi : EncoderBase
result.Add("-rc_mode");
result.Add("1");
}
result.Add("-sei");
result.Add("-a53_cc");
return result.ToArray();
}

Loading…
Cancel
Save