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
Then create a config file:
In it, the bare minimum to run a web server and view it on other computers:
Then run 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
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
相关文章推荐
- How to access ssh terminal in web browser on Linux
- shellinabox : How to access ssh terminal in web browser on Linux Last updated on September 27, 2013
- how to auto refresh your web page in browser?
- How to install WebObjects in Ubuntu for free(I)
- How to install WebObjects in Ubuntu for free(II)
- How to install WebObjects in Ubuntu for free(III)
- How to get browser name, version and operating system detail in selenium 2(Web driver)
- How to open a web site with the default web browser in a NEW window
- [Android 問題] How to Activate Multi-Touch in WebView (for Web Browser, Google Map, etc)?
- How To Open An URL In Android’s Web Browser
- How To Open An URL In Android’s Web Browser
- How to Install a VNC Server in Ubuntu
- How to connect to your Apple Time Capsule in Ubuntu
- How to install NVIDIA Drivers in Ubuntu Linux
- How-to: disable the web-security-check in Chrome for Mac
- How To Write A Simple Web Crawler In Ruby
- How to test DSS from sources in Ubuntu
- How To Fix “Problem with MergeList /var/lib/apt/lists” Error In Ubuntu 11.04
- How to Modify the web.config file in SharePoint using SPWebConfigModification?
- How to reset password in ubuntu