VMware12+ubuntu16+c270 linux上使用摄像头

来源:互联网 发布:淘宝店铺改名字 编辑:程序博客网 时间:2024/06/13 13:44

遇到的问题:

1,linux不识别摄像头

解决:如图 切换usb连接状态

解决结果:如图 摄像头获取状态

2,运行报错,错误log如下,并图像卡住。

(cheese:2633): cheese-WARNING **: A lot of buffers are being dropped.: gstbasesink.c(2854): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:There may be a timestamping problem, or this computer is too slow.

解决问题:尝试切换usb连接方式,从usb2.0切换到usb3.0,虽然报错依旧,但图像输出ok。

3,使用guvcview打开摄像头

$ sudo add-apt-repository ppa:pj-assis/ppa$ sudo apt-get update$ sudo apt-get install guvcview
运行起来的效果比cheese好点。,还可以进行相关配置。