I can not get hardware encoding working on Ubuntu with Docker. I did get hardware encoding working when installing ChannelsDvr directly from shell script as a local application. But I need TVE and thus need the container version.
I have tried to install the TVE Docker on Ubuntu using the ---device /dev/dri:/dev/dri, but I get the error message docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory
Per some other support threads, I have tried changing permission to the dev/dri folder to 777. I have also tried adding the dev/dri folder as a file sharing resource in Docker Desktop.
The TVE Docker starts fine without the --device parameter, but then I only have software encoding.
The whole point of moving to a new, upgraded Intel-based chipset (previously on AMD), was to make use of the hardware encoding and smaller recording sizes by using the H265 codec.
Here is the non-working Docker cli command I am using:
docker run \
--detach \
--name=channels-dvr \
--restart=on-failure:10 \
--device /dev/dri:/dev/dri \
-p=8089:8089 \
--volume /home/user1/channels-dvr:/channels-dvr \
--volume /media/user1/dvr_data:/shares/DVR \
fancybits/channels-dvr:tve
Thanks for any suggestions.