Page 1 of 1

FFMPEG_EXECUTABLE-NOTFOUND

Posted: Wed Aug 24, 2022 6:53 am
by zemerdon
So i just upgraded from 1.36.14 to 1.36.24 and when i go into the montage review it says no data in any history (but live view works). The logs shows the following...

Can't create frame images from video for this event 68443-video.mp4Command was: FFMPEG_EXECUTABLE-NOTFOUND -ss 680.93 -i /media/6tb/2/68443/68443-video.mp4 -frames:v 1 /media/6tb/2/68443/10250-capture.jpg 2>&1Output was: sh: 1: FFMPEG_EXECUTABLE-NOTFOUND: not found

i have checked in the ZM options and the ffmpeg path is correct and is true and i can verify ffmpeg works when i issue 'ffmpeg' from the shell.

Any help is appreciated or if anyone requires any information i am more than happy to provide it.

Running ZM on Debian 11.

Re: FFMPEG_EXECUTABLE-NOTFOUND

Posted: Wed Aug 24, 2022 10:17 am
by Magic919
Have you looked in 01-system-paths.conf?

Re: FFMPEG_EXECUTABLE-NOTFOUND

Posted: Wed Aug 24, 2022 11:36 am
by zemerdon
Thank you for the speedy reply.

I just ended up downgrading back to 1.36.14 and everything went back to normal.

I might create another VM to test new releases prior to upgrading the main one.

Re: FFMPEG_EXECUTABLE-NOTFOUND

Posted: Thu Aug 08, 2024 2:10 pm
by Aktarus
Hello,

I get same issue after a fresh installation. Debian 12 has been installed from scratch as well as ZM, following the installation guide (readthedocs). I have 10 monitors configured, Monitor and Record modes work as expected.

But I can't see any thumbnails on the recording events list. Error message is the same, i.e.
Can't create frame images from video for this event 482-video.mp4 Command was: FFMPEG_EXECUTABLE-NOTFOUND -ss 0.00 -i /mnt/enregistrements_zoneminder/zm/2/2024-08-08/482/482-video.mp4 -frames:v 1 /mnt/enregistrements_zoneminder/zm/2/2024-08-08/482/snapshot.jpg 2>&1 Output was: sh: 1: FFMPEG_EXECUTABLE-NOTFOUND: not found

Under Options->Image, setting FFMPEG_PATH is empty. Following warning message appears:
Note: This value has been overriden via configuration files in /etc/zm/zm.conf or /etc/zm/conf.d.
The overriden value is: FFMPEG_EXECUTABLE-NOTFOUND


When connected to the server through SSH, I could check that FFMPEG is available under /usr/bin/ffmpeg. I tried setting PATH_FFMPEG to /usr/bin, then to /usr/bin/ffmpeg. Still thumbnails are NOT created.

Re: FFMPEG_EXECUTABLE-NOTFOUND

Posted: Thu Aug 08, 2024 2:45 pm
by iconnor
Look in /etc/zm/conf.d/01-system-paths.conf or any other files in there. Something is overriding the value