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. QT Wayland Compositor example is not capable of handling videos
Qt 6.11 is out! See what's new in the release blog

QT Wayland Compositor example is not capable of handling videos

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 334 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.
  • W Offline
    W Offline
    waylander
    wrote on last edited by waylander
    #1

    Greetings,

    I am working on my own Wayland compositor and have been extending the official example in C++ known as minimal-cpp. However, I've encountered a problem: the compositor is unable to handle videos. From the information I've gathered online, I understand that the surfaces and sub-surfaces of the views should be handled automatically by the Qt framework, including any communication with OpenGL.

    There's another example in QML, also called minimal-qml. Interestingly, this example is capable of playing videos, something the C++ example can't do.

    I require this capability in the C++ example, so I'm left wondering why the minimal QML can handle video formats, while the minimal C++ cannot?
    What's more, the QML example supports both xdg and ivi surfaces, but if I disable xdg surface, it too becomes incapable of playing videos.

    I would greatly appreciate it if someone could assist me in understanding this issue, particularly in regards to handling video formats in the minimal C++ example.

    EDIT: To play the videos I am using this video widget from this example https://doc.qt.io/qt-6/qtmultimedia-videowidget-example.html. I tried this in qt version 6.5.2 and 6.7.2, same results for both .

    Thank you for your help in advance.

    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