您的位置:首页 > 其它

How to stream a webcam to a web browser in Ubuntu

2017-09-05 11:59 661 查看
refs:
https://gist.github.com/endolith/2052778
First install 
motion
:
~> sudo apt-get install motion


Then create a config file:
~> mkdir ~/.motion
~> nano ~/.motion/motion.conf


In it, the bare minimum to run a web server and view it on other computers:
webcam_port 8081
webcam_localhost off


Then run motion:
~> motion


Now you can view the webcam at http://hostname:8081 If it doesn't work, try rebooting between steps or something.

Isn't that easy? >:(

See also: How to run webcam software only when I am not home
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: