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. QtMultimedia work with Gstreamer 1.0

QtMultimedia work with Gstreamer 1.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtmultimedia
17 Posts 5 Posters 15.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.
  • sbenejamS Offline
    sbenejamS Offline
    sbenejam
    wrote on last edited by sbenejam
    #5

    I build qtmultimedia from Qt5.6 source with qmake -r GST_VERSION=1.0, make, make install. Then I rebuild application that uses qtmultimedia with Qt5.6 and video don't work, sound from video is played, video window is black.
    Maybe I miss some steps.

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

      Did you install GStreamer 1.0 plugins packages ?

      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
      • sbenejamS Offline
        sbenejamS Offline
        sbenejam
        wrote on last edited by
        #7

        Yes all Gstreamer 1.0 plugins packages are installed. Video examples from Qt5.6 works as expected.

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

          Just to be sure I understand things correctly, the Qt Multimedia example is working just fine but your application is missing the video part ?

          What are you doing differently to setup your video widget ?

          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
          • sbenejamS Offline
            sbenejamS Offline
            sbenejam
            wrote on last edited by
            #9

            I'm trying to compile this program https://github.com/mcallegari/qlcplus

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

              Then you should contact the authors of that project about that matter.

              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
              • R Offline
                R Offline
                Raz3l
                wrote on last edited by
                #11

                Sorry to "reactivate" this post again but I am stuck with the same problem. I I am running qt on a Ubuntu 16.04 LTS and using Qt 5.7 installed by and online installer. How can I enable the QtMultimedia with Gstreamer 1.0? I see that it's possible to build the QtMultimedia sources and configure them to use 1.0, but I don't have the knowledge how can I do that, if I read this post correctly. Can you provide so more deep information on how to do that building?

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

                  Hi,

                  @sbenejam wrote it:

                  qmake -r GST_VERSION=1.0
                  make
                  make install
                  

                  qmake must be the one from the Qt version you want to modify.

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

                  R 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    Hi,

                    @sbenejam wrote it:

                    qmake -r GST_VERSION=1.0
                    make
                    make install
                    

                    qmake must be the one from the Qt version you want to modify.

                    R Offline
                    R Offline
                    Raz3l
                    wrote on last edited by
                    #13

                    @SGaist Solved! Thank you !

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tamolo
                      wrote on last edited by tamolo
                      #14

                      Sorry if my question is silly but i built the QtMultimedia with
                      "qmake -r GST_VERSION=1.0
                      make
                      make install" but how to replace this QtMultimedia with the old Multimedia in my Qt5.7. Just copy and paste some folder from new QtMultimedia to old Multimedia or what should i do? . Can anyone please tell me.

                      jsulmJ 1 Reply Last reply
                      0
                      • T tamolo

                        Sorry if my question is silly but i built the QtMultimedia with
                        "qmake -r GST_VERSION=1.0
                        make
                        make install" but how to replace this QtMultimedia with the old Multimedia in my Qt5.7. Just copy and paste some folder from new QtMultimedia to old Multimedia or what should i do? . Can anyone please tell me.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #15

                        @tamolo I would expect "make install" to put the new libs in your old installation if you used the correct qmake.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        T 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @tamolo I would expect "make install" to put the new libs in your old installation if you used the correct qmake.

                          T Offline
                          T Offline
                          tamolo
                          wrote on last edited by
                          #16

                          @jsulm Thank you for your reply but i don't understand. Can you show me the details.
                          Path to Qt5.7 is home/Qt5.7 (all the library is here)
                          Path to QtMultimedia is home/QtMultimedia ( haven't built with qmake)
                          Now i want to replace the QtMultimedia library in home/Qt5.7 by the new one in home/QtMultimedia.
                          Can you please show me the details?

                          jsulmJ 1 Reply Last reply
                          0
                          • T tamolo

                            @jsulm Thank you for your reply but i don't understand. Can you show me the details.
                            Path to Qt5.7 is home/Qt5.7 (all the library is here)
                            Path to QtMultimedia is home/QtMultimedia ( haven't built with qmake)
                            Now i want to replace the QtMultimedia library in home/Qt5.7 by the new one in home/QtMultimedia.
                            Can you please show me the details?

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #17

                            @tamolo You used qmake from home/Qt5.7 to build QtMultimedia, right? In this case make install should copy it to home/Qt5.7. If it did not then you still can copy the stuff manually. Actually, if you call "make install" you see what it is installing where.

                            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