View unanswered posts | View active topics It is currently Fri Aug 22, 2014 10:50 am



Reply to topic  [ 4 posts ] 
Doing video rotation to another disk and mocord? 
Author Message

Joined: Thu Jan 17, 2013 7:13 pm
Posts: 35
Post Doing video rotation to another disk and mocord?
I have 2 things I'd love to do.

1) I'd like to use my always on disk for ZM to record, but every few hours, I'd like to move the recordings to a disk array that I otherwise spin down.
It looks like I can just go to something like zoneminder/events/1/13/01/17 and move data to another disk while leaving a symlink behind.
Is there a pre-made script that does this, or should I write my own?

2) I know about Mocord, but I think what I'd like is to have Modect which I keep kind of long, but also have continuous recording to different files, which I throw away every 24H or so without discarding the modect events.
Is that possible, or are they linked and I can't delete continuous recording without deleting motion events too?

3) I have OPT_FAST_DELETE enabled. When I delete events, I understand zmaudit is supposed to delete the disk files, although it doesn't seem to be doing this reliably or timely for me.
How often is it supposed to run and clean up?
Are there known problems were disk events don't always get deleted later?

Thanks,
Marc


Thu Jan 17, 2013 7:38 pm
Profile

Joined: Sat May 05, 2012 6:06 pm
Posts: 16
Post Re: Doing video rotation to another disk and mocord?
2) Maybe set "Section length" to the desired length e.g = 300 (5 minutes) and also set 'Options->Config->EVENT_CLOSE_MODE' = alarm

Then setup a filter "Purge WhenFull" to do something like :

Archive Status - equal to - Unarchived Only
and
Disk Percent - greater than - 90
and
Alarm Frames - equal to - 0

On 'Save' enable 'Run filter in background'.


Sat Jan 19, 2013 10:50 am
Profile

Joined: Thu Jan 17, 2013 7:13 pm
Posts: 35
Post Re: Doing video rotation to another disk and mocord?
B F wrote:
2) Maybe set "Section length" to the desired length e.g = 300 (5 minutes) and also set 'Options->Config->EVENT_CLOSE_MODE' = alarm

Then setup a filter "Purge WhenFull" to do something like :

Archive Status - equal to - Unarchived Only
and
Disk Percent - greater than - 90
and
Alarm Frames - equal to - 0

On 'Save' enable 'Run filter in background'.


Hi again B F, thanks for your pointers.

Thanks for pointing out config/event close mode=alarm, that's useful.
I also found that frame skip should allow me to record fewer frames in the case of non motion triggering video, but go back to full frame rate if there is motion detected. Is that correct?

For the filter, I hadn't yet noticed how configurable they were.
I was able to use 'and date less than -2 days' to delete anything more than 2 days old as shown in http://www.zoneminder.com/wiki/index.ph ... ssage_Logs

Thanks for your help,
Marc


Tue Jan 22, 2013 4:45 am
Profile

Joined: Sat May 05, 2012 6:06 pm
Posts: 16
Post Re: Doing video rotation to another disk and mocord?
Quote:
I also found that frame skip should allow me to record fewer frames in the case of non motion triggering video, but go back to full frame rate if there is motion detected. Is that correct?

I can't recall what 'frame skip' does but in your Monitor window 'General' tab there will be 'Maximum FPS' and also 'Alarm Maximum FPS', in my setup I have :

Maximum FPS: 5.00
Alarm Maximum FPS: 25.00


Fri Jan 25, 2013 9:40 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group