Playlist video using VPU and Qt Multimedia
-
Hello everyone,
I cross-compiled Qt 6.5.7 for a board based on the Rockchip RK3568J processor.
The system runs Debian 11 with X11/XCB and GStreamer installed, including Rockchip VPU packages/drivers.
For testing, I started with the official Qt “Media Player Example” demoTest 1: with VPU
- loading and playing a video works fine.
- when the video reaches the end (End Of Media), attempting to replay it or play another video causes a Segmentation Fault.
Test 2: without VPU
I did a second test without forcing the use of the VPU.
In this case it’s works fine.It looks like there's a problem with the integration of VPU(mpp video decoder), Gstreamer and QtMultimedia.
If I launch the Gstreamer pipeline from command line, using the mppvideo decoder and the rkximagesink to use VPU, it works, but this sink, open a new window and it is not useful to integrate it in my Qt app.
If i try to use glimagesink, using the mppvideodec, the system seems to fall back also to CPU decoder.Could you help me? I have to show a playlist video in my Qt app using VPU.
-
based on your limited description I would concur with your conclusions. Unforunately I have no real advice, other than to maybe swap out the backend to FFMPEG and see if VPU with a different backend makes a difference. ie something other than gstreamer