2019-09-29, 04:30 PM
I can't get the ffmpeg in the Docker container to use HW acceleration, it doesn't look like everything is available that is required.
I have been using the following Docker container to do accelerated transcodes for other things, but obviously I can't call it from another container.
https://hub.docker.com/r/jrottenberg/ffmpeg/ the 4.1-vaapi variant.
Since it is also based on Ubuntu, it seems like using in your Dockerfile and adding to the recommended container creation options might be all that is required. I don't know how you are building it obviously, if you are basing it on a .NET Core image...
I'm willing to test (or build; I guess I could try the Linux install instructions) an image to get it working.
It may also give you the ability to leverage it for the web UI streaming.
I have been using the following Docker container to do accelerated transcodes for other things, but obviously I can't call it from another container.
https://hub.docker.com/r/jrottenberg/ffmpeg/ the 4.1-vaapi variant.
Since it is also based on Ubuntu, it seems like using
Code:
FROM jrottenberg/ffmpeg:4.1-vaapi as base
Code:
--device /dev/dri:/dev/dri
I'm willing to test (or build; I guess I could try the Linux install instructions) an image to get it working.
It may also give you the ability to leverage it for the web UI streaming.