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. [Solved] Missing gstreamer mediaservices in Qt5.2.1
Forum Updated to NodeBB v4.3 + New Features

[Solved] Missing gstreamer mediaservices in Qt5.2.1

Scheduled Pinned Locked Moved Mobile and Embedded
19 Posts 3 Posters 13.6k 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.
  • N Offline
    N Offline
    Neuer_User
    wrote on last edited by
    #7

    If anybody is interested, here is the corresponding commit:

    https://github.com/meta-qt5/meta-qt5/commit/faad8d1df1aee67f9d1a7e9ea3c13f92d04baf8e

    I try now to build with

    @PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010"@

    in my local.conf. Let's see if that works.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Neuer_User
      wrote on last edited by
      #8

      Ok, this works. Mediaservices for gstreamer are now built. So far, so good.

      Unfortunately, while Qt5.2.1 does indeed better than Qt5.1.1 on some operations, multimedia is not better at all.

      Result on a quad-core imx6 device:

      Playing an HD video stream using gstreamer: CPU < 10% usage
      In Qt5: 100% of one core (QSGRender)

      Playing a FHD video stream using gstreamer: CPU < 15 usage
      in Qt5: 100% CPU usage, unplayable, very low fps, lots of dropped frames

      Playing a 640x480 rtsp stream with gstreamer: CPU < 5% usage, nearly no frame drops
      in Qt5: CPU <5-10% usage, but unplayable, very low fps, lots of dropped frames (>90%)

      The integration of imx6 in Qt5 multimedia still seems to be very much lacking. I should probably consider moving to a baytrail system, hoping that the integration is better there.

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

        Glad you succeeded building Qt 5.2.1

        For the performance problem, you should bring it to the interest mailing list you'll find there Qt's developers/maintainers

        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
        • N Offline
          N Offline
          Neuer_User
          wrote on last edited by
          #10

          Thanks, sounds like a good idea. Any idea which group / mailing list? You mean those under the "groups" link, right? Should I use the Linux group or is there a special group for imx6?

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

            You're welcome !

            Nop, I mean this "mailing list":http://lists.qt-project.org/mailman/listinfo/interest

            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
            • N Offline
              N Offline
              Neuer_User
              wrote on last edited by
              #12

              Done that. Let's see what comes out of this. Otherwise, I would need to lok at a different platform (bay trail?), although I really like the imx6 products available today (seen the cubox-i? really cude :-) ).

              1 Reply Last reply
              0
              • N Offline
                N Offline
                Neuer_User
                wrote on last edited by
                #13

                Interesting answer on the interest list. As it seems in Qt5.3 there is a new commit, which should help very much with the performance problem:

                https://codereview.qt-project.org/#change,76764

                Now, I need to find out, how to get Qt5.3. I'm using Yocto and the meta-qt5 branch. Either I am lucky and it's already there, or I need to find out, howto compile it without Yocto.

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

                  Or you could check how meta-qt5 is prepared and create yours

                  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
                  • N Offline
                    N Offline
                    Neuer_User
                    wrote on last edited by
                    #15

                    I was in contact with Martin Jensa. He does have a 5.3 branch. I was able to compile and deploy it, but gstreamer (in Qt) hangs when trying to play a video. I need to find out, why.

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      Neuer_User
                      wrote on last edited by
                      #16

                      Good news (and some bad news)!!!!

                      Video play in Qt5.3 on imx6 is really much, much better!!!!

                      However, either something in QT5.3 has changed versus Qt5.2 or theer is somewhere a bug in Qt5.3. My app is no longer working. It just doesn't start the video. (Actually it DOES start video playback but then it hangs. No idea, why, so far... It worked perfectly with 5.2.1.

                      1 Reply Last reply
                      0
                      • N Offline
                        N Offline
                        Neuer_User
                        wrote on last edited by
                        #17

                        Solved the problem. Some behaviour changed in Qt5.3. Easy to fix.

                        Here are my notes on compiling Qt5.3 on Yocto, if anybody is interested: https://community.freescale.com/docs/DOC-100419

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

                          Nice !

                          Thanks for sharing the guide

                          Since you have it working, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

                          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
                          • B Offline
                            B Offline
                            ben80
                            wrote on last edited by
                            #19

                            bq. I try now to build with PACKAGECONFIG_append_pn-qtmultimedia = " gstreamer010" in my local.conf. Let’s see if that works.

                            Can you tell me which file "local.conf" you used? I am trying to do the same, and i am stuck at the same point. This solutions seems to be the most promising one on the web

                            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