我有一台戴尔 XPS M1530,最初是随 Ubuntu 一起提供的(大约在 2006 年)。网络摄像头在 Cheese、Skype 等应用中始终可以开箱即用。我并不经常使用它,但我之前曾测试过它。我最近在升级到 Ubuntu 12.04 后尝试了它,我尝试的每个应用程序都出现黑屏。(蓝色网络摄像头指示灯确实亮了,但我就是看不到任何视频。)
以下是我得出的结论:
- 这是我的网络摄像头,据报道
lsusb
:Bus 003 Device 003: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam
- 它应该得到 UVC 驱动程序的支持:http://www.ideasonboard.org/uvc/#devices
- 在所有测试的应用程序中,蓝灯亮起,但视频是黑色的。
- 奶酪产量:
libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image libv4l2: error got 4 consecutive frame decode errors, last error: v4l-convert: libjpeg error: End Of Image
- guvcview 输出:
guvcview 1.5.3 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started video device: /dev/video0 Init. Laptop Integrated Webcam (location: usb-0000:00:1a.0-1) { pixelformat = 'MJPG', description = 'MJPEG' } { discrete: width = 160, height = 120 } Time interval between frame: 2/15, { pixelformat = 'RGB3', description = 'RGB3' } { discrete: width = 160, height = 120 } Time interval between frame: 2/15, { pixelformat = 'BGR3', description = 'BGR3' } { discrete: width = 160, height = 120 } Time interval between frame: 2/15, { pixelformat = 'YU12', description = 'YU12' } { discrete: width = 160, height = 120 } Time interval between frame: 2/15, { pixelformat = 'YV12', description = 'YV12' } { discrete: width = 160, height = 120 } Time interval between frame: 2/15, vid:05a9 pid:2640 driver:uvcvideo checking format: 1196444237 VIDIOC_G_COMP:: Invalid argument compression control not supported fps is set to 2/15 drawing controls fps is set to 2/15 no codec detected for H264 no codec detected for MP3 - (lavc) Checking video mode 160x120@32bpp : OK Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Ignoring empty buffer ... Could not grab image (select timeout): Resource temporarily unavailable Ignoring empty buffer ... Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Ignoring empty buffer ... Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable Ignoring empty buffer ... Could not grab image (select timeout): Resource temporarily unavailable Could not grab image (select timeout): Resource temporarily unavailable
- Skype 输出(每次我禁用视频时都会出现一个错误。启用视频时没有错误,但是当然只是黑屏和蓝光。
$ LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l2convert.so skype libv4l2: error dequeuing buf: Invalid argument libv4l2: error allocating conversion buffer libv4l2: error allocating conversion buffer libv4l2: error allocating conversion buffer libv4l2: error allocating conversion buffer
有什么想法吗?