Important: Please read the Qt Code of Conduct -

The sample implementation of QtGstreamer does not work on AGL

  • We are trying to use QtGstreamer on AGL but nothing is displayed by using the sample implementation.
    -> We have replaced the contents of the reference application on AGL with qmlplayer2.

    We are seeing the following log and we think there is something wrong.

    [5350]: Using Wayland-EGL
    [5350]: Failed to create qtquick2videosink. Make sure it is installed correctly
    [5350]: Using the 'ivi-shell' shell integration

    Q1) Is there anyone who has displayaed the image by using QtGstreamer on AGL ?

    Q2) Looking at the implementation of the reference application(settings) on AGL, the screen is constructed by using ApplicationWindow on QML. In addition, the following implementation is used for displaying the image.

        ApplicationWindow {
            id: root
        QQmlApplicationEngine engine;
        QObject *root = engine.rootObjects().first();
        QQuickWindow *window = qobject_cast<QQuickWindow *>(root);
        QObject::connect(window, SIGNAL(frameSwapped()), qwm, SLOT(slotActivateSurface())

    Regarding ApplicationWindow, do you have any sample implementations showing how to achieve the functionalily of QtGstreamer ?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What is AGL ?

  • Thanks for the response.
    AGL stands for Automotive Grade Linux.

    We are investigating if we are able to use QtGstreamer by looking at AGL reference application, but so far we are not sure how to utilize it.
    Looking at the reference application, the implimentation is blow:
    2.6. Get application displays in homescreen

    We want to know how to adopt QtGstreamer for QQuickWindow.
    I'd appreciate it if you could give me your opinion on it.

  • Lifetime Qt Champion

    While I really like the bindings themselves, the GStreamer folks have updated their Wiki page about it and wrote that they are now unmaintained. However, you have the qmlglsink that you should be able to use.

    You should contact them for more information about it.

Log in to reply