如何将视频嵌入到 PyQt 小部件中

发布于 2025-01-18 05:02:36 字数 170 浏览 4 评论 0原文

我有一个 PyQt GUI,当前有一个与 python 函数绑定的按钮,该函数打开我在网络上拥有的相机流的 URL。因此,在当前状态下,这将通过我的 Python 函数打开 Edge。 Qt 设计器内部是否有任何内置内容允许我将流嵌入到 Qt Widget 中?那么,从我的 GUI 中,只需打开一个小窗口,仅显示我的相机流?

I have a PyQt GUI which currently has a button tied to a python function that opens a URL to a camera stream that I have over the web. So in its current state this opens up Edge via my Python function. Is there anything built inside of Qt designer that allows me to embed the stream in a Qt Widget? So from my GUI, just open a small window with the stream of my camera alone?

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

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

发布评论

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

评论(2

胡渣熟男 2025-01-25 05:02:36

QWebView 可用于加载网页和在 PyQt GUI 中显示它。

There is QWebView that can be used to load a webpage and display it in a PyQt GUI.

濫情▎り 2025-01-25 05:02:36

看看 PyQt 中的 QWebView
您可能会找到以下链接帮助 QWebView - pythoncentral

Have a look at QWebView in PyQt
You might find the following link help QWebView - pythoncentral

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