Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt multimeia GStreamer-Critical error!
Qt 6.12 LTS is out! See what's new in the release blog

Qt multimeia GStreamer-Critical error!

Scheduled Pinned Locked Moved Unsolved General and Desktop
39 Posts 4 Posters 20.9k 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.
  • jsulmJ jsulm

    @JiujiuTong said in Qt multimeia GStreamer-Critical error!:

    but gstreamer0.10-plugins-bad, gstreamer0.10-plugins-ugly no long available

    Are you sure: https://launchpad.net/ubuntu/xenial/+package/gstreamer0.10-plugins-ugly ?
    Did you activate "universe", "restricted" and "multiverse" repositories?

    J Offline
    J Offline
    JiujiuTong
    wrote on last edited by
    #13

    @jsulm
    i have check all repositories in ubuntu software tab.
    are there other ways to check the repositories ?

    jsulmJ 1 Reply Last reply
    0
    • J JiujiuTong

      @jsulm
      i have check all repositories in ubuntu software tab.
      are there other ways to check the repositories ?

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

      @JiujiuTong Did you activate universe repository?
      If so then

      sudo apt-get install gstreamer0.10-plugins-ugly
      

      should be enough.
      I'm usually using synaptic graphical tool - you can search for gstreamer0.10-plugins-ugly there as well and check whether universe repository is activated.
      Also you can use

      apt-cache search gstreamer0.10-plugins-ugly
      

      to search.

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

      J 1 Reply Last reply
      1
      • jsulmJ jsulm

        @JiujiuTong Did you activate universe repository?
        If so then

        sudo apt-get install gstreamer0.10-plugins-ugly
        

        should be enough.
        I'm usually using synaptic graphical tool - you can search for gstreamer0.10-plugins-ugly there as well and check whether universe repository is activated.
        Also you can use

        apt-cache search gstreamer0.10-plugins-ugly
        

        to search.

        J Offline
        J Offline
        JiujiuTong
        wrote on last edited by JiujiuTong
        #15

        @jsulm
        i have checked the four repositories in system settings ->software& updates->ubuntu software tab.
        but failed to run sudo apt-get install gstreamer0.10-plugins-ugly
        info:
        Package gstreamer0.10-plugins-ugly is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source

        E: Package 'gstreamer0.10-plugins-ugly' has no installation candidate

        jsulmJ 1 Reply Last reply
        0
        • J JiujiuTong

          @jsulm
          i have checked the four repositories in system settings ->software& updates->ubuntu software tab.
          but failed to run sudo apt-get install gstreamer0.10-plugins-ugly
          info:
          Package gstreamer0.10-plugins-ugly is not available, but is referred to by another package.
          This may mean that the package is missing, has been obsoleted, or
          is only available from another source

          E: Package 'gstreamer0.10-plugins-ugly' has no installation candidate

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

          @JiujiuTong OK, looks like it is really not available on Ubuntu 16.04

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

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @JiujiuTong OK, looks like it is really not available on Ubuntu 16.04

            J Offline
            J Offline
            JiujiuTong
            wrote on last edited by
            #17

            @jsulm @SGaist @mrjj
            Then what should i do with my project ?
            is there anyway to combine the QT with gstreamer1.0 ?

            jsulmJ 1 Reply Last reply
            0
            • J JiujiuTong

              @jsulm @SGaist @mrjj
              Then what should i do with my project ?
              is there anyway to combine the QT with gstreamer1.0 ?

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

              @JiujiuTong Can you play this file with, for example, VLC?

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

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

                IIRC, since 5.8 the backend uses GStreamer 1.0. Otherwise, you can re-build the QtMultmedia module yourself against GStreamer 1.0

                On a side note, unless you need specific features or bug fixes of more recent versions, why not use your distribution provided Qt for development ?

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

                J 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @JiujiuTong Can you play this file with, for example, VLC?

                  J Offline
                  J Offline
                  JiujiuTong
                  wrote on last edited by
                  #20

                  @jsulm
                  yes,i can play file with VLC, but there are some other logical with my project, and i need to control playlist and other thing. so i think the best way is use functions provided by QT.

                  jsulmJ 1 Reply Last reply
                  0
                  • J JiujiuTong

                    @jsulm
                    yes,i can play file with VLC, but there are some other logical with my project, and i need to control playlist and other thing. so i think the best way is use functions provided by QT.

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

                    @JiujiuTong I didn't say you should use VLC - I only wanted to know whether the file is broken.

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

                    J 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @JiujiuTong I didn't say you should use VLC - I only wanted to know whether the file is broken.

                      J Offline
                      J Offline
                      JiujiuTong
                      wrote on last edited by
                      #22

                      @jsulm
                      the file is OK, it can be played by double click

                      1 Reply Last reply
                      0
                      • SGaistS SGaist

                        IIRC, since 5.8 the backend uses GStreamer 1.0. Otherwise, you can re-build the QtMultmedia module yourself against GStreamer 1.0

                        On a side note, unless you need specific features or bug fixes of more recent versions, why not use your distribution provided Qt for development ?

                        J Offline
                        J Offline
                        JiujiuTong
                        wrote on last edited by
                        #23

                        @SGaist
                        sorry for my poor English, do you mean i should use the latest QT version ?

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

                          It depends on what you need, either use the Qt from your distribution or indeed a more recent version. Current is 5.8.0 and 5.9Beta2 is available.

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

                          J 1 Reply Last reply
                          0
                          • SGaistS SGaist

                            It depends on what you need, either use the Qt from your distribution or indeed a more recent version. Current is 5.8.0 and 5.9Beta2 is available.

                            J Offline
                            J Offline
                            JiujiuTong
                            wrote on last edited by JiujiuTong
                            #25

                            @SGaist
                            well ,Thank you
                            i will try to compile QT5.7.1 against GStreamer 1.0. can you give me some instructions? thank you!
                            another thing is how to support hardware-accelerate? or it support it by default,but the default behavior of Gstreamer seem not enable hardware-accelerate.
                            my project finally runs on raspberry pi3, i do a lot efforts to make the QT5.7 deployed on rpi3. i'm worried about QT5.8....
                            i find a description:
                            1,install gstream1.0*
                            install libgstreamer1.0*
                            2, cd qt5.7.1
                            run ./configure -gstreamer 1.0
                            make
                            make install
                            is it right?

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

                              You don't need to re-build everything, if you already have a build then just re-build the QtMultimedia module.

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

                              J 1 Reply Last reply
                              0
                              • SGaistS SGaist

                                You don't need to re-build everything, if you already have a build then just re-build the QtMultimedia module.

                                J Offline
                                J Offline
                                JiujiuTong
                                wrote on last edited by JiujiuTong
                                #27

                                @SGaist
                                what should i do if i just want to rebuild QtMultimeida module with Gstreamer1.0? i have installed a QT with older GStreamer.
                                thank you !

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  JiujiuTong
                                  wrote on last edited by JiujiuTong
                                  #28

                                  @SGaist @jsulm @mrjj
                                  i finish the reinstall work with all modules rebuild,the output result is still NG.
                                  play the video with gstreamer command the output is below:
                                  gst-play-1.0 /home/tong/build-FMT-gstream1_0-Debug/src/Wildlife.wmv
                                  Press 'k' to see a list of keyboard shortcuts.
                                  Now playing /home/tong/build-FMT-gstream1_0-Debug/src/Wildlife.wmv
                                  libva info: VA-API version 0.39.0
                                  libva info: va_getDriverName() returns 0
                                  libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
                                  libva info: Found init function __vaDriverInit_0_39
                                  libva info: va_openDriver() returns 0
                                  Redistribute latency...
                                  Redistribute latency...
                                  Redistribute latency...
                                  0:00:30.0 / 0:00:30.0
                                  Reached end of play list.
                                  the video can play normally.

                                  while the output of my project (also the same result with QT example):
                                  libva info: VA-API version 0.39.0
                                  libva info: va_getDriverName() returns 0
                                  libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
                                  libva info: Found init function __vaDriverInit_0_39
                                  libva info: va_openDriver() returns 0
                                  just pops a blackscreen ,no video shows. strange...

                                  when i try to install gstreamer1.0
                                  there is an error:
                                  gstreamer1.0-hybris:i386:Depends: libmedia1:i386 but it is no going to be installed
                                  E: Unable to correct problems, you have held broken packages.

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

                                    Is that on your Pi or on your desktop ? If on your Pi then there's something strange since it talks about a i386 version of the package and the Pi is an ARM based machine.

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

                                    J 1 Reply Last reply
                                    0
                                    • J JiujiuTong

                                      @SGaist @jsulm @mrjj
                                      i finish the reinstall work with all modules rebuild,the output result is still NG.
                                      play the video with gstreamer command the output is below:
                                      gst-play-1.0 /home/tong/build-FMT-gstream1_0-Debug/src/Wildlife.wmv
                                      Press 'k' to see a list of keyboard shortcuts.
                                      Now playing /home/tong/build-FMT-gstream1_0-Debug/src/Wildlife.wmv
                                      libva info: VA-API version 0.39.0
                                      libva info: va_getDriverName() returns 0
                                      libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
                                      libva info: Found init function __vaDriverInit_0_39
                                      libva info: va_openDriver() returns 0
                                      Redistribute latency...
                                      Redistribute latency...
                                      Redistribute latency...
                                      0:00:30.0 / 0:00:30.0
                                      Reached end of play list.
                                      the video can play normally.

                                      while the output of my project (also the same result with QT example):
                                      libva info: VA-API version 0.39.0
                                      libva info: va_getDriverName() returns 0
                                      libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
                                      libva info: Found init function __vaDriverInit_0_39
                                      libva info: va_openDriver() returns 0
                                      just pops a blackscreen ,no video shows. strange...

                                      when i try to install gstreamer1.0
                                      there is an error:
                                      gstreamer1.0-hybris:i386:Depends: libmedia1:i386 but it is no going to be installed
                                      E: Unable to correct problems, you have held broken packages.

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

                                      @JiujiuTong said in Qt multimeia GStreamer-Critical error!:

                                      gstreamer1.0-hybris:i386:Depends: libmedia1:i386

                                      Are you trying to install x86 (32bit) version?

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

                                      J 1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        Is that on your Pi or on your desktop ? If on your Pi then there's something strange since it talks about a i386 version of the package and the Pi is an ARM based machine.

                                        J Offline
                                        J Offline
                                        JiujiuTong
                                        wrote on last edited by JiujiuTong
                                        #31

                                        @SGaist @jsulm
                                        currently , i just test on my ubuntu. my host is x64bit. i install gstreamer1.0 with command sudo apt-get install gstreamer1.0
                                        and can help give steps about how to rebuild only qtmultimedia module with gstreamer1.0?

                                        1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @JiujiuTong said in Qt multimeia GStreamer-Critical error!:

                                          gstreamer1.0-hybris:i386:Depends: libmedia1:i386

                                          Are you trying to install x86 (32bit) version?

                                          J Offline
                                          J Offline
                                          JiujiuTong
                                          wrote on last edited by JiujiuTong
                                          #32
                                          This post is deleted!
                                          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
                                          • Unsolved