Page 1 of 1

Video files retrieved from network camera

Posted: Tue May 09, 2006 11:37 pm
by dagummace
I was trying to pursue a workaround for this nasty Linksys camera I bought, by having it e-mail files to the machine hosting ZoneMinder.

These .asf files get munpacked from the incoming e-mail and dumped to /tmp/video.asf, and I've pointed a monitor at them, but it doesn't really seem to appreciate my efforts.

Are file-based monitors intended only for static jpegs, or do I need to run an encoding on this file to get a different format for ZoneMinder to monitor?

Again, thanks for all your efforts.

Processing the ASF file

Posted: Wed May 10, 2006 12:54 am
by dagummace
OK, now the procmail recipe calls a script that not only extracts the ASF file, but also mplayer-converts it to a set of jpegs in a temporary directory, which get copied one per second to a particular filename in the /tmp directory.

The monitor for that camera points at that filename.

So, once the Linksys camera decides that my frantic dancing about and gesticulations qualify as enough motion to "detect," it e-mails a five-second file to ZoneMinder, which it winds up able to process as jpegs.

Not as cool as it could be, but so far as my capabilities go...

Any more elegant ideas out there?

Posted: Wed May 10, 2006 1:03 pm
by zoneminder
I will shortly be working on adding native support for asf input. Hopefully it will make life a little easier for you :)

Native ASF Support

Posted: Wed May 10, 2006 3:26 pm
by dagummace
I will be looking forward to that! I'll watch the release page like a hawk...

Posted: Wed May 10, 2006 4:01 pm
by zoneminder
Well I can tell you it won't be in 1.22.2 as that is just about ready for release now!