From: Alexandre D. <ale...@fr...> - 2005-12-31 15:40:46
|
Why not make a shell script which runs at startup and looks into you logs (dmesg) for the webcam's description and make a symbolic link to /dev/vid= eo0 or /dev/video1? > -----Message d'origine----- > De : mot...@li... > [mailto:mot...@li...]De la part de Kenneth > Lavrsen > Envoy=E9 : samedi 31 d=E9cembre 2005 16:31 > =C0 : mot...@li... > Objet : Re: [Motion-user] happy camper, yet still a request > > > Frans Meulenbroeks wrote: > > >Hi, > > > >I'm a very happy user of motion. > >Yet today I bumped into something that triggered me to > >write this email. > > > >I'm using a usb based webcam. However as I also do > >have another usb based video device my webcam is not > >always at /dev/video0. The minor number depends on > >what devices were present ant startup and in what > >order they are plugged in afterwards (if they were not > >present). > > > > > Which camera do you use? > Maybe it would be a better solution to control which video device each > camera gets. And this is possible for some cameras. > > >As motion does not have a cmd line parameter any more > >to specify the output device, this makes autostarting > >of motion (e.g. upon plugging the device) cumbersome. > > > >For the moment I have made different config files for > >the different minors and I use the relevant config > >file. However this leads to duplicating the conf file > >(and eventually they might run out of sync). > > > >Hence, I'd like to request resurrecting the capability > >to specify the video device from the cmd line. Would > >this be feasible? > > > > > That feature makes very little sense if you have more than one camera. > That is a major reason why I removed also this command line option. I > think quite many of us use Motion with more than one camera. I > personally have 9. > > >Thanks (and all the best for 2006!) > > > >Frans Meulenbroeks > > > >PS: at some point I wanted to connect several webcams > >and be able to dynamically plug in webcams (as needed > >and as usb ports were available). For the moment this > >seems to require starting the prog twice (unless I > >misunderstood things) > > > > > > > The ability to start and stop individual cameras could be quite nice. > It would take quite some redesign of the current data structures to do. > > You can however restart Motion from the web interface now. > One thing missing is the ability to add and remove cameras via the web > interface. If we could do that and then restart, it would take much les= s > redesign of Motion. > > Kenneth > > -- > Kenneth Lavrsen, > Glostrup, Denmark > ke...@la... > Home Page - http://www.lavrsen.dk > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > |