diff --git a/Makefile b/Makefile index ec608f33c..b617b5b7c 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,10 @@ amd64_wheels: docker build --tag blakeblackshear/frigate-wheels:amd64 --file docker/Dockerfile.wheels . amd64_ffmpeg: - docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-amd64 --file docker/Dockerfile.ffmpeg.amd64 . + docker build --tag blakeblackshear/frigate-ffmpeg:1.1.0-amd64 --file docker/Dockerfile.ffmpeg.amd64 . amd64_frigate: version - docker build --tag frigate-base --build-arg ARCH=amd64 --file docker/Dockerfile.base . + docker build --tag frigate-base --build-arg ARCH=amd64 --build-arg FFMPEG_VERSION=1.1.0 --file docker/Dockerfile.base . docker build --tag frigate --file docker/Dockerfile.amd64 . amd64_all: amd64_wheels amd64_ffmpeg amd64_frigate @@ -24,7 +24,7 @@ amd64nvidia_ffmpeg: docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-amd64nvidia --file docker/Dockerfile.ffmpeg.amd64nvidia . amd64nvidia_frigate: version - docker build --tag frigate-base --build-arg ARCH=amd64nvidia --file docker/Dockerfile.base . + docker build --tag frigate-base --build-arg ARCH=amd64nvidia --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base . docker build --tag frigate --file docker/Dockerfile.amd64nvidia . amd64nvidia_all: amd64nvidia_wheels amd64nvidia_ffmpeg amd64nvidia_frigate @@ -36,7 +36,7 @@ aarch64_ffmpeg: docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-aarch64 --file docker/Dockerfile.ffmpeg.aarch64 . aarch64_frigate: version - docker build --tag frigate-base --build-arg ARCH=aarch64 --file docker/Dockerfile.base . + docker build --tag frigate-base --build-arg ARCH=aarch64 --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base . docker build --tag frigate --file docker/Dockerfile.aarch64 . armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate @@ -48,7 +48,7 @@ armv7_ffmpeg: docker build --tag blakeblackshear/frigate-ffmpeg:1.0.0-armv7 --file docker/Dockerfile.ffmpeg.armv7 . armv7_frigate: version - docker build --tag frigate-base --build-arg ARCH=armv7 --file docker/Dockerfile.base . + docker build --tag frigate-base --build-arg ARCH=armv7 --build-arg FFMPEG_VERSION=1.0.0 --file docker/Dockerfile.base . docker build --tag frigate --file docker/Dockerfile.armv7 . armv7_all: armv7_wheels armv7_ffmpeg armv7_frigate diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index 1b7730fa9..56f9839e8 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -9,7 +9,7 @@ RUN apt-get -qq update \ # ffmpeg dependencies libgomp1 \ # VAAPI drivers for Intel hardware accel - libva-drm2 libva2 i965-va-driver vainfo intel-media-va-driver mesa-va-drivers \ + libva-drm2 libva2 libmfx1 i965-va-driver vainfo intel-media-va-driver mesa-va-drivers \ ## Tensorflow lite && wget -q https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \ && python3.8 -m pip install tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \ diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 820a68b3a..9838315f2 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -1,6 +1,7 @@ ARG ARCH=amd64 +ARG FFMPEG_VERSION FROM blakeblackshear/frigate-wheels:${ARCH} as wheels -FROM blakeblackshear/frigate-ffmpeg:1.0.0-${ARCH} as ffmpeg +FROM blakeblackshear/frigate-ffmpeg:${FFMPEG_VERSION}-${ARCH} as ffmpeg FROM ubuntu:20.04 LABEL maintainer "blakeb@blakeshome.com" diff --git a/docker/Dockerfile.ffmpeg.amd64 b/docker/Dockerfile.ffmpeg.amd64 index c45b53b78..21e0e6b9f 100644 --- a/docker/Dockerfile.ffmpeg.amd64 +++ b/docker/Dockerfile.ffmpeg.amd64 @@ -79,6 +79,7 @@ RUN buildDeps="autoconf \ libssl-dev \ yasm \ libva-dev \ + libmfx-dev \ zlib1g-dev" && \ apt-get -yqq update && \ apt-get install -yq --no-install-recommends ${buildDeps} @@ -404,6 +405,7 @@ RUN \ --enable-gpl \ --enable-libfreetype \ --enable-libvidstab \ + --enable-libmfx \ --enable-libmp3lame \ --enable-libopus \ --enable-libtheora \