使用 Python 2.7 的 GStreamer 无法导入 gst

发布于 2025-01-08 07:27:12 字数 565 浏览 5 评论 0原文

我有同样的问题: 无法在 Python 中导入 GST 但是,它的解决方案对我不起作用。

我使用的是 Win7 64 位和 Python 2.7、GStreamer 0.10.7 和 PyGTK 2.24。我收到的确切错误是:

>>>import gst
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\gst-0.10\gst\__init__.py", line 87, in <mo
dule>
    from _gst import *
ImportError: DLL load failed: The specified module could not be found.

我做错了什么吗?

提前致谢

I am having the same issue as:
Cannot Import GST in Python
However, its solution does not work for me.

I'm using Win7 64bit with Python 2.7, GStreamer 0.10.7, and PyGTK 2.24. The exact error I receive is:

>>>import gst
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\gst-0.10\gst\__init__.py", line 87, in <mo
dule>
    from _gst import *
ImportError: DLL load failed: The specified module could not be found.

Is there something I am doing wrong?

Thanks in advance

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

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

发布评论

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

评论(1

So要识趣 2025-01-15 07:27:12
import pygst
pygst.require('0.10')
import gst
import pygst
pygst.require('0.10')
import gst
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文