Mini2440+PIR sensor +video streaming

Yasir Ateeq
Hi all ,I want to do video streaming from mini2440 to PC browser based on
the motion as per detected by the PIR sensor ,if the human is detected the
video should start for 10 seconds and must close after 10 seconds if
further motion is not detected by the PIR,please guide me how can i do this
all?