Can't generate video!

Forum for questions and support relating to the 1.24.x releases only.
Locked
eronquillo
Posts: 11
Joined: Sun Aug 03, 2008 4:03 pm

Can't generate video!

Post by eronquillo »

Hi everyone, has anyone run into this problem:

I currently record all events to a separate drive (/media/securitycameras/)

when I try to generate videos from an event using any of the video formats (mpg, mpeg, wmv, avi, etc), it says "Video Generation Failed!"

I checked the messages in the logs, and gives the following:
Dec 1 10:42:48 guardme zmvideo[20082]: INF [Creating video file Event-20792-r1-s1.avi for event 20792]
Dec 1 10:42:48 guardme zmvideo[20082]: ERR [Unable to generate video, check /usr/share/zoneminder/www//media/SecurityCams/zoneminder/events/5/20792/ffmpeg.log for details]


When I open the ffmpeg.log file in that directory, I get the following


cat ffmpeg.log
sh: /usr/bin/: is a directory


Can someone please help me, since the local police is requesting the videos of a recent break-in. Your help is greatly appreciated. Thanks!
eronquillo
Posts: 11
Joined: Sun Aug 03, 2008 4:03 pm

Post by eronquillo »

Hi everyone, I solved this one. The default directory path to ffmpeg is /usr/bin, in options PATH_FFMPEG. My guess was that the directory was needed so out of desparation, I put this in /usr/bin/ffmpeg. Now it downloads!!
Locked