資訊

在LMDE的Skype中使用網路攝影機Microsoft Lifecam VX-3000

在Linux Mint Debian的Skype中無法使用Microsoft VX-3000網路攝影機作視訊交談,需要動個手腳:[改寫自這篇文章]

shell> lsusb
045e:00f5 Microsoft Corp. LifeCam

shell> dmesg
usb 5-1: new full speed USB device using uhci_hcd and address 85
usb 5-1: configuration #1 chosen from 1 choice
gspca: probing 045e:00f5
sonixj: Sonix chip id: 11
gspca: probe ok
usb 5-1: New USB device found, idVendor=045e, idProduct=00f5
usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 5-1: Product: USB camera

  • Installing softwares:
    安裝Skype,順便注意看看libv4l-0有沒有也安裝在裡面

What's libv4l?

libv4l is a collection of libraries which adds a thin abstraction layer on top of  video4linux2 devices. The purpose of this (thin) layer is to make it easy for application writers to support a wide variety of devices without having to write seperate code for different devices in the same class.

  • 建立一個新的可執行檔/usr/local/bin/webcamSkype,裡面有這二行
    #!/bin/bash
    LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

What's v4l1compat.so?

v4l1compat.so is a wrapper of libv4l which adds v4l2 device compatibility to v4l1
applications (like skype).

  • 設定執行權限 chmod ugo+x /usr/local/bin/webcamSkype
  • 到Menu->應用程式->網際網路->Skype,編輯屬性,在指令欄中填入/usr/local/bin/webcamSkype
  • 只要點選Skype就可以驅動網路攝影機了

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *