From: Antonio Ospite Date: Wed, 17 Sep 2014 10:00:04 +0000 (+0200) Subject: Add the gst-audio-interleave-channels.sh example X-Git-Url: https://git.ao2.it/experiments/gstreamer.git/commitdiff_plain/04100e2d62df6f8e8912dfb6cc8ba6f83e4e6f72?ds=inline Add the gst-audio-interleave-channels.sh example --- diff --git a/shell/gst-audio-interleave-channels.sh b/shell/gst-audio-interleave-channels.sh new file mode 100755 index 0000000..144727d --- /dev/null +++ b/shell/gst-audio-interleave-channels.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +gst-launch-1.0 -v interleave name=i ! \ + capssetter caps="audio/x-raw,channels=2,channel-mask=(bitmask)0x3" ! \ + audioconvert ! wavenc ! filesink location=audio-interleave-test.wav \ + audiotestsrc wave=0 num-buffers=100 ! audioconvert ! "audio/x-raw,channels=1" ! queue ! i.sink_0 \ + audiotestsrc wave=2 num-buffers=100 ! audioconvert ! "audio/x-raw,channels=1" ! queue ! i.sink_1