Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Regarding QML Video performance on embedded
QtWS25 Last Chance

Regarding QML Video performance on embedded

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 133 Views
  • 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.
  • R Offline
    R Offline
    RobertB
    wrote on last edited by RobertB
    #1

    I have a potato (Orange Pi Zero2W), Qt6.6.1, and a 10mb .mp4 (1280x720, 2578 kb/s, h264).

    Playing it via QML results in 1fps:

    Video {
            id: video
            anchors.fill: parent
            source: "file:///tmp/test.mp4"
            fillMode: VideoOutput.Stretch
            muted: true
    }
    

    Backend is gstreamer 1.20.3.

    I know my device is 'slow' but it should at least be able to play videos smoothly (?). Any tips on how to play a video smoothly from Qt?

    Starting my application like this: QT_QPA_EGLFS_HIDECURSOR=1 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/qt6/lib/ /root/qml_hello -platform eglfs

    Edit: whoops, wrong forum category.

    1 Reply Last reply
    0
    • SGaistS SGaist moved this topic from General and Desktop on

    • Login

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