You may try to set the display. Something like DISPLAY=:0 gst-launch-1.0 -v v4l2src device=/dev/video0 ! > > 'video/x-raw,framerate=(fraction)50/1,format=RGB' ! videoconvert ! > xvimagesink
The :0 part may vary, but that’s typically the default value. Of course you can export it to make it last for the entire session. Michael www.ridgerun.com > On Apr 24, 2019, at 1:38 PM, Ranran <ransha...@gmail.com> wrote: > > Hello, > > We need to start gstreamer from serial console , and see the video on > the display output (regular hdmi interface). > > But trying: > gst-launch-1.0 -v v4l2src device=/dev/video0 ! > 'video/x-raw,framerate=(fraction)50/1,format=RGB' ! videoconvert ! > xvimagesink > > results in: "could not open display". > > The same command works very well when we run it from the GUI by > opening a terminal. > > How should we run gstreamer to make it work ? > > Thank you, > ranran > _______________________________________________ > gstreamer-embedded mailing list > gstreamer-embedded@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________ gstreamer-embedded mailing list gstreamer-embedded@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded