推荐使用QT和QML Gstreamer的方法?
由于在不同模式(单个 / Dual / Quad)中最多显示4个UDP / RTP流,因此我首先决定使用GSTREAMER。它有效,但并不容易处理,并且在运行时我无法在查看模式之间切换。为了解决该问题,我想将QT(5.12.4)与QML一起使用。 我阅读了很多有关GSTREAMER在QT(QGStreamer,QMediaPlayer),不同GStreamer插件(QMLGLSink)等集成的信息。归根结底,我总是以自QT 5.12.xa GST Pipeline元素集成的QMediaPlayer结束。 我意识到了一个QT-QML应用程序,该应用程序将4个UDP/RTP流显示为一种预览,当我选择其中一个预览时,它将更改为全屏模式。全屏图像的进一步点击更改为预览模式。 但是表现并不真正满足。一个矿石的两个预览被冷冻,当我点击它们时,全屏幕正在工作,或者预览正在运行,并且全屏幕被冷冻。 这引发了我的问题: 我的嵌入式设备是否有性能问题? - >我会尽快检查一下。我可以排除一个频段问题,因为只有GSTREAMER可以使用。 与GST Pipeline的Mediaplayer是正确的方法吗? 是否还有其他使用QML QT具有更多性能的解决方案?
谢谢。
Because of display up to 4 UDP/RTP streams in different modes (single / dual / quad) I first decided to use GStreamer. It works but it is not easy to handle and I can not switch between viewing modes during runtime. To solve that issue I want to use Qt (5.12.4) with QML.
I read a lot about the integration of GStreamer in Qt (QGStreamer, QMediaPlayer), different GStreamer plugins (qmlglsink) and so on. At the end of the day I always end by the QMediaPlayer which integrates since Qt 5.12.x a gst-pipeline element.
I realized a Qt-QML application that show 4 UDP/RTP streams as a kind of preview and when I choose one of this previews it changes to full screen mode. A further tap on the full screen image changes back to preview mode.
BUT the performance is not really satisfied. Either one ore two previews are frozen and when I tap them the full screen is working or the preview is running and the full screen is frozen.
This leads me to the questions:
Is there a performance issue with my embedded device? -> I will check that soon. I can exclude a bandwith problem because only GStreamer works.
Is MediaPlayer with gst-pipeline the right way?
Are there other solutions with more performance using Qt with QML?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论