aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-01 21:26:49 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-01 21:26:49 +0100
commit02a2ed296bbf25563f2649a8de1ecadc31106247 (patch)
tree337b053e3ba019d59ddab1fe71d16d5cc8e730a8 /example-scripts/gstreamer
parentd7bcba998384590b890908d4e1fe0d5845d5f0c9 (diff)
Add variable AUDIOCHANNELS.
Diffstat (limited to 'example-scripts/gstreamer')
-rwxr-xr-xexample-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam1.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam2.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam3.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam4.sh2
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-grabber.sh2
6 files changed, 6 insertions, 6 deletions
diff --git a/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh b/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
index bc2172b..3ec9596 100755
--- a/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
+++ b/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
@@ -23,7 +23,7 @@ gst-launch-1.0 \
audioconvert !\
audioresample !\
audiorate !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
index e79ee91..4353285 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc freq=440 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
index 8380680..3ce006a 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc freq=550 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam3.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam3.sh
index 85787b2..b07d28e 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam3.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam3.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc freq=660 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam4.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam4.sh
index 6bee2f3..8846a5b 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam4.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam4.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc freq=770 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh
index e921a89..09f33e8 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\