Skip to content

Commit b4164e3

Browse files
fitradityaSean-Der
authored andcommitted
Add ximagesrc example to gstreamer-send
1 parent bf037f1 commit b4164e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gstreamer-send/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ These pipelines work on Linux, they may have issues on other platforms. We would
5151

5252
`echo $BROWSER_SDP | gstreamer-send -video-src "autovideosrc ! video/x-raw, width=320, height=240 ! videoconvert ! queue"`
5353

54+
* desktop capture on X11
55+
56+
`echo $BROWSER_SDP | gstreamer-send -video-src "ximagesrc startx=1280 show-pointer=true use-damage=0 ! video/x-raw, framerate=30/1 ! videoscale method=0 ! video/x-raw, width=1280, height=720 ! videoconvert ! queue"`
57+
5458
* a pre-recorded video, sintel.mkv is available [here](https://durian.blender.org/download/)
5559

5660
`echo $BROWSER_SDP | gstreamer-send -video-src "uridecodebin uri=file:///tmp/sintel.mkv ! videoscale ! video/x-raw, width=320, height=240 ! queue " -audio-src "uridecodebin uri=file:///tmp/sintel.mkv ! queue ! audioconvert"`

0 commit comments

Comments
 (0)