aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-cam1.sh
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-13 19:35:20 +0200
committerMaZderMind <github@mazdermind.de>2015-05-13 19:35:20 +0200
commit943ab31a0f32b7bb50fa1ff90c9ce8d72b232cfd (patch)
tree601c1b7b4261b544d413bb29e191286dc2688371 /voctocore/scripts/av-source-cam1.sh
parent4ea86d040d7ee247af247e8388eedf975aaf1f54 (diff)
experiment with transporting uncompressed a/v together in a matroska stream
Diffstat (limited to 'voctocore/scripts/av-source-cam1.sh')
-rwxr-xr-xvoctocore/scripts/av-source-cam1.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-cam1.sh b/voctocore/scripts/av-source-cam1.sh
new file mode 100755
index 0000000..11b9663
--- /dev/null
+++ b/voctocore/scripts/av-source-cam1.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+gst-launch-1.0 -vm \
+ videotestsrc pattern=smpte !\
+ video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ timeoverlay valignment=bottom ! \
+ mux. \
+ \
+ audiotestsrc freq=440 !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ mux. \
+ \
+ matroskamux name=mux !\
+ tcpclientsrc host=localhost port=10000