如何将视频嵌入到 PyQt 小部件中
我有一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有 QWebView 可用于加载网页和在 PyQt GUI 中显示它。
There is QWebView that can be used to load a webpage and display it in a PyQt GUI.
看看 PyQt 中的 QWebView
您可能会找到以下链接帮助 QWebView - pythoncentral
Have a look at QWebView in PyQt
You might find the following link help QWebView - pythoncentral