Video files retrieved from network camera

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
dagummace
Posts: 9
Joined: Tue May 09, 2006 5:26 pm

Video files retrieved from network camera

Post 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.
dagummace
Posts: 9
Joined: Tue May 09, 2006 5:26 pm

Processing the ASF file

Post 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?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I will shortly be working on adding native support for asf input. Hopefully it will make life a little easier for you :)
Phil
dagummace
Posts: 9
Joined: Tue May 09, 2006 5:26 pm

Native ASF Support

Post by dagummace »

I will be looking forward to that! I'll watch the release page like a hawk...
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Well I can tell you it won't be in 1.22.2 as that is just about ready for release now!
Phil
Post Reply