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. QtMultimedia issue, missing GStreamer after configure
Forum Updated to NodeBB v4.3 + New Features

QtMultimedia issue, missing GStreamer after configure

Scheduled Pinned Locked Moved Solved Mobile and Embedded
18 Posts 6 Posters 2.7k Views 3 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 matio

    Sorry for double-post, it semmed that I haven'nt installed pkg-config on my VM...

    Now it seems to be configured properly:

    Qt Multimedia:
      ALSA ................................... yes
      GStreamer 1.0 .......................... yes
      GStreamer 0.10 ......................... no
      Video for Linux ........................ yes
      OpenAL ................................. yes
      PulseAudio ............................. yes
      Resource Policy (libresourceqt5) ....... no
      Windows Audio Services ................. no
      DirectShow ............................. no
      Windows Media Foundation ............... no
    

    Thanks for your help !

    You saved my life !

    CKurduC Offline
    CKurduC Offline
    CKurdu
    wrote on last edited by
    #8

    @matio said in QtMultimedia issue, missing GStreamer after configure:

    VM

    Hi Matio,
    Can you play videos using Qt Multimedia with no problem? Because I didn't, it plays videos but a problematic way. I have raspberry pi 3 b+ and I use qt vlc library to work around this problem.

    You reap what you sow it

    M G 3 Replies Last reply
    0
    • CKurduC CKurdu

      @matio said in QtMultimedia issue, missing GStreamer after configure:

      VM

      Hi Matio,
      Can you play videos using Qt Multimedia with no problem? Because I didn't, it plays videos but a problematic way. I have raspberry pi 3 b+ and I use qt vlc library to work around this problem.

      M Offline
      M Offline
      matio
      wrote on last edited by
      #9

      @CKurdu

      Hi,

      I have not tested it for now, I just managed to compile. It took a few hours...
      But your comment seems to sadly confirm what I read here (last section of the page):

      https://wiki.qt.io/RaspberryPi2EGLFS?fbclid=IwAR14XF1aB41xqTVaZVKE_eddyezT1tSZcgM-zPmvyDIyEvUgvTSMPyZUT8A

      The issue seems to be relative to GStream and not solved yet.

      I'll try as soon as possible and keep you informed about this.

      1 Reply Last reply
      0
      • CKurduC CKurdu

        @matio said in QtMultimedia issue, missing GStreamer after configure:

        VM

        Hi Matio,
        Can you play videos using Qt Multimedia with no problem? Because I didn't, it plays videos but a problematic way. I have raspberry pi 3 b+ and I use qt vlc library to work around this problem.

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

        @CKurdu

        Hi,

        Finaly, I can't even play videos. I can only play sounds.

        When I compile and execute I have this mesasge:

        CRITICAL **: gst_video_decoder_set_latency: assertion 'GST_CLOCK_TIME_IS_VALID (min_latency)' failed

        So I will use libvlc unless you know what this error means.

        CKurduC 1 Reply Last reply
        0
        • M matio

          @CKurdu

          Hi,

          Finaly, I can't even play videos. I can only play sounds.

          When I compile and execute I have this mesasge:

          CRITICAL **: gst_video_decoder_set_latency: assertion 'GST_CLOCK_TIME_IS_VALID (min_latency)' failed

          So I will use libvlc unless you know what this error means.

          CKurduC Offline
          CKurduC Offline
          CKurdu
          wrote on last edited by
          #11

          @matio
          I am using vlc-qt for my current project. OMXPlayer may be another solution with QProcess but I haven't tried it yet.
          Which raspberry are you using?

          You reap what you sow it

          M 1 Reply Last reply
          0
          • CKurduC CKurdu

            @matio
            I am using vlc-qt for my current project. OMXPlayer may be another solution with QProcess but I haven't tried it yet.
            Which raspberry are you using?

            M Offline
            M Offline
            matio
            wrote on last edited by
            #12

            @CKurdu

            Hi, sorry for the late answer.

            I had issues installing vlc-qt, but suceededly install libvlc and it was what I needed finaly.

            I'm still interested in vlc-qt if you can help me.

            I'm using RaspberryPi 3B+

            CKurduC 1 Reply Last reply
            0
            • M matio

              @CKurdu

              Hi, sorry for the late answer.

              I had issues installing vlc-qt, but suceededly install libvlc and it was what I needed finaly.

              I'm still interested in vlc-qt if you can help me.

              I'm using RaspberryPi 3B+

              CKurduC Offline
              CKurduC Offline
              CKurdu
              wrote on last edited by
              #13

              @matio
              Hi, I didn't install vlc-qt , I installed vlc and compiled vlc-qt library. My project is not qml based. I am using a widget-based qt app and at this time I am successful.

              I can try to help you as much as I can.

              You reap what you sow it

              M 1 Reply Last reply
              0
              • CKurduC CKurdu

                @matio
                Hi, I didn't install vlc-qt , I installed vlc and compiled vlc-qt library. My project is not qml based. I am using a widget-based qt app and at this time I am successful.

                I can try to help you as much as I can.

                M Offline
                M Offline
                matio
                wrote on last edited by
                #14

                @CKurdu
                Hi!
                Thank you for your help.

                I followed the instructions of this page:

                https://github.com/vlc-qt/vlc-qt/blob/master/BUILDING.md

                But during the make step, at 93% of the compilation I have an error:

                /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: relocation error: /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: symbol qt_qhash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference
                AUTOUIC: error: process for ui_Player.h needed by
                 "/home/pi/vlc-qt/vlc-qt/tests/widgets/ui/Player.cpp"
                failed:
                /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: relocation error: /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: symbol qt_qhash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference
                
                uic failed...
                tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/build.make:60 : la recette pour la cible « tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc » a échouée
                make[2]: *** [tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc] Erreur 1
                make[2] : on quitte le répertoire « /home/pi/vlc-qt/vlc-qt/build »
                CMakeFiles/Makefile2:954 : la recette pour la cible « tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/all » a échouée
                make[1]: *** [tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/all] Erreur 2
                make[1] : on quitte le répertoire « /home/pi/vlc-qt/vlc-qt/build »
                Makefile:141 : la recette pour la cible « all » a échouée
                make: *** [all] Erreur 2
                

                Do you have an idea of what happened ?

                CKurduC 1 Reply Last reply
                0
                • CKurduC CKurdu

                  @matio said in QtMultimedia issue, missing GStreamer after configure:

                  VM

                  Hi Matio,
                  Can you play videos using Qt Multimedia with no problem? Because I didn't, it plays videos but a problematic way. I have raspberry pi 3 b+ and I use qt vlc library to work around this problem.

                  G Offline
                  G Offline
                  getgo
                  wrote on last edited by
                  #15

                  @CKurdu Hi, can your try change the amount of memory made for the GPU to 256? it's in the

                  raspi-config -> Advance option -> Memory split -> 256
                  

                  because I stuck to compiling gstreamer

                  1 Reply Last reply
                  1
                  • M matio

                    @CKurdu
                    Hi!
                    Thank you for your help.

                    I followed the instructions of this page:

                    https://github.com/vlc-qt/vlc-qt/blob/master/BUILDING.md

                    But during the make step, at 93% of the compilation I have an error:

                    /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: relocation error: /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: symbol qt_qhash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference
                    AUTOUIC: error: process for ui_Player.h needed by
                     "/home/pi/vlc-qt/vlc-qt/tests/widgets/ui/Player.cpp"
                    failed:
                    /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: relocation error: /usr/lib/arm-linux-gnueabihf/qt5/bin/uic: symbol qt_qhash_seed, version Qt_5 not defined in file libQt5Core.so.5 with link time reference
                    
                    uic failed...
                    tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/build.make:60 : la recette pour la cible « tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc » a échouée
                    make[2]: *** [tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc] Erreur 1
                    make[2] : on quitte le répertoire « /home/pi/vlc-qt/vlc-qt/build »
                    CMakeFiles/Makefile2:954 : la recette pour la cible « tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/all » a échouée
                    make[1]: *** [tests/widgets/CMakeFiles/Test_WidgetsPlayer_automoc.dir/all] Erreur 2
                    make[1] : on quitte le répertoire « /home/pi/vlc-qt/vlc-qt/build »
                    Makefile:141 : la recette pour la cible « all » a échouée
                    make: *** [all] Erreur 2
                    

                    Do you have an idea of what happened ?

                    CKurduC Offline
                    CKurduC Offline
                    CKurdu
                    wrote on last edited by
                    #16

                    @matio

                    I compiled vlc-qt on raspbian os. Also don't use "make -j8" command just use "make" or may be "make -j4"

                    You reap what you sow it

                    M 1 Reply Last reply
                    0
                    • CKurduC CKurdu

                      @matio

                      I compiled vlc-qt on raspbian os. Also don't use "make -j8" command just use "make" or may be "make -j4"

                      M Offline
                      M Offline
                      matio
                      wrote on last edited by
                      #17

                      @CKurdu

                      I compiled it on raspbian too and I haven't used the -j option.

                      I tried again today but I still have the same error.

                      The issue is surely related to this message:

                      "the version Qt_5 not defined in file libQt5Core.so.5"

                      But I don't know what this means and how to solve it.

                      1 Reply Last reply
                      0
                      • CKurduC Offline
                        CKurduC Offline
                        CKurdu
                        wrote on last edited by
                        #18

                        Which version of Qt did you install and how?

                        You reap what you sow it

                        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