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-CRITICAL" after loading qmediaplayer's libs and plugins
Forum Updated to NodeBB v4.3 + New Features

"GStreamer-CRITICAL" after loading qmediaplayer's libs and plugins

Scheduled Pinned Locked Moved Solved Mobile and Embedded
cross compileembeddedqmediaplayerarm
18 Posts 4 Posters 16.0k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Did you installed gstreamer's plugins ?

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

    ILI 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Did you installed gstreamer's plugins ?

      ILI Offline
      ILI Offline
      IL
      wrote on last edited by
      #3

      @SGaist Hi,
      I think so, what I do is copy libs into my target.
      currently I have copied:

      • libgstbase-1.0.so
      • libgsttag-1.0.so
      • libgstaudio-1.0.so
      • libgstvideo-1.0.so
      • libgstreamer-1.0.so
      • libgstapp-1.0.so
      • libgstpbutils-1.0.so
        Did I miss anything?

      IL

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

        Looks like the libs not the plugins. Search for something like gstreamer1.0-plugins-*

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

        ILI 1 Reply Last reply
        0
        • SGaistS SGaist

          Looks like the libs not the plugins. Search for something like gstreamer1.0-plugins-*

          ILI Offline
          ILI Offline
          IL
          wrote on last edited by
          #5

          @SGaist Hi,
          I have copied into my target all gst-plugins* .so files as you mention above but nothing change.
          Anything else that I can check?

          IL

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

            It's going to be a silly question but, are these plugins of the right architecture ?

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

            ILI 1 Reply Last reply
            0
            • SGaistS SGaist

              It's going to be a silly question but, are these plugins of the right architecture ?

              ILI Offline
              ILI Offline
              IL
              wrote on last edited by
              #7

              @SGaist Hi,
              If you asking about gst-plugins compilation, so all of the compilation done with my toolchain of-course.
              Is there spacific location for them or /usr/lib is good enough?

              My target working with Linux FB, is that an issue? Because I have another log that show "No m_videoSink available"
              When i have searched for that log i saw the code below in
              qtmultimedia/src/gsttols/qgstreamervideowindow.cpp and it concern me

              if (elementName) {
              m_videoSink = gst_element_factory_make(elementName, NULL);
              } else if (QGuiApplication::platformName().compare(QLatin1String("xcb"), Qt::CaseInsensitive) == 0) {
              // We need a native X window handle to be able to use xvimagesink.
              // Bail out if Qt is not using xcb (the control will then be ignored by the plugin)
              m_videoSink = gst_element_factory_make("xvimagesink", NULL);
              }

              if (m_videoSink) {
              ...
              }
              else
              qDebug() << "No m_videoSink available!";
              Dose QtMultimedia gstreamer-1.0 support has been written for xcb and No eglfs, linuxfb, directfb, etc is available?

              Best regards,
              IL

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

                What SGaist asked is: did you compile the plugins for ARM architecture?
                Is your toolchain for cross-compilation for ARM?

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

                ILI 1 Reply Last reply
                0
                • jsulmJ jsulm

                  What SGaist asked is: did you compile the plugins for ARM architecture?
                  Is your toolchain for cross-compilation for ARM?

                  ILI Offline
                  ILI Offline
                  IL
                  wrote on last edited by
                  #9

                  @jsulm Hi,
                  Sure, all are cross-compiled for my ARM target using my toolchain as I mention in the first line.

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

                    I don't know exactly where your custom gstreamer expects its plugins but you have some information about that here

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

                    ILI 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      I don't know exactly where your custom gstreamer expects its plugins but you have some information about that here

                      ILI Offline
                      ILI Offline
                      IL
                      wrote on last edited by
                      #11

                      Thanks SGaist ,
                      What about my question above...
                      Dose QtMultimedia gstreamer-1.0 support has been written for xcb and No eglfs, linuxfb, directfb, etc is available?
                      Can someone give information about that?

                      IL

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

                        AFAIK it't not dependent on the QPA plugin

                        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
                        • ILI Offline
                          ILI Offline
                          IL
                          wrote on last edited by
                          #13

                          Found the missing plugins
                          Playing AVI required:

                          • typedefinefunction lib
                          • inter lib
                          • autodetect lib
                          • libav codecs
                          • avi

                          And of-course I have new isuue :-(
                          Failed to start video surface due to main thread blocked
                          Thanks For the help, I probably start a new thread.
                          IL

                          Ryan LeeR 1 Reply Last reply
                          0
                          • ILI Offline
                            ILI Offline
                            IL
                            wrote on last edited by
                            #14

                            How do I change the post to "SOLVED"?

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

                              Glad you could go further !

                              You can use the "Topic Tool" button for that :)

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

                              ILI 1 Reply Last reply
                              0
                              • SGaistS SGaist

                                Glad you could go further !

                                You can use the "Topic Tool" button for that :)

                                ILI Offline
                                ILI Offline
                                IL
                                wrote on last edited by
                                #16

                                @SGaist Thanks!

                                1 Reply Last reply
                                0
                                • ILI IL

                                  Found the missing plugins
                                  Playing AVI required:

                                  • typedefinefunction lib
                                  • inter lib
                                  • autodetect lib
                                  • libav codecs
                                  • avi

                                  And of-course I have new isuue :-(
                                  Failed to start video surface due to main thread blocked
                                  Thanks For the help, I probably start a new thread.
                                  IL

                                  Ryan LeeR Offline
                                  Ryan LeeR Offline
                                  Ryan Lee
                                  wrote on last edited by
                                  #17

                                  @IL How could i find the missing plugins?

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • Ryan LeeR Ryan Lee

                                    @IL How could i find the missing plugins?

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

                                    @Ryan-Lee Set QT_DEBUG_PLUGINS variable before starting your app and analysehttps://doc.qt.io/qt-5.10/debug.html its output.
                                    See https://doc.qt.io/qt-5.10/debug.html

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

                                    1 Reply Last reply
                                    1

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved