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 Hello,We need to start gstreamer from serial console , and see the video onthe 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 !xvimagesinkresults in: "could not open display".The same command works very well when we run it from the GUI byopening a terminal.How should we run gstreamer to make it work ?Thank you,ranran_______________________________________________gstreamer-embedded mailing listgstreamer-embedded@xxxxxxxxxxxxxxxxxxxxxhttps://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
|
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded