Zao SDK for Jetson / libzep API Reference
|
\Examples-usage-video-source-webcam Sample Program How to use ZaoVideoSourceWebcam
ZaoVideoSourceWebcam is a program that sends video captured by one WebCam to the cloud side.
Follow the build instructions to obtain video-source-webcam/ZaoVideoSourceWebcam. To replace the pre-built binary installed by the SDK setup, execute the following command. ```` $ sudo install -m 755 -o root -g root video-source-webcamZaoVideoSourceWebcam /usr/local/bin
ZaoVideoSourceWebcam -i <device> [-p <link-path] [-m] [-w <width>] [-h <hight>] [-r <frame-rate>] `` *
-i <device>: path to the V4L2 device to connect.
.
This option is required. *
-p <link-path>: specify a path for linking. *
-p <link-path>: specify the path for linking with ZaoRemoteEndpoint.
If omitted, the path is
unix:///run/zao/RemoteEndpoint.sock. *
-m.
If this option is specified, capture in MJPG.
If omitted, capture in YUYV. *
-w <width>: width of the frame.
If omitted, it will be 1920. *
-h <height>: height of the frame. *
-h <height>: frame height * If omitted, it will be set to 1080. *
-r <frame-rate>: frame rate. *
-r <frame-rate>: frame rate of the video format.
- Fractional expressions are allowed.
- Example:-r 60-r 60000/1001` * If omitted, the value is 30.
If omitted, the value is 30.