Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Playlist video using VPU and Qt Multimedia

Playlist video using VPU and Qt Multimedia

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 131 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paolo_97
    wrote on last edited by
    #1

    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” demo

    Test 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.

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      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

      If you meet the AI on the road, kill it.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved