From: Roman G. <rom...@gm...> - 2007-09-05 14:08:44
|
makemovie didn't work for me, but these 2 generate and stop an event: wget http://192.168.0.1:8080/0/config/set?output_all=on wget http://192.168.0.1:8080/0/config/set?output_all=off Thanks, Roman On 4 Sep 2007, at 10:45, Andy Brown wrote: > Roman Gaufman wrote: >> Dear all, >> >> What I want to do is get motion to record video with sound whenever >> there is either motion, or sound being detected. I have the >> appropriate on_event_start and on_event_end ffmpeg commands to record >> sound and join the audio and video files together (audio/video desync >> but it's usable). >> >> But what I'm missing is a way to somehow force motion to record, i.e. >> fake a motion event and let it follow my typical 30 seconds of >> post_capture so that everytime motion gets a signal that there's an >> event, it will record the next 30 seconds of video and audio. >> >> Is something like that possible? > > Hi Roman, > I think what you're after is using the http interface to trigger > events. > So using a script you could call: > http://motionhost.mydomain.tld:port/2/action/makemovie > > (assuming this was thread2, obviously setting your IP/hostname and > port > you have the http admin on). > > Take a look at http://www.lavrsen.dk/twiki/bin/view/Motion/ > MotionHttpAPI > Which should give you the right pointers. > > Regards, > -- > Andy > e: andy @ thebmwz3.co.uk > e: andy @ broadcast-tech.co.uk > w: http://www.thebmwz3.co.uk > w: http://www.broadcast-tech.co.uk > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |