Hi,
I'm trying to generate a video from event.
I followed all instructions from ZoneMinder wiki but stil if I'm clicking on generate video button it's trying to generate and gives error Video Generation Failed. I tried in different video formats but it's same error.
OPT_FFMPEG Option is tagged.
Can't generate vidoe
Re: Can't generate vidoe
Er, does your FFMPEG binary really live in "/media/Video/ZoneMinder/videos" (PATH_FFMPEG) ??
Mine lives in /usr/local/bin ... suggest you "which ffmpeg" or "where ffmpeg" to find its location.
Mine lives in /usr/local/bin ... suggest you "which ffmpeg" or "where ffmpeg" to find its location.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Can't generate vidoe
First, click the "?" next to PATH_FFMPEG and then read the help text.
Not sure why you changed PATH_FFMPEG from the default, but you've got a folder name listed there when you should have the full path to the ffmpeg binary. Do what mikb suggested to find the correct value for your system. It will more than likely be something like "/usr/bin/ffmpeg" or "/usr/local/bin/ffmpeg", but that depends on what distro you are using and how you installed ffmpeg.
Not sure why you changed PATH_FFMPEG from the default, but you've got a folder name listed there when you should have the full path to the ffmpeg binary. Do what mikb suggested to find the correct value for your system. It will more than likely be something like "/usr/bin/ffmpeg" or "/usr/local/bin/ffmpeg", but that depends on what distro you are using and how you installed ffmpeg.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
-
- Posts: 6
- Joined: Thu Oct 06, 2016 1:31 pm
Re: Can't generate vidoe
Thanks for advise.
I change the ffmpeg path and it seems that it's working.
But I can't find the generated video file.
Can you please advise me, path to created video files.
I change the ffmpeg path and it seems that it's working.
But I can't find the generated video file.
Can you please advise me, path to created video files.
Re: Can't generate vidoe
the path to the generated video for example would look like this:
somewhere in the events directory set in your config.
hope that helps.
Code: Select all
/var/cache/zoneminder/events/4/16/08/21/23/35/28/Event-3-r1-s1.avi
hope that helps.
Re: Can't generate vidoe
As to reasons for changing the PATH_FFMPEG: ... I suspect the OP was trying to change where FFMPEG *puts* the videos, so that it doesn't bury them all in sub directories of zoneminder/events.