QtMobility play the same video in eight windows
-
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.