I'm using a GPU with self compiled ffmpeg and DecoderHWAccelName set to 'cuda' and DecoderHWAccelDevice set to 'cuvid'.
My zmc logs are full of:
and, unsurprisingly, the cameras are not capturing. I changed nothing else apart from the apt update.02/24/20 14:10:31.269482 zmc_m1[23525].ERR-zm_ffmpeg_camera.cpp/57 [Failed to get HW surface format for cuda.]
02/24/20 14:10:31.270446 zmc_m1[23525].ERR-zm_ffmpeg_camera.cpp/60 [Available HW surface format was vaapi_vld.]
02/24/20 14:10:31.271070 zmc_m1[23525].ERR-zm_ffmpeg_camera.cpp/60 [Available HW surface format was yuvj420p.]
02/24/20 14:10:31.271646 zmc_m1[23525].ERR-zm_ffmpeg.cpp/548 [Unable to send packet Invalid data found when processing input, continuing]
02/24/20 14:10:31.272176 zmc_m1[23525].WAR-zm_ffmpeg_camera.cpp/982 [Unable to receive frame 0: code -1094995529 Invalid data found when processing input. error count is 0]
As a temporary workaround I've put the 1.32.2 version of zmc in /usr/bin/ and everything's back to working with the GPU.
If it's any help, version 1.34.2 zmc loads (ldd zmc) against:
Code: Select all
libavcodec.so.57 => /usr/lib/x86_64-linux-gnu/libavcodec.so.57
libavcodec.so.58 => /usr/lib/x86_64-linux-gnu/libavcodec.so.58
Code: Select all
libavcodec.so.57 => /usr/lib/x86_64-linux-gnu/libavcodec.so.57