8000 GitHub - gen2brain/cam2ip at 1.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gen2brain/cam2ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cam2ip

Turn any webcam into an IP camera.

Example (in web browser):

http://localhost:56000/mjpeg

or

http://localhost:56000/html

Requirements

Download

Binaries are compiled with static OpenCV library:

Installation

go get -v github.com/gen2brain/cam2ip

This will install app in $GOPATH/bin/cam2ip.

Usage

Usage of ./cam2ip:
  -bind-addr string
    	Bind address (default ":56000")
  -delay int
    	Delay between frames, in milliseconds (default 10)
  -frame-height float
    	Frame height (default 480)
  -frame-width float
    	Frame width (default 640)
  -htpasswd-file string
    	Path to htpasswd file, if empty auth is disabled
  -index int
    	Camera index

Handlers

  • /html: HTML handler, frames are pushed to canvas over websocket
  • /jpeg: Static JPEG handler
  • /mjpeg: Motion JPEG, supported natively in major web browsers

About

Turn any webcam into an IP camera

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0