virtualbox 中的相机

virtualbox 中的相机

无法在 ubuntu/virtual box 中使用相机,运行 cheese 时会显示黑屏,并显示“未找到设备”文本。我知道这个问题已在不同的论坛上得到解答,但似乎没有一个解决方案适用于我的机器。我在联想 Yoga 370 上运行 Win10 Host,在 Oracle Virtual Box 6.0 中安装了 Ubuntu 18.04.02 LTS。

我正在通过设备/网络摄像头/USB 视频设备加载相机,以下是输出:

cheese:
  cheese-application.vala:211: Error during camera setup: No device found
lsusb:
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 003: ID 80ee:0030 VirtualBox 
  Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmesg:
  [   39.386510] usb 2-2: new full-speed USB device number 3 using ohci-pci
  [   39.738147] usb 2-2: New USB device found, idVendor=80ee, idProduct=0030, bcdDevice= 1.00
  [   39.738155] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  [   39.738161] usb 2-2: Product: VirtualBox Webcam - USB Video Device
  [   39.738165] usb 2-2: Manufacturer: VirtualBox
  [   39.738169] usb 2-2: SerialNumber: e6e88a150d76b078
  [   39.788121] media: Linux media interface: v0.10
  [   39.798989] videodev: Linux video capture interface: v2.00
  [   39.817235] uvcvideo: Found UVC 1.00 device VirtualBox Webcam - USB Video Device (80ee:0030)
  [   39.851022] uvcvideo 2-2:1.0: Entity type for entity Processing 2 was not initialized! 
  [   39.851024] uvcvideo 2-2:1.0: Entity type for entity Camera 1 was not initialized!
  [   39.851586] input: VirtualBox Webcam - USB Video D as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.0/input/input8
  [   39.852123] usbcore: registered new interface driver uvcvideo
  [   39.852125] USB Video Class driver (1.1.1)

任何指示都会有帮助

答案1

我猜想 cheese 存在问题,其他视频应用程序(Guvcview、skype)在虚拟盒环境中可以毫无问题地显示视频流。

相关内容