From b57a5c55777e1bb6cc06cb9cd5aeabb5e0cda7ef Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 6 Jan 2016 10:09:54 +0100 Subject: update gstreamer test-source scripts --- example-scripts/gstreamer/source-test-background.sh | 6 ------ .../gstreamer/source-videotestsrc-as-background-loop.sh | 8 ++++++++ example-scripts/gstreamer/source-videotestsrc-as-cam1.sh | 12 ++++++++++++ example-scripts/gstreamer/source-videotestsrc-as-cam2.sh | 12 ++++++++++++ example-scripts/gstreamer/source-videotestsrc-as-grabber.sh | 12 ++++++++++++ 5 files changed, 44 insertions(+), 6 deletions(-) delete mode 100755 example-scripts/gstreamer/source-test-background.sh create mode 100755 example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh create mode 100755 example-scripts/gstreamer/source-videotestsrc-as-cam1.sh create mode 100755 example-scripts/gstreamer/source-videotestsrc-as-cam2.sh create mode 100755 example-scripts/gstreamer/source-videotestsrc-as-grabber.sh diff --git a/example-scripts/gstreamer/source-test-background.sh b/example-scripts/gstreamer/source-test-background.sh deleted file mode 100755 index 94dc978..0000000 --- a/example-scripts/gstreamer/source-test-background.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -gst-launch-1.0 \ - videotestsrc pattern=ball !\ - video/x-raw,format=UYVY,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 !\ - matroskamux !\ - tcpclientsink host=localhost port=16000 diff --git a/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh new file mode 100755 index 0000000..acd2bcc --- /dev/null +++ b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh @@ -0,0 +1,8 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc pattern=ball !\ + video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 !\ + mux. \ + \ + matroskamux name=mux !\ + tcpclientsink host=localhost port=16000 diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh new file mode 100755 index 0000000..0f29b63 --- /dev/null +++ b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh @@ -0,0 +1,12 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc pattern=red !\ + 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=10000 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 diff --git a/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh new file mode 100755 index 0000000..37d8961 --- /dev/null +++ b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh @@ -0,0 +1,12 @@ +#!/bin/sh +gst-launch-1.0 \ + videotestsrc pattern=blue !\ + 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=10002 -- cgit v1.2.3