Procurando por algum software simples de webcam

-1

Parece que o uvccapture pode atender à minha necessidade de um aplicativo de webcam simples. No entanto, tentando construí-lo "fora da caixa", eu recebo esta coleção desconcertante ...

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)
    
por David Smith 06.01.2016 / 19:28

1 resposta

2

Cheese é um aplicativo de webcam popular para o Ubuntu, que deve ser o que você precisa

sudo apt-get install cheese

ExistetambémCamorama

sudoapt-getinstallcamorama

Alémdeguvcview

sudoapt-getinstallguvcview

    
por Mark Kirby 06.01.2016 / 19:42