Skip to content

Can this library play videos? #484

Answered by uwerat
hestrro asked this question in Q&A
Discussion options

You must be logged in to vote

In general this is the job of a multimedia framework - like f.e gstreamer.

Qt offers a wrapper around such frameworks known as Qt/Multimedia: https://doc.qt.io/qt-6/qtmultimedia-index.html
However the Qt/Quick APIs of Qt/Multimedia is only available from QML - even if everything that matters is implemented in C++.

QSkinny could offer a C++ API for the Qt/Quick Multimedia part - however using gstreamer without an extra wrapper seems to make more sense. Maybe have a look at https://gstreamer.freedesktop.org/documentation/qmlgl/qmlglsink.html ( hope this has nothing to do with QML despite its name )

See https://github.com/GStreamer/gst-plugins-good/blob/master/tests/examples/qt/qmlsink/main.cpp

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hestrro
Comment options

Answer selected by hestrro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants