From 031632245e147e4532b252f91e31631570aa0fd3 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 11 May 2015 00:32:50 +0200 Subject: a rudimentary audio pipeline --- voctocore/scripts/audio-play-cam1-mirror.sh | 5 +++++ voctocore/scripts/audio-play-cam2-mirror.sh | 5 +++++ voctocore/scripts/audio-source-cam1.sh | 2 +- voctocore/scripts/audio-source-cam2.sh | 6 ++++++ voctocore/scripts/video-play-cam2-mirror.sh | 2 +- 5 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 voctocore/scripts/audio-play-cam1-mirror.sh create mode 100755 voctocore/scripts/audio-play-cam2-mirror.sh create mode 100755 voctocore/scripts/audio-source-cam2.sh (limited to 'voctocore/scripts') 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 -- cgit v1.2.3