Add gst-decoupled-pipelines.py
[experiments/gstreamer.git] / shell / gst-audio-interleave-channels.sh
1 #!/bin/sh
2
3 gst-launch-1.0 -v interleave name=i ! \
4   capssetter caps="audio/x-raw,channels=2,channel-mask=(bitmask)0x3" ! \
5   audioconvert ! wavenc ! filesink location=audio-interleave-test.wav \
6   audiotestsrc wave=0 num-buffers=100 ! audioconvert ! "audio/x-raw,channels=1" ! queue ! i.sink_0 \
7   audiotestsrc wave=2 num-buffers=100 ! audioconvert ! "audio/x-raw,channels=1" ! queue ! i.sink_1