I'd just like to thank you for the clear and concise write-up. I've got a half dozen IP cams and wanted a lightweight solution for recording directly to a NAS, as I'd grown to hate the various pre-canned options (Zoneminder/Shinobi/Surveillance Station etc).

This implementation was perfect.
Cheers!