This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

running gst on uEVM

Hello,

I am running the GLSDK - 6.00.00.07. I am facing the following problem running gst:

videosink host:~# gst-launch-0.10 playbin2 uri=file:///video.mp4 video-sink=dri2videosink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
libdce-x11.c:64:        dce_auth_x11    info: attempting to open X11 connection
libdce-x11.c:67:        dce_auth_x11    error: Could not open display
libdce.c:447:   init    info: no X11/wayland, fallback to opening DRM device directly
ERROR: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0: Configured videosink bin0 is not working.
Additional debug info:
gstplaysink.c(1392): gen_video_chain (): /GstPlayBin2:playbin20/GstPlaySink:playsink0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
root@localhost:~#

I have executed "startx" before running the gst-launch command. Any help will be deeply appreciated.

 

  • Varun,

    (1) to use dri2videosink, you need to start X11 ("startx") and then define the DISPLAY variable ("export DISPLAY=:0")

    (2) to use kmssink, you need the opposite conditions: X11 not started, and DISPLAY not defined ("unset DISPLAY", to be sure)

    Then you may use either video-sink=dri2videosink or video-sink=kmssink.
    Hope this helps.

    Regards,
    -- Olivier