From c23419c5e97c789f2325278327f34086d66f275f Mon Sep 17 00:00:00 2001 From: edk4971 <63310777+edk4971@users.noreply.github.com> Date: Sat, 5 Sep 2020 06:40:39 -0400 Subject: [PATCH] Update Dockerfile Add ffmpeg hwaccel support for Comet Lake and above using vaapi. New driver (intel-media-va-driver-non-free) only seems to exist in focal and above (see: https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=intel-media&searchon=names) --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b06a29085..c277bb224 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:18.04 +FROM ubuntu:focal LABEL maintainer "blakeb@blakeshome.com" ENV DEBIAN_FRONTEND=noninteractive @@ -17,6 +17,7 @@ RUN apt -qq update && apt -qq install --no-install-recommends -y \ ffmpeg \ # VAAPI drivers for Intel hardware accel libva-drm2 libva2 i965-va-driver vainfo \ + intel-media-va-driver-non-free \ && python3.7 -m pip install -U wheel setuptools \ && python3.7 -m pip install -U \ opencv-python-headless \