Multi Event Video Generation

Support and queries relating to all previous versions of ZoneMinder
Locked
Plunk
Posts: 19
Joined: Thu Nov 08, 2007 8:56 pm

Multi Event Video Generation

Post 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?
mor
Posts: 45
Joined: Sat Apr 26, 2008 1:41 am

Post 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.
Plunk
Posts: 19
Joined: Thu Nov 08, 2007 8:56 pm

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