Qt 6.11 is out! See what's new in the release
blog
QtMobility play the same video in eight windows
General and Desktop
1
Posts
1
Posters
1.1k
Views
1
Watching
-
I have written application which plays video. It uses QMediPlayer and QGraphicsVideoItem. My task is to play the same video in eight small windows. I cant connect player to several QGraphicsVideoItem. I could create five QMediPlayers elements and five QGraphicsVideoItem. But its not good solution because it costs a lot of perfomance(cpu usage goes up to 50-90% and needs alot of memory).
So I decided to use frame grabbing from QGraphicsVideoItem and show the frame in elements of class derived from QAbstractVideoSurface. Is it good solution? If it does how I could implement it in code. Otherwise please give me another advices.