diff options
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-grabber.sh')
-rwxr-xr-x | example-scripts/gstreamer/source-videotestsrc-as-grabber.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh new file mode 100755 index 0000000..37d8961 --- /dev/null +++ b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh @@ -0,0 +1,12 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc pattern=blue !\ + video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 !\ + mux. \ + \ + audiotestsrc !\ + audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ + mux. \ + \ + matroskamux name=mux !\ + tcpclientsink host=localhost port=10002 |