2019-03-19 09:08:54 +00:00
|
|
|
# wacaw
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
> 一个用于 macOS 的小命令行工具,允许您从连接的摄像头捕获静止图片和视频。
|
2019-03-19 09:08:54 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 从网络摄像机拍照:
|
2019-03-19 09:08:54 +00:00
|
|
|
|
|
|
|
`wacaw {{文件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 录制视频:
|
2019-03-19 09:08:54 +00:00
|
|
|
|
|
|
|
`wacaw --video {{文件名}} -D {{录制多少秒}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 用自定义分辨率拍照:
|
2019-03-19 09:08:54 +00:00
|
|
|
|
|
|
|
`wacaw -x {{宽}} -y {{高}} {{文件名}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 将刚拍摄的图像复制到剪贴板:
|
2019-03-19 09:08:54 +00:00
|
|
|
|
|
|
|
`wacaw --to-clipboard`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 可用设备列表:
|
2019-03-19 09:08:54 +00:00
|
|
|
|
|
|
|
`wacaw -L`
|