Capture RTSP stream from IP Camera and store
- by Keerthi
I've got a few IP Cameras which output an RTSP (h264 mpeg4) stream.
Hitting the URL locally via VLC:
rtsp://192.168.0.21:554/mpeg4
I can stream the camera and dump to disk (on my desktop). I'd like to however store these files on my NAS (FreeNAS). I was looking at ways to capture the RTSP stream and dump them to disk but I'm unable to find anything.
Is it possible to capture the stream on FreeBSD or Linux (RaspberryPi) and dump the streamed content to a disk local to Linux or FreeBSD - preferably every 30minutes?
EDIT:
The NAS is headless (HP N55L or something) and the RaspberryPi's are headless too.
I've already looked into ZoneMinder but need something small. I was hoping maybe using Motion to detect motion on the stream but that will come later.