From 02a2ed296bbf25563f2649a8de1ecadc31106247 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 1 Mar 2017 21:26:49 +0100 Subject: Add variable AUDIOCHANNELS. --- example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh | 2 +- example-scripts/gstreamer/source-videotestsrc-as-cam1.sh | 2 +- example-scripts/gstreamer/source-videotestsrc-as-cam2.sh | 2 +- example-scripts/gstreamer/source-videotestsrc-as-cam3.sh | 2 +- example-scripts/gstreamer/source-videotestsrc-as-cam4.sh | 2 +- example-scripts/gstreamer/source-videotestsrc-as-grabber.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'example-scripts/gstreamer') 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 !\ -- cgit v1.2.3