Hello, i have fixed the problem with the motion, the bigest problem it was the incorect spelling of the frequency :oops: . I know i have a bad english, and so far for the input option in the motion config file, i have added a new parameter, for that when creating a new device ... it will require the Input Type (as a number) the Video Type (as a number <- this was a string until now and it was wrong). I don't know for sure how fast my changes will propagate, but i hope you will get the new motion related soft soon.
I'd like to discuss some more about motion and Pluto. There are some important points that needs to be solved :
1. main /etc/motion/motion.conf
That file could be written with some default data, but what is more important it has to include #thread conf files for each thread for motion.
Devices that are threads to motion are :
- usb camera
- analog capture card (with 1 or more inputs)
- net camera ? (i'm not sure about that cause I'm not using them)
I'm not sure how to deal with this and templates. USB cam template should be something like analog capture card, ...
2. other config option for motion
I guess it would be wise to incorporate some other config possibilities that can be specified overall and for each thread separately (filters, screen texts, picture size, etc...). That could certainly be next step. Partially it could be dealt also in templates, where best settings for each device could be found, but screen texts could be left to user to change some prepared default values (cam1, cam2 ....) ...
3. using web server
I know that main remote control device is Orbiter or Media director. But I guess having some basic web interface would also be beneficial... Motion has already built in web streaming server and has several web interfaces that are in work, so I guess it would't be bad to include...
4. How to properly add device(device template) to Pluto
I'd be glad if I can help in adding usb cam support to Pluto. But since there are no easy documents how to do that, I'd kindly ask for some guidance here, and will document procedure for the rest of bunch going same way.
Since usb cam template won't be much different from analog_capture_card what is better way to add template :
- edit existing analog_capture_card
- add template/generate/ etc...
When template is ready it can be compiled. What are next steps to add it in Pluto system, to appear in web interface ? What to do to share with other Pluto users ?
Thanks in advance for answers,
regards,
Rob.