I was running v1.36.33 and it works there without issue but attempting the same settings on a different PC yield different results.
I compiled ffmpeg from source - the same instructions as I followed on the earlier version, but I am not seeing any HW acceleration.
v1.37.37 was installed from the repo as per the instructions at https://zoneminder.readthedocs.io/en/st ... buntu.html
I can actually remove the PATH_FFMPEG option or set it to nothing and I see no errors in my system - the camera still keep on going. I can even delete the ffmpeg executable from /usr/bin and still see no errors - even if I apply the same settings from the old server - makes me wonder where ffmpeg is coming from. I do have a conda environment with ffmpeg installed in it - if I activate the environment in a terminal, I can call ffmpeg.
As I look at what I've written, I am aware of how silly it probably looks - removing things to prove a point one way or another, but I'm trying to get to the bottom of why the PATH-FFMPEG setting seems to not do anything no matter how I set it.
Has anyone successfully run ffmpeg with cuda on this development version as yet?
ffmpeg is configured for cuda on my system and the source type is set to ffmpeg.
Code: Select all
ffmpeg -hwaccels
ffmpeg version N-110046-g3ead1fe413 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
libavutil 58. 4.100 / 58. 4.100
libavcodec 60. 6.101 / 60. 6.101
libavformat 60. 4.100 / 60. 4.100
libavdevice 60. 2.100 / 60. 2.100
libavfilter 9. 4.100 / 9. 4.100
libswscale 7. 2.100 / 7. 2.100
libswresample 4. 11.100 / 4. 11.100
Hardware acceleration methods:
vdpau
cuda