projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5664573
)
Add the gst-audio-interleave-channels.sh example
author
Antonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 10:00:04 +0000
(12:00 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 17 Sep 2014 10:00:04 +0000
(12:00 +0200)
shell/gst-audio-interleave-channels.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/shell/gst-audio-interleave-channels.sh
b/shell/gst-audio-interleave-channels.sh
new file mode 100755
(executable)
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