Jessie wrote:Is there any way to increase the recording length so that you are generating less small files? I understand what your trying to do but if your router crashes while you are out won't it defeat the whole purpose?
Indeed it does. Originally it also captured still snapshots, because previous installations didn't support h264 encoding. I'd be curious to know what h264 encoder could be called with simple parameters on a non-Pi installation. Increasing the length of the command line would only lead to hard-to-debug issues.
You may also have to consider a higher end router.
This is not considered at the moment since a more recent router would set me back around $300, and that 3000 connections are just too high to begin with. I don't feel like throwing more money on hardware since the problem appears to be software.
Adding a small delay of 10 or so ms may be all you need if it is easy to add to your script you may give it a shot.
Will try that as soon as the NoIR module arrives.
My point with the tar balls was to package a handful of these video files to gather so that not so many connections were open in the first place. There have to be already written scripts for taking the contents out of a tar file and deleting the tar file upon upload. If this doesn't work for you then disregaurd consider it a free bump (after stuff hits page 2 it is rarely answered)
Well since network connection wasn't so reliable and in case the recording devices are still in place, I also wanted to keep a local copy. As I remember, Motion offered a way to cut files after a set period of time, but the system I had back then did take a non-negligible amount of time to start a new file (slow disk access time?), enough that it would miss fast movement in front of the camera. It was also rather difficult to record for a significant length of time before file was too big to be uploaded properly. A non-uploaded file (from router crash or too large a size) isn't worth a dime.