Running gst-launch-1.0 from serial console
Michael Gruner
michael.gruner at ridgerun.com
Wed Apr 24 19:46:52 UTC 2019
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 <ranshalit at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20190424/359de88b/attachment.html>
More information about the gstreamer-embedded
mailing list