寻找一些简单的网络摄像头软件

寻找一些简单的网络摄像头软件

uvccapture 似乎可以满足我对简单网络摄像头应用程序的需求。然而,当我尝试“开箱即用”地构建它时,我得到了这个令人困惑的集合...

gcc -std=gnu99 -O2 -DLINUX -DVERSION=\"0.5-ac1\" -Wall -std=gnu99 -O2 -DLINUX -DVERSION=\"0.5-ac1\" -Wall  -c -o uvccapture.o uvccapture.c
In file included from uvccapture.c:36:0:
v4l2uvc.h:44:26: error: field ‘cap’ has incomplete type
v4l2uvc.h:45:22: error: field ‘fmt’ has incomplete type
v4l2uvc.h:46:22: error: field ‘buf’ has incomplete type
v4l2uvc.h:47:30: error: field ‘rb’ has incomplete type
uvccapture.c: In function ‘main’:
uvccapture.c:186:16: error: ‘V4L2_PIX_FMT_MJPEG’ undeclared (first use in this function)
uvccapture.c:186:16: note: each undeclared identifier is reported only once for each function it appears in
uvccapture.c:239:16: error: ‘V4L2_PIX_FMT_YUYV’ undeclared (first use in this function)
uvccapture.c:313:30: error: ‘V4L2_CID_BRIGHTNESS’ undeclared (first use in this function)
uvccapture.c:314:30: error: ‘V4L2_CID_CONTRAST’ undeclared (first use in this function)
uvccapture.c:315:30: error: ‘V4L2_CID_SATURATION’ undeclared (first use in this function)
uvccapture.c:316:30: error: ‘V4L2_CID_GAIN’ undeclared (first use in this function)

答案1

Cheese是一款流行的 Ubuntu 网络摄像头应用程序,它应该就是你所需要的

sudo apt-get install cheese

在此处输入图片描述

还有 Camorama

sudo apt-get install camorama

在此处输入图片描述

guvcview

sudo apt-get install guvcview

在此处输入图片描述

相关内容