(Announcement) Video Trigger – Motion Detection software

Jan 11, 2009 at 7:17pm

(Announcement) Video Trigger – Motion Detection software

Hi folks. I’m just letting the forum know that I made a standalone app to trigger sounds based on a camera feed. Not terribly exciting news for MAXers, but it’s targeted at students who don’t have access to MAX.

The blurb:
Video Trigger is a free motion detector application tailored for media artists. Attach a camera and trigger sounds whenever occupancy is detected in six user-defined areas of the video image. You have complete control over the playback logic and the signal routing. Surround is supported.

Complete info is here:

http://www.zachpoff.com/site/software/software.html#videotrigger

(The source patch is included under a Creative Commons Attribution Non-Commercial Share-Alike license in case you want to use any of the code.)

Thanks
-ZLP

#41640
Apr 21, 2010 at 2:57pm

no replies?

sheesh – thanks..! (:

i’m having the best time modifying! :)

all the best!

-jonas

#148415
Apr 21, 2010 at 8:52pm

Please add it to our Projects so it’ll get more exposure:

http://cycling74.com/new-project/

Thanks,
Lilli

#148416
Apr 26, 2010 at 3:50am

Added to projects. Thanks for the reminder!

#148417
Jun 30, 2010 at 11:22am

Thanks a lot Zach.
Saved my day, I am helping to create an installation and this was what I needed…
I made some mods of course, it is running on a PC, and the whole audio part is very different, but it got me going instantly…
As contribution, I made a jit.grab object, which is a simple wrapper and replaces with the correct grab object (jit.qt.grab for macintosh and jit.dx.grab for windows). I also added a possibility to choose between live input and a movie, which you can also record. This was necessary to test the setup when I am not at the original location…

The jit.grab abstraction also needs my parentgate.js:

outlets = 2;
intlets = 1;

function anything()
{
var a = arrayfromargs(messagename,arguments);
if(this.patcher.parentpatcher){
outlet(0, a);
}
else{
outlet(1, a);
}
}

jit.grab below:

– Pasted Max Patch, click to expand. –

And just the grabber subpatch with the additional GUI elements which you can place to your liking into your next version:

– Pasted Max Patch, click to expand. –
#148418
Jul 1, 2010 at 11:01am

Thanks Zach, awesome project learning a lot, also thanks stefantiedje great moddification, I am new to jitter, I am trying to trigger the trackpoints that insted of playing sound it will play a movie, and this movie will play in a jit.window and so on in the different zones, for an installation I am learning.

Thank you in advance Rosm

#148419
Jul 1, 2010 at 2:16pm

Thank you! Very excited to tweak this for triggering different videos. Much appreciated!

#148420
Jul 22, 2010 at 1:23pm

Thanks Stefan, great additions. (I hadn’t noticed the replies until now.) I’ll take a look at your changes and roll them into the next version!
-Zach

#148421
Jul 22, 2010 at 11:12pm

Hi Zach,

just did a test run on your Video Trigger and recognized a very high cpu value in the Actitity Monitor on my macbook pro (around 180%…never saw this before (-: ). I looked into your patch and saw your render/grabber trigger (in your grabber subpatch) was at 10ms. Changed it to 50ms and everything is fine now. Maybe you should change this to a higher default value, too. Thanks for this nice app!

best
stefan

#148422
Jul 23, 2010 at 7:00pm

great idea, thanks.

#148423
Oct 15, 2011 at 2:01pm

I’m having difficulties saving my settings. the first notice I get from my max window is the following:

http://jonaswolf.com/savesetting.jpg

thus I’m having problems manually saving my numerous zones (respectively no .xml file to be found):

http://jonaswolf.com/savesetting.maxpat.zip

this is essential for my project, for I added heaps of zones. is there any way to fix this? any help appreciated…!

#148424

You must be logged in to reply to this topic.