Hello, is it possible to use HW encode/decode inside docker container with nvidia-docker2?
I use TX2 L4T R32.4.3. Jocover’s FFMPEG works fine in root system, but I cannot get it compile inside docker.
If I try to install to instal l4t-multimedia package inside docker I get:
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.4.4-20201016123640_arm64.deb (--unpack):
unable to make backup link of './usr/lib/aarch64-linux-gnu/tegra/libnvddk_vic.so' before installing new version:
Invalid cross-device link
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
That mean some files are already linked to container by nvidia-docker2 runtime.
If I copy source files from host:
docker cp /usr/src/jetson_multimedia_api Zoneminder:/usr/src/jetson_multimedia_api
I can pass trough first build but second end in configure with:
./configure --enable-nvmpi
ERROR: nvmpi not found using pkg-config
My docker Run command contain:
--runtime=nvidia \
-e NVIDIA_VISIBLE_DEVICES=all \
-e NVIDIA_DRIVER_CAPABILITIES=compute,utility,video