Video recording started

Hi everybody, I’d like to record the output of my webcam and I need that it starts to record when something moving and finish to record after 15 seconds;

for the motion sensor I’m using VideoIn + Trautner

for recording I’ve tried to use Writer (advenced) and now I can record a video in a folder but it works only when something is moving. any one can help me?

try MonoFlop (Animation) and check FUN.