mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-11 07:45:41 +03:00
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)
This commit is contained in:
parent
a8556a729b
commit
c23419c5e9
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user