wpevideosrc: Add a simple example for headless rendering

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5405>
This commit is contained in:
Philippe Normand 2023-09-27 15:24:05 +02:00 committed by GStreamer Marge Bot
parent 80cc1fcc03
commit ae7871c019

View file

@ -70,6 +70,12 @@
* ``` * ```
* Composite WPE with a video stream, sink_0 pad properties have to match the video dimensions. * Composite WPE with a video stream, sink_0 pad properties have to match the video dimensions.
* *
* ```shell
* weston -S $HOME/weston-sock -B headless-backend.so --use-gl &
* WAYLAND_DISPLAY=$HOME/weston-sock gst-launch-1.0 wpevideosrc location=https://google.com ! queue ! fakevideosink
* ```
* Render Google.com with WPE in a headless Weston compositor. This can be useful for server-side WPE video processing.
*
* Since: 1.16 * Since: 1.16
*/ */