Question Security / Surveillance Video App

Can anyone recommend a good app to simply use my phone as a surveillance video recorder?

I just want to use my phone at night to aim out the front window of my house as a surveillance camera.

I'm sure there are apps out there that can do this easily, it's just hard figure out which app is the best to use.

I'm thinking of something that just takes a picture every second or two and records it to the SD card, so I can review the video in the morning in case anything were to happen during the night while the camera is recording.

Eventually I'll get a real security surveillance system, but not quite yet.