summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-record-output.sh
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-14 17:30:49 +0200
committerMaZderMind <github@mazdermind.de>2015-05-14 17:30:49 +0200
commitcc84921f31be141ad74da7ba8f00e90407aeea71 (patch)
tree3a74922b308d44dab99cf4f11c60c3cb09e0ed2b /voctocore/scripts/av-record-output.sh
parentfbd6d801ed08d560e050c48048e419be6fd35e3a (diff)
Recording Example-Scripts, including ffmpeg examples
Diffstat (limited to 'voctocore/scripts/av-record-output.sh')
-rwxr-xr-xvoctocore/scripts/av-record-output.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/voctocore/scripts/av-record-output.sh b/voctocore/scripts/av-record-output.sh
new file mode 100755
index 0000000..016e5a8
--- /dev/null
+++ b/voctocore/scripts/av-record-output.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+gst-launch-1.0 \
+ tcpclientsrc host=localhost port=11000 !\
+ matroskademux name=demux \
+ \
+ demux. !\
+ queue !\
+ textoverlay halignment=left valignment=top ypad=250 text=Recording !\
+ timeoverlay halignment=left valignment=top ypad=250 xpad=400 !\
+ avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\
+ queue !\
+ mux. \
+ \
+ demux. !\
+ queue !\
+ audioconvert !\
+ avenc_mp2 bitrate=192000 !\
+ queue !\
+ mux. \
+ \
+ mpegtsmux name=mux !\
+ filesink location=foo.ts