Can't generate vidoe

Forum for questions and support relating to the 1.30.x releases only.
Locked
Saulius2006
Posts: 6
Joined: Thu Oct 06, 2016 1:31 pm

Can't generate vidoe

Post by Saulius2006 »

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.
FullSizeRender.jpg
FullSizeRender.jpg (19.31 KiB) Viewed 3102 times
FullSizeRender 4.jpg
FullSizeRender 4.jpg (237.06 KiB) Viewed 3102 times
mikb
Posts: 702
Joined: Mon Mar 25, 2013 12:34 pm

Re: Can't generate vidoe

Post by mikb »

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.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Can't generate vidoe

Post by knight-of-ni »

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.
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/
Saulius2006
Posts: 6
Joined: Thu Oct 06, 2016 1:31 pm

Re: Can't generate vidoe

Post by Saulius2006 »

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.
rockedge
Posts: 1199
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Can't generate vidoe

Post by rockedge »

the path to the generated video for example would look like this:

Code: Select all

/var/cache/zoneminder/events/4/16/08/21/23/35/28/Event-3-r1-s1.avi
somewhere in the events directory set in your config.

hope that helps.
mikb
Posts: 702
Joined: Mon Mar 25, 2013 12:34 pm

Re: Can't generate vidoe

Post by mikb »

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.
Locked