mirror of
https://github.com/gen2brain/cam2ip.git
synced 2025-12-16 12:28:35 +00:00
Update flags
This commit is contained in:
40
README.md
40
README.md
@@ -23,7 +23,7 @@ You can also use apps like `ffplay` or `vlc`:
|
||||
|
||||
* `opencv` - use `OpenCV` library to access camera ([gocv](https://github.com/hybridgroup/gocv))
|
||||
* `libjpeg` - build with `libjpeg` ([go-libjpeg](https://github.com/pixiv/go-libjpeg)) instead of native Go `image/jpeg`
|
||||
* `jpegli` - build with `jpegli` ([go-libjpeg](https://github.com/gen2brain/jpegli)) instead of native Go `image/jpeg`
|
||||
* `jpegli` - build with `jpegli` ([jpegli](https://github.com/gen2brain/jpegli)) instead of native Go `image/jpeg`
|
||||
|
||||
### Download
|
||||
|
||||
@@ -42,25 +42,25 @@ This command will install `cam2ip` in `GOBIN`, you can point `GOBIN` to e.g. `/u
|
||||
### Usage
|
||||
|
||||
```
|
||||
Usage of cam2ip:
|
||||
-bind-addr string
|
||||
Bind address [CAM2IP_BIND_ADDR] (default ":56000")
|
||||
-delay int
|
||||
Delay between frames, in milliseconds [CAM2IP_DELAY] (default 10)
|
||||
-height float
|
||||
Frame height [CAM2IP_HEIGHT] (default 480)
|
||||
-htpasswd-file string
|
||||
Path to htpasswd file, if empty auth is disabled [CAM2IP_HTPASSWD_FILE]
|
||||
-index int
|
||||
Camera index [CAM2IP_INDEX]
|
||||
-nowebgl
|
||||
Disable WebGL drawing of images (html handler) [CAM2IP_NOWEBGL]
|
||||
-rotate int
|
||||
Rotate image, valid values are 90, 180, 270 [CAM2IP_ROTATE]
|
||||
-timestamp
|
||||
Draws timestamp on images [CAM2IP_TIMESTAMP]
|
||||
-width float
|
||||
Frame width [CAM2IP_WIDTH] (default 640)
|
||||
Usage: cam2ip [<flags>]
|
||||
--index
|
||||
Camera index [CAM2IP_INDEX] (default "0")
|
||||
--delay
|
||||
Delay between frames, in milliseconds [CAM2IP_DELAY] (default "10")
|
||||
--width
|
||||
Frame width [CAM2IP_WIDTH] (default "640")
|
||||
--height
|
||||
Frame height [CAM2IP_HEIGHT] (default "480")
|
||||
--rotate
|
||||
Rotate image, valid values are 90, 180, 270 [CAM2IP_ROTATE] (default "0")
|
||||
--no-webgl
|
||||
Disable WebGL drawing of images (html handler) [CAM2IP_NO_WEBGL] (default "false")
|
||||
--timestamp
|
||||
Draws timestamp on images [CAM2IP_TIMESTAMP] (default "false")
|
||||
--bind-addr
|
||||
Bind address [CAM2IP_BIND_ADDR] (default ":56000")
|
||||
--htpasswd-file
|
||||
Path to htpasswd file, if empty auth is disabled [CAM2IP_HTPASSWD_FILE] (default "")
|
||||
```
|
||||
|
||||
### Handlers
|
||||
|
||||
Reference in New Issue
Block a user