Y
Y
YaKot2014-12-03 22:46:37
linux
YaKot, 2014-12-03 22:46:37

How to use multiple cameras in motion?

I want to use the motion program for several (4-6) cameras with different settings. Of course, you can run it separately with different configs, but doesn't motion provide for several video sources?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Armenian Radio, 2014-12-04
@YaKot

Can be done. You will need one motion.conf file and threadX.conf files according to the number of cameras.
Specify stream files in motion.conf:

thread /etc/motion/thread1.conf
thread /etc/motion/thread2.conf
thread /etc/motion/thread3.conf

Each stream file contains its parameters:
netcam_userpass admin:mypassword
text_left Foscam IP
netcam_url http://192.168.0.60/videostream.cgi
target_dir /home/ndmaque/motion/images/foscam
webcam_port 8083
#my cheap Foscam (like all IP Cam's) needs a user/pass to be accessed.

And you're done.
Original answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question