It seems that uvccapture might meet my need for в простой webcam application. However, trying to build it "out of the box", I get this bewildering collection...
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)
Cheese
популярное приложение для веб-камеры для Ubuntu, которая должна быть тем, в чем Вы нуждаетесь
sudo apt-get install cheese
существует также Camorama
sudo apt-get install camorama
, А также guvcview
sudo apt-get install guvcview