如何解决opencv错误》 VIDIOC_S_FMT错误16,设备或资源繁忙”

发布于 2024-12-22 09:13:19 字数 871 浏览 1 评论 0原文

我在 ubuntu 11.10 上使用 opencv 2.1。当我尝试运行示例程序来操作来自两个 USB 网络摄像头的视频时,出现如下所示的错误

我尝试了语句 $ 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

我收到类似“请帮助我”的 谢谢

I am using opencv 2.1 on ubuntu 11.10. When i tried to run a sample program to manipulate video from two usb web cameras an error shown as below

I tried the statement $ v4l2stereo -0 /dev/video0 -1 /dev/video1

Got an error like this

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

When i changed the command like this $ v4l2stereo -0 /dev/video1 -1 /dev/video0
I got an error like

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

Kindly Help me
Thank You

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

捎一片雪花 2024-12-29 09:13:19

安装 gtk2-engines-pixbuf 应该可以解决视频问题:

$ sudo apt-get install gtk2-engines-pixbuf

Installing gtk2-engines-pixbuf should do the trick for the video problem:

$ sudo apt-get install gtk2-engines-pixbuf
天冷不及心凉 2024-12-29 09:13:19

如果相机之前工作正常,但后来开始显示此错误,请确保您没有偶然修改视频内存分配。要仔细检查运行sudo raspi-config并在高级选项>下内存分割确保您分配至少 128MB。

If the camera worked fine before, but later started showing this error then make sure you didn't modify by chance the video memory allocation. To double-check run sudo raspi-config and under Advanced Options > Memory Split ensure you allocated at least 128MB.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文