I use ffmpeg regularly on my RPi 4. I’ve written several articles. For no apparent reason, today ffprobe, which I use to get the length or a recording, stopped working for no apparent reason. The error was something like
libavddvice.so.58 not found
I hadn’t done any upgrades or anything at all, I think.
$ sudo apt-get install libavdevice-dev
Even though it looked like it was already present as shown by a dpkg -l, running this command installed a bunch of related libraries and seemed to fix things up just fine.
ffmpeg version 4.3.4-0
Raspbian 11 bullseye