Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
How is Motion Detection software interpreted, and who is responsible for the interpretation operation?
Is motion.conf linked to a specific libraries?
I'd be grateful If I get some help.
Thanks in advanced.
Motion detection is done however the developers of the motion detection software you are using designed it to work. motion.conf is presumably a text configuration file, so it not linked to anything, as it's not code. If you want to study the motion code, then you should get the source from their project page and read it. You can also do something like "ldd /usr/bin/motion" and that will technically show you what library options are linked to it, but that's hardly the way to start learning about motion detection.
I just want to have an overview .. I want answer for my questions that in my mind.
e.g.
Quote:
videodevice /dev/video0
Quote:
input 8
videodevice /dev/video0 #How it know that mean listen to get an input for device video0?
input 8 #How it know that means, the input is USB webcam ?
Who is translate that script file (motion.conf)? Who understand it to execute it?
videodevice /dev/video0 #How it know that mean listen to get an input for device video0?
input 8 #How it know that means, the input is USB webcam ? Who is translate that script file (motion.conf)? Who understand it to execute it?
The motion detection software interprets that file (it is not a script, it is a configuration file). It knows how to interpret that file, because the developers (that designed both, the software and the configuration file) have written it in that way.
I found motion.conf +4 thread.conf (case I am going to control more than 1 webcam) in /etc/motion
I don't know where is the source of the software, Do you have where find it to understand it parallel to the configuration file?
I found motion.conf +4 thread.conf (case I am going to control more than 1 webcam) in /etc/motion
I don't know where is the source of the software, Do you have where find it to understand it parallel to the configuration file?
Please be aware that you can find this stuff out for yourself very very easily by just googling for it. You have just picked on one arbitrary bit of software, it is not a standard, it is just some developers writing a bunch of code as they see fit. If you think that a configuration file is some magical standard, I really think you need to take a step back from it and learn more of the basics.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.