Page 1 of 2

events write to a video format

Posted: Wed May 27, 2009 1:04 pm
by stefan
Hi,

I started with zoneminder and I install it, Everthing works, but in the /var/www/html/events/ directory are thousands of .JPG files.

There are one way to write the record events in a mpeg (or avi) format to reduce the number of files?

Stefan

Posted: Wed May 27, 2009 2:39 pm
by coke
You could have a filter automatically generate movies of events. But as far as I know, you can't get rid of the jpegs, because zmaudit.pl will delete the event (and maybe it's video file?) from the database when it notices they're missing.

Posted: Thu May 28, 2009 11:54 am
by stefan
Has anyone else an idea?

Posted: Thu May 28, 2009 1:51 pm
by coke
Is there a specific reason you'd like less files? If you have a use for the video files but not jpegs, I can understand. If you're just worried about there being many files, reiserfs at least doesn't seem to have many issues about many small files. Deep Storage makes deletion much faster too.

Posted: Thu May 28, 2009 1:57 pm
by stefan
The reason is that apache crashes whit al that .jpg files

Posted: Thu May 28, 2009 9:37 pm
by kingofkya
ah i dont think thats your issue, if it is you need to fix your configs

Posted: Fri May 29, 2009 6:38 am
by stefan
But is it possible to save it as a video? and how can i do that?

Posted: Fri May 29, 2009 2:37 pm
by kingofkya
yes click Filter at the bottom and select the check box Creat video and a make a query that pulls up every event.
limit it to 5-20 so it dosent convert all of them at once.

also zoneminder is smart enof to relise when it alredy created the video so dont worry about that

Posted: Sun May 31, 2009 1:02 pm
by kevin2i
coke wrote:Is there a specific reason you'd like less files? If you have a use for the video files but not jpegs, I can understand. If you're just worried about there being many files, reiserfs at least doesn't seem to have many issues about many small files. Deep Storage makes deletion much faster too.
How about disk space? A million jpg files and 5-10gb per day is excessive. I'm still adjusting settings to get this number down (started at 20gb/day).

Posted: Tue Jun 02, 2009 7:13 am
by stefan
I have set a filter but it doesn't work. Is there any other option?

Posted: Tue Jun 02, 2009 2:44 pm
by kingofkya
the filer has to work if it dosent you need to fix that first

go look at the logs

Posted: Wed Jun 03, 2009 7:41 am
by stefan
PHP Notice: Undefined index: filter in /var/www/html/skins/classic/views/js/filter.js.php on line 6, referer: http://--IP--/index.php?view=filt

PHP Notice: Undefined index: filter in /var/www/html/skins/classic/views/js/filter.js.php on line 30, referer: http://--IP--/index.php?view=fil

PHP Notice: Undefined index: filter in /var/www/html/skins/classic/views/filter.php on line 163, referer: http://--IP--/index.php?view=filter&

What can i do?

Posted: Wed Jun 03, 2009 8:00 pm
by kingofkya
i dont know about those but

go look at the logs in /tmp/zm or something like that whey yopu will see zms.log zma.log etc

Posted: Thu Jun 04, 2009 10:49 am
by stefan
Is there another option to drop the cpu load down? if i record a event the load of one stream on apache is 45%. Is it possible to record with 16 camara's on the same time with apache.

Posted: Thu Jun 04, 2009 7:18 pm
by kingofkya
Just to be clear Apache is NOT zoneminder.


and to drop cpu drop fps, zone, or even resolution