2011-12-19 136 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 
相关问题