summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-avsync.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-11-16 23:31:15 +0100
committerMaZderMind <git@mazdermind.de>2015-11-16 23:31:43 +0100
commitd37661d72375bcea603afa0bac16703004923afe (patch)
treeafab0a1f1804fcdddb539418ff0b3adf35a4e551 /example-scripts/av-source-avsync.sh
parent56b9bd28dcdf048e9513ed3e08c029db4f44cf47 (diff)
move voctocore/scripts to example-scripts
Diffstat (limited to 'example-scripts/av-source-avsync.sh')
-rwxr-xr-xexample-scripts/av-source-avsync.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/example-scripts/av-source-avsync.sh b/example-scripts/av-source-avsync.sh
new file mode 100755
index 0000000..208e9c0
--- /dev/null
+++ b/example-scripts/av-source-avsync.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+gst-launch-1.0 \
+ uridecodebin \
+ uri=http://c3voc.mazdermind.de/avsync.mp4 \
+ name=src \
+ \
+ src. !\
+ queue !\
+ videoconvert !\
+ videoscale !\
+ video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ mux. \
+ \
+ src. !\
+ queue !\
+ audioconvert !\
+ audioresample !\
+ audiorate !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ mux. \
+ \
+ matroskamux name=mux !\
+ tcpclientsink host=localhost port=10001