summaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-01-06 10:09:54 +0100
committerMaZderMind <git@mazdermind.de>2016-01-06 10:09:54 +0100
commitb57a5c55777e1bb6cc06cb9cd5aeabb5e0cda7ef (patch)
treee204c326eb24e92b030cbae14b7dbbdeb368f4a8 /example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
parent50739c687d9252ab7d5c851bf32a1fd056f6544d (diff)
update gstreamer test-source scripts
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-cam2.sh')
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam2.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
new file mode 100755
index 0000000..e51dd09
--- /dev/null
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+gst-launch-1.0 \
+ videotestsrc pattern=green !\
+ 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=10001