Browse Source

enable qsv accel for vaapi docker images (#817)

pull/818/head
Jason Dove 4 years ago committed by GitHub
parent
commit
1576dd026e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 3
      ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs
  3. 1
      docker/vaapi/ffmpeg.Dockerfile

3
CHANGELOG.md

@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Additional fix for duplicate `Other Videos` entries; trash may need to be emptied one last time after upgrading
### Added
- Enable QSV hardware acceleration for vaapi docker images
## [0.5.8-beta] - 2022-05-20
### Fixed
- Fix error display with `HLS Segmenter` and `MPEG-TS` streaming modes

3
ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs

@ -9,6 +9,7 @@ namespace ErsatzTV.Infrastructure.Health.Checks; @@ -9,6 +9,7 @@ namespace ErsatzTV.Infrastructure.Health.Checks;
public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthCheck
{
private const string BundledVersion = "N-106635-g83e1a1de88";
private const string BundledVersionVaapi = "N-106957-g27cffd16aa";
private readonly IConfigElementRepository _configElementRepository;
public FFmpegVersionHealthCheck(IConfigElementRepository configElementRepository) =>
@ -74,7 +75,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe @@ -74,7 +75,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe
return FailResult($"{app} version {version} is too old; please install 5.0!");
}
if (!version.StartsWith("5.0") && version != BundledVersion)
if (!version.StartsWith("5.0") && version != BundledVersion && version != BundledVersionVaapi)
{
return WarningResult(
$"{app} version {version} is unexpected and may have problems; please install 5.0!");

1
docker/vaapi/ffmpeg.Dockerfile

@ -10,6 +10,7 @@ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu @@ -10,6 +10,7 @@ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu
autoconf \
libtool \
libdrm-dev \
libmfx-dev \
git \
pkg-config \
build-essential \

Loading…
Cancel
Save