aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-11 00:32:50 +0200
committerMaZderMind <github@mazdermind.de>2015-05-11 00:32:50 +0200
commit031632245e147e4532b252f91e31631570aa0fd3 (patch)
tree181833f353f7bbcf68a629bf323deba026d2d200 /voctocore/scripts
parent10058b623dee99ed54421ff204b51adcc9a379d0 (diff)
a rudimentary audio pipeline
Diffstat (limited to 'voctocore/scripts')
-rwxr-xr-xvoctocore/scripts/audio-play-cam1-mirror.sh5
-rwxr-xr-xvoctocore/scripts/audio-play-cam2-mirror.sh5
-rwxr-xr-xvoctocore/scripts/audio-source-cam1.sh2
-rwxr-xr-xvoctocore/scripts/audio-source-cam2.sh6
-rwxr-xr-xvoctocore/scripts/video-play-cam2-mirror.sh2
5 files changed, 18 insertions, 2 deletions
diff --git a/voctocore/scripts/audio-play-cam1-mirror.sh b/voctocore/scripts/audio-play-cam1-mirror.sh
new file mode 100755
index 0000000..e2d5905
--- /dev/null
+++ b/voctocore/scripts/audio-play-cam1-mirror.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+gst-launch-1.0 \
+ tcpclientsrc host=localhost port=23000 !\
+ gdpdepay !\
+ alsasink sync=false
diff --git a/voctocore/scripts/audio-play-cam2-mirror.sh b/voctocore/scripts/audio-play-cam2-mirror.sh
new file mode 100755
index 0000000..6881e43
--- /dev/null
+++ b/voctocore/scripts/audio-play-cam2-mirror.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+gst-launch-1.0 \
+ tcpclientsrc host=localhost port=23001 !\
+ gdpdepay !\
+ alsasink sync=false
diff --git a/voctocore/scripts/audio-source-cam1.sh b/voctocore/scripts/audio-source-cam1.sh
index 0ca10d8..f42bc3f 100755
--- a/voctocore/scripts/audio-source-cam1.sh
+++ b/voctocore/scripts/audio-source-cam1.sh
@@ -1,6 +1,6 @@
#!/bin/sh
gst-launch-1.0 \
- audiotestsrc !\
+ audiotestsrc freq=440 !\
audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
gdppay !\
tcpclientsink host=localhost port=20000
diff --git a/voctocore/scripts/audio-source-cam2.sh b/voctocore/scripts/audio-source-cam2.sh
new file mode 100755
index 0000000..84de3cb
--- /dev/null
+++ b/voctocore/scripts/audio-source-cam2.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+gst-launch-1.0 \
+ audiotestsrc freq=330 !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ gdppay !\
+ tcpclientsink host=localhost port=20001
diff --git a/voctocore/scripts/video-play-cam2-mirror.sh b/voctocore/scripts/video-play-cam2-mirror.sh
index 75e65c7..b4ff9e5 100755
--- a/voctocore/scripts/video-play-cam2-mirror.sh
+++ b/voctocore/scripts/video-play-cam2-mirror.sh
@@ -1,5 +1,5 @@
#!/bin/sh
gst-launch-1.0 \
- tcpclientsrc host=localhost port=13000 !\
+ tcpclientsrc host=localhost port=13001 !\
gdpdepay !\
xvimagesink