events write to a video format

Forum for questions and support relating to the 1.24.x releases only.
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

events write to a video format

Post 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
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post 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.
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post by stefan »

Has anyone else an idea?
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

Post 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.
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post by stefan »

The reason is that apache crashes whit al that .jpg files
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

ah i dont think thats your issue, if it is you need to fix your configs
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post by stefan »

But is it possible to save it as a video? and how can i do that?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post 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
kevin2i
Posts: 1
Joined: Sun May 31, 2009 12:26 am

Post 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).
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post by stefan »

I have set a filter but it doesn't work. Is there any other option?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

the filer has to work if it dosent you need to fix that first

go look at the logs
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post 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?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post 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
stefan
Posts: 8
Joined: Wed May 27, 2009 12:55 pm

Post 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.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Just to be clear Apache is NOT zoneminder.


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