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. GStreamer feature
Qt 6.11 is out! See what's new in the release blog

GStreamer feature

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
11 Posts 2 Posters 1.5k 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.
  • M Offline
    M Offline
    MichalF
    wrote on last edited by
    #1

    Hi,
    I am using QT 5.15.11
    and I try to configure it to support GStreamer.
    and I get this error:

    ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.

    here is my configuration file:

    #!/bin/bash
    /opt/Qt/5.15.11/Src/configure
    -prefix /usr/local/qt5
    -extprefix ~/imx6/qt5
    -device linux-imx6-g++
    -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
    -sysroot ~/vpe430_sys/linux_system/racine/rootfs
    -opensource
    -confirm-license
    -no-opengl
    -linuxfb
    -qpa linuxfb
    -skip qtnetworkauth -skip qt3d -skip activeqt
    -skip qtandroidextras -skip qtcanvas3d -skip qtcharts
    -skip qtconnectivity -skip qtdatavis3d -skip qtgamepad
    -skip qtlocation -skip macextras -skip qtremoteobjects
    -skip qtscript -skip qtscxml -skip qtserialbus
    -skip qtspeech -skip qttools -skip qttranslations
    -skip qtvirtualkeyboard -skip wayland -skip qtwebchannel
    -skip qtwinextras -skip qtx11extras -skip qtxmlpatterns
    -skip qtwebengine -skip qtwebsockets -skip qtwebview
    -gstreamer 1.0
    -nomake examples
    -nomake tests
    -v


    I also installed gstream in my system:

    gst-launch-1.0 --version
    gst-launch-1.0 version 1.14.4
    GStreamer 1.6.3
    http://packages.qa.debian.org/gstreamer1.0

    what can I do to fix this and support GStreamer?

    thanks,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you install the GStreamer development package ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MichalF
        wrote on last edited by MichalF
        #3

        Hello and thank you for response!
        yes, I did.
        here you can see:

        $ dpkg -l | grep libgstreamer1.0-dev

        ii libgstreamer1.0-dev:amd64 1.14.4-1 amd64 GStreamer core development files
        ii libgstreamer1.0-dev:armhf 1.14.4-1 armhf GStreamer core development files

        $ dpkg -l | grep libgstreamer-plugins-base1.0-dev

        ii libgstreamer-plugins-base1.0-dev:amd64 1.14.4-2+deb10u2 amd64 GStreamer development files for libraries from the "base" set
        ii libgstreamer-plugins-base1.0-dev:armhf 1.14.4-2+deb10u2 armhf GStreamer development files for libraries from the "base" set

        also the headers files:
        $ ls /usr/include/gstreamer-1.0/gst/gst.h

        /usr/include/gstreamer-1.0/gst/gst.h

        $ ls /usr/include/gstreamer-1.0/gst/gstplugin.h

        /usr/include/gstreamer-1.0/gst/gstplugin.h

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then check in the configuration logs what exactly made the detection fail.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          0
          • SGaistS SGaist

            Then check in the configuration logs what exactly made the detection fail.

            M Offline
            M Offline
            MichalF
            wrote on last edited by MichalF
            #5

            @SGaist Hi,
            It looks like when I configure it, there are some errors, like:

            fatal error: AL/al.h: No such file or directory
            #include <AL/al.h>
            ^~~~~~~~~
            compilation terminated.

            But I do have AL installed.
            Also:
            fatal error: alsa/asoundlib.h: No such file or directory
            #include <alsa/asoundlib.h>
            ^~~~~~~~~~~~~~~~~~
            compilation terminated.

            fatal error: assimp/cimport.h: No such file or directory
            #include <assimp/cimport.h>
            ^~~~~~~~~~~~~~~~~~
            compilation terminated.

            Could these errors affect gstreamer?

            thanks

            M 1 Reply Last reply
            0
            • M MichalF

              @SGaist Hi,
              It looks like when I configure it, there are some errors, like:

              fatal error: AL/al.h: No such file or directory
              #include <AL/al.h>
              ^~~~~~~~~
              compilation terminated.

              But I do have AL installed.
              Also:
              fatal error: alsa/asoundlib.h: No such file or directory
              #include <alsa/asoundlib.h>
              ^~~~~~~~~~~~~~~~~~
              compilation terminated.

              fatal error: assimp/cimport.h: No such file or directory
              #include <assimp/cimport.h>
              ^~~~~~~~~~~~~~~~~~
              compilation terminated.

              Could these errors affect gstreamer?

              thanks

              M Offline
              M Offline
              MichalF
              wrote on last edited by
              #6

              @MichalF
              also this error:
              Trying source 0 (type pkgConfig) of library gstreamer_1_0 ...
              pkg-config use disabled globally.
              => source produced no result.
              Trying source 1 (type inline) of library gstreamer_1_0 ...
              => source failed condition 'config.win32 || config.macos'.
              Trying source 2 (type inline) of library gstreamer_1_0 ...
              => source failed condition 'config.android && input.gstreamer != '''.
              test config.qtmultimedia_multimedia.libraries.gstreamer_1_0 FAILED

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                This is the error of interest.

                Did you nuke the build folder after installing the dev packages and before calling configure ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                M 1 Reply Last reply
                0
                • SGaistS SGaist

                  This is the error of interest.

                  Did you nuke the build folder after installing the dev packages and before calling configure ?

                  M Offline
                  M Offline
                  MichalF
                  wrote on last edited by MichalF
                  #8

                  @SGaist Hi
                  I have build it before, but now I want to add the multimedia support, so I try to reconfigure it and then do make again.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Ok, what I would do is to build the Qt Multimedia module independently, in a different folder, no need to rebuild the whole of Qt.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Ok, what I would do is to build the Qt Multimedia module independently, in a different folder, no need to rebuild the whole of Qt.

                      M Offline
                      M Offline
                      MichalF
                      wrote on last edited by
                      #10

                      @SGaist said in GStreamer feature:

                      to build the Qt Multimedia module independently, in a different folder, no need to rebuild the

                      How can I do that?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        The same way you would build a classic CMake based project. You can use the qt-cmake wrapper to help set things up.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        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