From ff90df796c715ee9c95fb8a2152cea2698fe92ab Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 10 May 2015 20:59:37 +0200 Subject: implement mixer & test-output --- voctocore/scripts/audio-source-cam1.sh | 6 ++++++ voctocore/scripts/play-cam1-mirror.sh | 5 ----- voctocore/scripts/test-audio-cam1.sh | 6 ------ voctocore/scripts/test-video-cam1.sh | 7 ------- voctocore/scripts/video-play-cam1-mirror.sh | 5 +++++ voctocore/scripts/video-play-cam2-mirror.sh | 5 +++++ voctocore/scripts/video-play-mixer-output.sh | 5 +++++ voctocore/scripts/video-source-cam1.sh | 7 +++++++ voctocore/scripts/video-source-cam2.sh | 7 +++++++ 9 files changed, 35 insertions(+), 18 deletions(-) create mode 100755 voctocore/scripts/audio-source-cam1.sh delete mode 100755 voctocore/scripts/play-cam1-mirror.sh delete mode 100755 voctocore/scripts/test-audio-cam1.sh delete mode 100755 voctocore/scripts/test-video-cam1.sh create mode 100755 voctocore/scripts/video-play-cam1-mirror.sh create mode 100755 voctocore/scripts/video-play-cam2-mirror.sh create mode 100755 voctocore/scripts/video-play-mixer-output.sh create mode 100755 voctocore/scripts/video-source-cam1.sh create mode 100755 voctocore/scripts/video-source-cam2.sh (limited to 'voctocore/scripts') diff --git a/voctocore/scripts/audio-source-cam1.sh b/voctocore/scripts/audio-source-cam1.sh new file mode 100755 index 0000000..0ca10d8 --- /dev/null +++ b/voctocore/scripts/audio-source-cam1.sh @@ -0,0 +1,6 @@ +#!/bin/sh +gst-launch-1.0 \ + audiotestsrc !\ + audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ + gdppay !\ + tcpclientsink host=localhost port=20000 diff --git a/voctocore/scripts/play-cam1-mirror.sh b/voctocore/scripts/play-cam1-mirror.sh deleted file mode 100755 index 75e65c7..0000000 --- a/voctocore/scripts/play-cam1-mirror.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -gst-launch-1.0 \ - tcpclientsrc host=localhost port=13000 !\ - gdpdepay !\ - xvimagesink diff --git a/voctocore/scripts/test-audio-cam1.sh b/voctocore/scripts/test-audio-cam1.sh deleted file mode 100755 index 0ca10d8..0000000 --- a/voctocore/scripts/test-audio-cam1.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -gst-launch-1.0 \ - audiotestsrc !\ - audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\ - gdppay !\ - tcpclientsink host=localhost port=20000 diff --git a/voctocore/scripts/test-video-cam1.sh b/voctocore/scripts/test-video-cam1.sh deleted file mode 100755 index e920c43..0000000 --- a/voctocore/scripts/test-video-cam1.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -gst-launch-1.0 \ - videotestsrc !\ - video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\ - timeoverlay valignment=bottom !\ - gdppay !\ - tcpclientsink host=localhost port=10000 diff --git a/voctocore/scripts/video-play-cam1-mirror.sh b/voctocore/scripts/video-play-cam1-mirror.sh new file mode 100755 index 0000000..75e65c7 --- /dev/null +++ b/voctocore/scripts/video-play-cam1-mirror.sh @@ -0,0 +1,5 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=13000 !\ + gdpdepay !\ + xvimagesink diff --git a/voctocore/scripts/video-play-cam2-mirror.sh b/voctocore/scripts/video-play-cam2-mirror.sh new file mode 100755 index 0000000..75e65c7 --- /dev/null +++ b/voctocore/scripts/video-play-cam2-mirror.sh @@ -0,0 +1,5 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=13000 !\ + gdpdepay !\ + xvimagesink diff --git a/voctocore/scripts/video-play-mixer-output.sh b/voctocore/scripts/video-play-mixer-output.sh new file mode 100755 index 0000000..c33b8f3 --- /dev/null +++ b/voctocore/scripts/video-play-mixer-output.sh @@ -0,0 +1,5 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=11000 !\ + gdpdepay !\ + xvimagesink diff --git a/voctocore/scripts/video-source-cam1.sh b/voctocore/scripts/video-source-cam1.sh new file mode 100755 index 0000000..e920c43 --- /dev/null +++ b/voctocore/scripts/video-source-cam1.sh @@ -0,0 +1,7 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc !\ + video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\ + timeoverlay valignment=bottom !\ + gdppay !\ + tcpclientsink host=localhost port=10000 diff --git a/voctocore/scripts/video-source-cam2.sh b/voctocore/scripts/video-source-cam2.sh new file mode 100755 index 0000000..403b852 --- /dev/null +++ b/voctocore/scripts/video-source-cam2.sh @@ -0,0 +1,7 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc pattern=ball !\ + video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\ + timeoverlay valignment=bottom !\ + gdppay !\ + tcpclientsink host=localhost port=10001 -- cgit v1.2.3