Re: Running gst-launch-1.0 from serial console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

On Apr 24, 2019, at 1:38 PM, Ranran <ranshalit@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux