1
0

ffmpeg needs root in order to access the media HW

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2019-11-21 21:43:52 -08:00
parent 462689c587
commit 95fc786a5f
2 changed files with 10 additions and 2 deletions

View File

@ -235,7 +235,11 @@ RUN apt-get clean \
ENV LIBVA_DRIVER_NAME=iHD ENV LIBVA_DRIVER_NAME=iHD
USER user # In order for ffmpeg to access the video input, 'user' needs to have
# access to the hardware. Not sure how to do that across different
# OS releases, so setting user to 'root' for now.
USER root
WORKDIR /home/user WORKDIR /home/user

View File

@ -69,6 +69,10 @@ RUN apt-get clean \
ENV LIBVA_DRIVER_NAME=iHD ENV LIBVA_DRIVER_NAME=iHD
USER user # In order for ffmpeg to access the video input, 'user' needs to have
# access to the hardware. Not sure how to do that across different
# OS releases, so setting user to 'root' for now.
USER root
WORKDIR /home/user WORKDIR /home/user