zma component - can it be used independently from ZM?
Posted: Tue Aug 22, 2006 2:24 pm
Hi.
I've been a long time user of ZM now (even thought it was so good, I contributed!!) I have a question for you ZM developers out there....
I am building a very special little project.......
I call it "Remote-Eye Shutter"
Basically, I have a Canon EOS20d DSLR camera and am looking to hook it up to my linux box. I also have a 3com Homeconnect webcamera, also hooked up to the linux box....
What I am looking to do is have the DSLR mounted on a tripod, looking at a fixed location and the webcam to look at exactly the same location (probably at a different angle or the camera could be mounted on the hotshoe fixing on the DSLR possibly)
Anyway, I will try and write a script to fire the shutter on the 20D and have the resulting capture saved to my hard disk.
The first bit though is to only fire the shutter when the webcameras' frame has altered significantly.
The idea is that I can take shots of robins when they come into our garden and use the bird bath... I'm always at work when the goods shots come around!!!
I would hope to come home from work one day and find lots of great shots where the robins have triggered the motion detect component and has in turn fired the shutter component and saved the shots to disk!!!
Does that sound feasible?
The question is: does the zma analysis component accept piped feed from a capture system.
Something like:
ffmpeg -vd /dev/video0 -s 320x240 -vcodec avi - | zma - triggercomponent /usr/bin/remoteshutter.sh
(or something similar....)
Thanks for looking and hope to hear from someone soooon!
Kind regards,
Glenn
I've been a long time user of ZM now (even thought it was so good, I contributed!!) I have a question for you ZM developers out there....
I am building a very special little project.......
I call it "Remote-Eye Shutter"
Basically, I have a Canon EOS20d DSLR camera and am looking to hook it up to my linux box. I also have a 3com Homeconnect webcamera, also hooked up to the linux box....
What I am looking to do is have the DSLR mounted on a tripod, looking at a fixed location and the webcam to look at exactly the same location (probably at a different angle or the camera could be mounted on the hotshoe fixing on the DSLR possibly)
Anyway, I will try and write a script to fire the shutter on the 20D and have the resulting capture saved to my hard disk.
The first bit though is to only fire the shutter when the webcameras' frame has altered significantly.
The idea is that I can take shots of robins when they come into our garden and use the bird bath... I'm always at work when the goods shots come around!!!
I would hope to come home from work one day and find lots of great shots where the robins have triggered the motion detect component and has in turn fired the shutter component and saved the shots to disk!!!
Does that sound feasible?
The question is: does the zma analysis component accept piped feed from a capture system.
Something like:
ffmpeg -vd /dev/video0 -s 320x240 -vcodec avi - | zma - triggercomponent /usr/bin/remoteshutter.sh
(or something similar....)
Thanks for looking and hope to hear from someone soooon!
Kind regards,
Glenn