Qml Video creation out of image stream from C++

Viewed 1888

After 10 days of endeavor, I'm back to the point of asking a fundamental question on my task.

I have a three-tier structure.

T1. A ROS project named 'MPC' which publishes a topic 'video_image' frames continuously (for example 30 frames of video image per second).

T2. C++ program developed as a Qt5.5 project-- kind of a middle worker.

T3. Image type object on a Qml UI(Qt5.5 Quick).

I want to show a video clip on T3 UI out of the frames from MPC(T1). Up to this time, what I can surely do is to create QImages out of the frames from T1 and I can create a temporary image file (for example, currentFrame.jpg) on PWD.

What should I do to feed the frame stream as a source to UI video player(that is, up to now, I'm still thinking Image type as a video player UI candidate.)

Was I following a possible way to a solution? What would be a feasible way to create a video viewer feed from those picture frames stream?

1 Answers
Related