Page 1 of 1

Multi Event Video Generation

Posted: Fri May 16, 2008 4:43 pm
by Plunk
I've not been able to find anything searching the wiki, forums or just out on the net. While I've come up with a solution myself by downloading the videos and using an automator script to combine the videos using imovie. I would like to know if there is a way to make a single video of multiple events using ZM?

I know that you can use the event filter to generate video for multiple events. I can then go and download all the video from the event manager by selecting what I need. The problem I'm running into is that selecting too many throws a URI size error.

Would it be difficult to add, if it does not exist?

Posted: Fri May 16, 2008 11:27 pm
by mor
I have a perl script that maybe does what you're looking for.
It converts all the events into mjeg's, joining them where the events are 'close enough'.

In my case, 'close enough' means 3 minutes.

It's pretty hacky, but it may be a starting point for you.

I've put a link to it off the bottom of this page: http://www.dgmo.org/zoneminderpatches

I just run it out of cron once per day.

Posted: Tue May 20, 2008 7:20 pm
by Plunk
Thanks, I think that'll work. My perl foo isn't the strongest, but I bet I can bend it to my will. Considering I only need this now and again, I think it'll be perfect.