Re:Using Qt for Mobile in 2023
by zerr on Tuesday December 26, 2023 @03:35AM
(#38769922)
For something more data demanding, e.g. a video player, do you have to copy every frame from C++ world to QML/JavaScript in order to display it?
[ Parent
| on HN ]
No, you'd use something like libmpv and tell it to which rectangle render the video.
It's possible to implement custom QQuickItems that you render in C++, and are displayed within your QML somewhere.
I never dealt with video, so I don't know, but I assume there are Qt Quick components for this?[1]
[1] https://doc.qt.io/qt-6/qtmultimedia-video-mediaplayer-exampl...
Re:Using Qt for Mobile in 2023
by saidinesh5 on Tuesday December 26, 2023 @06:50AM
(#38770974)
This really depends on the target platform , Qt version you are using.
To put things into perspective, With Gstreamer/QML, we've had smooth 1080p30 fps on measly imx6ul hardware, thanks to zero copy pipelines.