FFMPEG_EXECUTABLE-NOTFOUND

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
zemerdon
Posts: 15
Joined: Wed Dec 01, 2021 2:23 pm

FFMPEG_EXECUTABLE-NOTFOUND

Post 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.
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: FFMPEG_EXECUTABLE-NOTFOUND

Post by Magic919 »

Have you looked in 01-system-paths.conf?
-
zemerdon
Posts: 15
Joined: Wed Dec 01, 2021 2:23 pm

Re: FFMPEG_EXECUTABLE-NOTFOUND

Post 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.
User avatar
Aktarus
Posts: 5
Joined: Fri Nov 16, 2018 9:41 am

Re: FFMPEG_EXECUTABLE-NOTFOUND

Post 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.
User avatar
iconnor
Posts: 3277
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: FFMPEG_EXECUTABLE-NOTFOUND

Post by iconnor »

Look in /etc/zm/conf.d/01-system-paths.conf or any other files in there. Something is overriding the value
Post Reply