diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 5b6104336..8c0015cf9 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -204,7 +204,7 @@ jobs: id: downloadffmpeg name: Download ffmpeg with: - url: "https://github.com/GyanD/codexffmpeg/releases/download/2023-10-16-git-5ddab49d48/ffmpeg-2023-10-16-git-5ddab49d48-full_build.7z" + url: "https://github.com/GyanD/codexffmpeg/releases/download/6.1/ffmpeg-6.1-full_build.7z" target: ffmpeg/ - name: Build diff --git a/ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs b/ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs index fd11ac947..70f2eecaa 100644 --- a/ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs +++ b/ErsatzTV.Infrastructure/Health/Checks/FFmpegVersionHealthCheck.cs @@ -8,9 +8,9 @@ namespace ErsatzTV.Infrastructure.Health.Checks; public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthCheck { - private const string BundledVersion = "N-112071-g00a837c70c"; - private const string BundledVersionVaapi = "N-112071-g00a837c70c"; - private const string WindowsVersionPrefix = "2023-10-04-git-9078dc0c52"; + private const string BundledVersion = "6.1"; + private const string BundledVersionVaapi = "6.1"; + private const string WindowsVersionPrefix = "6.1"; private readonly IConfigElementRepository _configElementRepository; public FFmpegVersionHealthCheck(IConfigElementRepository configElementRepository) => @@ -77,7 +77,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe version.StartsWith("4.", StringComparison.OrdinalIgnoreCase) || version.StartsWith("5.", StringComparison.OrdinalIgnoreCase)) { - return FailResult($"{app} version {version} is too old; please install 6.1 (snapshot)!"); + return FailResult($"{app} version {version} is too old; please install 6.1!"); } if (!version.StartsWith("6.1", StringComparison.OrdinalIgnoreCase) && @@ -86,7 +86,7 @@ public class FFmpegVersionHealthCheck : BaseHealthCheck, IFFmpegVersionHealthChe version != BundledVersionVaapi) { return WarningResult( - $"{app} version {version} is unexpected and may have problems; please install 6.1 (snapshot)!"); + $"{app} version {version} is unexpected and may have problems; please install 6.1!"); } return None; diff --git a/docker/Dockerfile b/docker/Dockerfile index f9fdbd006..cbe594363 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -40,9 +40,8 @@ RUN sed -i '/Scanner/d' ErsatzTV.csproj RUN dotnet publish ErsatzTV.csproj -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} # final stage/image -FROM jasongdove/ersatztv-ffmpeg:6.0 AS runtime-base +FROM jasongdove/ersatztv-ffmpeg:6.1 AS runtime-base ENV FONTCONFIG_PATH=/etc/fonts -RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean RUN fc-cache update WORKDIR /app EXPOSE 8409 diff --git a/docker/arm32v7/Dockerfile b/docker/arm32v7/Dockerfile index fb3d8bc0f..6bfb9d9fa 100644 --- a/docker/arm32v7/Dockerfile +++ b/docker/arm32v7/Dockerfile @@ -1,13 +1,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0-jammy-arm32v7 AS dotnet-runtime -FROM jasongdove/ersatztv-ffmpeg:6.0-arm AS runtime-base +FROM jasongdove/ersatztv-ffmpeg:6.1-arm AS runtime-base COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet -RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev \ - tzdata \ - fontconfig \ - fonts-dejavu \ - fonts-noto-cjk \ - libgdiplus # https://hub.docker.com/_/microsoft-dotnet FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy-amd64 AS build diff --git a/docker/arm64/Dockerfile b/docker/arm64/Dockerfile index 872832ea9..9f1151894 100644 --- a/docker/arm64/Dockerfile +++ b/docker/arm64/Dockerfile @@ -1,13 +1,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:7.0-jammy-arm64v8 AS dotnet-runtime -FROM jasongdove/ersatztv-ffmpeg:6.0-arm64 AS runtime-base +FROM jasongdove/ersatztv-ffmpeg:6.1-arm64 AS runtime-base COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet -RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev \ - tzdata \ - fontconfig \ - fonts-dejavu \ - fonts-noto-cjk \ - libgdiplus # https://hub.docker.com/_/microsoft-dotnet FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy-amd64 AS build diff --git a/docker/nvidia/Dockerfile b/docker/nvidia/Dockerfile index 68a09572d..e1b8b912f 100644 --- a/docker/nvidia/Dockerfile +++ b/docker/nvidia/Dockerfile @@ -40,9 +40,8 @@ RUN sed -i '/Scanner/d' ErsatzTV.csproj RUN dotnet publish ErsatzTV.csproj --framework net7.0 -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} # final stage/image -FROM jasongdove/ersatztv-ffmpeg:6.0-nvidia AS runtime-base +FROM jasongdove/ersatztv-ffmpeg:6.1-nvidia AS runtime-base ENV FONTCONFIG_PATH=/etc/fonts -RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean RUN fc-cache update WORKDIR /app EXPOSE 8409 diff --git a/docker/vaapi/Dockerfile b/docker/vaapi/Dockerfile index a5fe008d5..318fcc2d9 100644 --- a/docker/vaapi/Dockerfile +++ b/docker/vaapi/Dockerfile @@ -40,9 +40,8 @@ RUN sed -i '/Scanner/d' ErsatzTV.csproj RUN dotnet publish ErsatzTV.csproj -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} # final stage/image -FROM jasongdove/ersatztv-ffmpeg:6.0-vaapi AS runtime-base +FROM jasongdove/ersatztv-ffmpeg:6.1-vaapi AS runtime-base ENV FONTCONFIG_PATH=/etc/fonts -RUN apt-get update && apt-get install -y fonts-noto-cjk && apt-get clean RUN fc-cache update WORKDIR /app EXPOSE 8409