GStreamer; Unable to play



  • 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.


  • Qt Champions 2018

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



  • @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.


  • Qt Champions 2018

    @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.



  • @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.


  • Qt Champions 2018

    @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.



  • @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.



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.