We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可以使用 VLC 显示来自网络流的视频。
对于 2D 元素,您可以使用 Qt 框架。
另外VLC是用Qt开发的。所以在你的项目中使用VLC和Qt一定不会有问题。
You can use the VLC one to display video from a network stream.
For 2D elements you can use the Qt framework.
In addition VLC is developped with Qt. So sure to not have problem by using VLC and Qt in your project.
我尝试了多种解决方案,发现对我来说最好的解决方案是将 WPF 与 WPF MediaKit 一起使用。视频元素放置在 Canvas 内,这使得可以在视频之上添加其他图形元素(基本上是每个 WPF UI 元素)。
尽管我确实尝试过,但我无法使用 QGraphicsView 在 VLC 视频上绘图。
I tried many solutions and found that the best one for me is to use WPF with WPF MediaKit. A video element is placed inside a Canvas, which makes it possible to add other graphic elements on top of the video (basically every WPF UI element).
Although I really tried, I couldn't draw on VLC video using QGraphicsView.