2011-12-19 695 views
1

我在ubuntu 11.10上使用opencv 2.1。當我試圖運行示例程序,從兩個USB網絡攝像頭的錯誤如下圖所示如何解決opencv錯誤「VIDIOC_S_FMT錯誤16,設備或資源忙」

我想聲明$ v4l2stereo -0 /dev/video0 -1 /dev/video1

得到了這樣的錯誤

 
hue is not supported 
hueauto is not supported 
VIDIOC_S_FMT error 16, Device or resource busy 

當我改變了操作視頻命令是這樣$ v4l2stereo -0 /dev/video1 -1 /dev/video0 我得到了一個錯誤,如

 
hue is not supported 
hueauto is not supported 
hue is not supported 
hueauto is not supported 
(Left image:2388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 
(Left image:2388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 
(Left image:2388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 
(Left image:2388): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", 
Failed to acquire images 

請幫我 謝謝您

回答

2

安裝的gtk2 - 發動機 - 的pixbuf應該爲視頻問題做的伎倆:

$ sudo apt-get install gtk2-engines-pixbuf