aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-cam2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/scripts/av-source-cam2.sh')
-rwxr-xr-xvoctocore/scripts/av-source-cam2.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-cam2.sh b/voctocore/scripts/av-source-cam2.sh
new file mode 100755
index 0000000..139a507
--- /dev/null
+++ b/voctocore/scripts/av-source-cam2.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+gst-launch-1.0 -vm \
+ videotestsrc pattern=ball !\
+ video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ timeoverlay valignment=bottom ! \
+ mux. \
+ \
+ audiotestsrc freq=330 !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ mux. \
+ \
+ matroskamux name=mux !\
+ tcpclientsrc host=localhost port=10001