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; Unable to play
QtWS25 Last Chance

GStreamer; Unable to play

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
8 Posts 3 Posters 2.5k Views
  • 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.
  • O Offline
    O Offline
    Omkareshwar
    wrote on 19 Mar 2019, 11:56 last edited by
    #1

    Hello,

    I am trying to play a video on my embedded device. I am using sample player application comes in qt. When I tried to play video with it video get loaded as total duration is loaded on display but playing status duration is not updated . Also it gives error as "GStreamer; Unable to play".

    Qt version: QT5.7.1
    Embedded Device: Porter M2

    Please help me.

    J 1 Reply Last reply 19 Mar 2019, 13:22
    0
    • O Omkareshwar
      19 Mar 2019, 11:56

      Hello,

      I am trying to play a video on my embedded device. I am using sample player application comes in qt. When I tried to play video with it video get loaded as total duration is loaded on display but playing status duration is not updated . Also it gives error as "GStreamer; Unable to play".

      Qt version: QT5.7.1
      Embedded Device: Porter M2

      Please help me.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Mar 2019, 13:22 last edited by
      #2

      @Omkareshwar Are you able to play this video with some video player?
      Most probably some GStreamer plug-in is missing.

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

      O 1 Reply Last reply 20 Mar 2019, 05:06
      1
      • J jsulm
        19 Mar 2019, 13:22

        @Omkareshwar Are you able to play this video with some video player?
        Most probably some GStreamer plug-in is missing.

        O Offline
        O Offline
        Omkareshwar
        wrote on 20 Mar 2019, 05:06 last edited by
        #3

        @jsulm Yes I am able to play same video on my host machine.
        I also feel that some gstreamer plug-in's but can't figure out which one.
        Can you please suggest some plug-in's needed for playing video.

        J 1 Reply Last reply 20 Mar 2019, 05:31
        0
        • O Omkareshwar
          20 Mar 2019, 05:06

          @jsulm Yes I am able to play same video on my host machine.
          I also feel that some gstreamer plug-in's but can't figure out which one.
          Can you please suggest some plug-in's needed for playing video.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 20 Mar 2019, 05:31 last edited by
          #4

          @Omkareshwar said in GStreamer; Unable to play:

          Can you please suggest some plug-in's needed for playing video.

          This depends on the video file format. You can check which GStreamer plug-in packages are available on your device and try to install one after the other until you can play the video.

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

          O 1 Reply Last reply 22 Mar 2019, 05:24
          1
          • J jsulm
            20 Mar 2019, 05:31

            @Omkareshwar said in GStreamer; Unable to play:

            Can you please suggest some plug-in's needed for playing video.

            This depends on the video file format. You can check which GStreamer plug-in packages are available on your device and try to install one after the other until you can play the video.

            O Offline
            O Offline
            Omkareshwar
            wrote on 22 Mar 2019, 05:24 last edited by
            #5

            @jsulm I tired to install GStreamer plug-in on my target board and tried to play video but now error comes is "(gst-plugin-scanner:1560): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsteglglessink.so': /usr/lib/gstreamer-1.0/libgsteglglessink.so: undefined symbol: glEGLImageTargetTexture2DOES" . Can you please suggest any work around for this.

            J 1 Reply Last reply 22 Mar 2019, 06:39
            0
            • O Omkareshwar
              22 Mar 2019, 05:24

              @jsulm I tired to install GStreamer plug-in on my target board and tried to play video but now error comes is "(gst-plugin-scanner:1560): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgsteglglessink.so': /usr/lib/gstreamer-1.0/libgsteglglessink.so: undefined symbol: glEGLImageTargetTexture2DOES" . Can you please suggest any work around for this.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 22 Mar 2019, 06:39 last edited by
              #6

              @Omkareshwar said in GStreamer; Unable to play:

              /usr/lib/gstreamer-1.0/libgsteglglessink.so

              Try

              ldd /usr/lib/gstreamer-1.0/libgsteglglessink.so
              

              and see whether something is missing.

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

              O 1 Reply Last reply 22 Mar 2019, 11:13
              0
              • J jsulm
                22 Mar 2019, 06:39

                @Omkareshwar said in GStreamer; Unable to play:

                /usr/lib/gstreamer-1.0/libgsteglglessink.so

                Try

                ldd /usr/lib/gstreamer-1.0/libgsteglglessink.so
                

                and see whether something is missing.

                O Offline
                O Offline
                Omkareshwar
                wrote on 22 Mar 2019, 11:13 last edited by
                #7

                @jsulm
                ldd /usr/lib/gstreamer-1.0/libgsteglglessink.so

                    libGLESv2.so => /usr/lib/libGLESv2.so (0xb6e86000)
                    libgstegl-1.0.so.0 => /usr/lib/libgstegl-1.0.so.0 (0xb6e73000)
                    libgstvideo-1.0.so.0 => /usr/lib/libgstvideo-1.0.so.0 (0xb6e28000)
                    libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0xb6dc1000)
                    libgstreamer-1.0.so.0 => /usr/lib/libgstreamer-1.0.so.0 (0xb6cc0000)
                    libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6cad000)
                    libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb6c52000)
                    libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6b4c000)
                    libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb6afc000)
                    libpthread.so.0 => /lib/libpthread.so.0 (0xb6ad3000)
                    libEGL.so.1 => /usr/lib/libEGL.so.1 (0xb6ac0000)
                    libgbm.so.1 => /usr/lib/libgbm.so.1 (0xb6aae000)
                    libudev.so.1 => /lib/libudev.so.1 (0xb6a91000)
                    libcap.so.2 => /lib/libcap.so.2 (0xb6a7d000)
                    libresolv.so.2 => /lib/libresolv.so.2 (0xb6a57000)
                    libwayland-kms.so.0 => /usr/lib/libwayland-kms.so.0 (0xb6a45000)
                    libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0xb6a2a000)
                    libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0xb6a11000)
                    libffi.so.6 => /usr/lib/libffi.so.6 (0xb69fa000)
                    librt.so.1 => /lib/librt.so.1 (0xb69e2000)
                    libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb69c6000)
                    libm.so.6 => /lib/libm.so.6 (0xb6947000)
                    libdl.so.2 => /lib/libdl.so.2 (0xb6934000)
                    libc.so.6 => /lib/libc.so.6 (0xb67f1000)
                    libsrv_um.so => /usr/lib/libsrv_um.so (0xb67a3000)
                    libIMGegl.so => /usr/lib/libIMGegl.so (0xb677e000)
                    /lib/ld-linux-armhf.so.3 (0xb6f4b000)
                    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6750000)
                

                As per log it seems nothing is missing on system.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Cleiton Bueno
                  wrote on 26 Mar 2019, 02:01 last edited by
                  #8

                  Try to install:

                  gstreamer1.0
                  gstreamer1.0-plugins-bad
                  gstreamer1.0-plugins-base
                  gstreamer1.0-plugins-good
                  gstreamer1.0-plugins-ugly
                  

                  Cleiton Bueno

                  Blog | Linkedin | B2Open

                  1 Reply Last reply
                  2

                  2/8

                  19 Mar 2019, 13:22

                  topic:navigator.unread, 6
                  • Login

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