Setup:
Code: Select all
OS: Arch Linux x86_64
Kernel: 5.11.10-arch1-1
ZoneMinder v1.34.23.
I updated my system and ZMC appears to break (maybe only ffmpeg-passthrough)?
Code: Select all
sudo zmc -m 2
zmc: error while loading shared libraries: libx264.so.160: cannot open shared object file: No such file or directory
After troubleshooting, I have narrowed it down to these packages (which change the library version of x264 / x265 or have downstream issues with PHP GD
Code: Select all
Name | Version | Notes
------------------------------------------------------------------------------------------------------
ffmpeg | 2:4.3.2-5 | has dependencies on newer x264 / x265
libheif | 1.11.0-2 | this version made php GD look for libx265.so.199 (aka 3.5.1)
x264 | 3:0.161.r3039.544c61f-1 | Source of the problem?
x265 | 3.5-1 | Source of the problem?
dav1d | 0.8.2-1 | Source of the problem?
I have rolled back to the following versions fixing the issues:
Code: Select all
Name | Version
-------------------------
ffmpeg | 2:4.3.2-2
libheif | 1.11.0-1
x264 | 3:0.160.r3011.cde9a93-1
x265 | 3.4-1
dav1d | 0.8.1-2
Not being familiar with the ZM code, it appears that it is referencing a specific library version of x264 / x265. Is that in-fact the case? Is it a requirement and if so, what needs to be done to support newer libraries?
Thanks,
Brian