has weston a rtsp video src support?
Barry Song
21cnbao at gmail.com
Tue Jul 23 21:24:25 UTC 2019
+ Tomohito Esaki
using remote-output i found i could broadcast a virtual screen through
UDP. but this screen is working as an extension of existing physical
screens. is it possible for it to mirror the existing screen,
displaying same content?
there is a "same-as" option for physical screen, but it seems it
doesn't work for remote-output:
https://lists.freedesktop.org/archives/wayland-devel/2018-April/037946.html
Barry Song <21cnbao at gmail.com> 于2019年7月22日周一 上午8:57写道:
>
> Daniel Stone <daniel at fooishbar.org> 于2019年7月21日周日 上午6:48写道:
> >
> > Hi Barry,
> >
> > On Sun, 21 Jul 2019 at 00:33, Barry Song <21cnbao at gmail.com> wrote:
> > > if i want to send the framebuffers using DRM backend as the video src
> > > in gstreamer to networks through rtsp, does weston have an existing
> > > solution.
> > >
> > > i mean something similar with the below for /dev/fb0 backend:
> > > sudo ./test-launch "( multifilesrc location=/dev/fb0 ! videoparse
> > > format=29 framerate=30/1 ! decodebin ! videoconvert ! x264enc !
> > > rtph264pay name=pay0 pt=96 )"
> > >
> > > but if the backend is DRM, it seems it is much different, only weston
> > > is the master of DRM.
> > >
> > > after some investigation, i found weston supports rdp and virtual
> > > remote display. but it seems both of them is not what i want.
> >
> > The DRM backend has remote-display support, which lets you specify an
> > arbitrary GStreamer pipeline as of the 7.0 alpha release. Details on
> > configuring it are available in the weston-drm manpage.
>
> Hi Daniel,
> Thanks for your information.
> Do you mean the below remote-output? is it a mirror of existing screen
> or is it a new separate screen?
> i mean whether i can display the same content on the remote output as
> the existing physical LCD like a clone mode?
> or the remote output is working as an extension of the existing screens?
>
> Section remote-output
> name=name
> Specify unique name for the output.
> mode=mode
> Specify the video mode for the output. The argument mode is a
> resolution setting, such as:
> mode=widthxheight mode=widthxheight at refresh_rate
> If refresh_rate is not specified it will default to a 60Hz.
> host=host
> Specify the host name or IP Address that the remote output will be
> transmitted to.
> port=port
> Specify the port number to transmit the remote output to. Usable port
> range is 1-65533.
>
> >
> >
> > CHeers,
> > Daniel
>
> -barry
More information about the wayland-devel
mailing list