summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-avsync.sh
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-05-11 23:00:40 +0200
committerMaZderMind <github@mazdermind.de>2015-05-11 23:00:40 +0200
commit14830e261e86e34ec249c73c6548119eba9d19da (patch)
treeb66c555ad4e6f0d2d84f3515ce623aede3490b2c /voctocore/scripts/av-source-avsync.sh
parent00df98920b018057e60b5d94ab04a10525ebbe45 (diff)
rename av-source scripts
Diffstat (limited to 'voctocore/scripts/av-source-avsync.sh')
-rwxr-xr-xvoctocore/scripts/av-source-avsync.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-avsync.sh b/voctocore/scripts/av-source-avsync.sh
new file mode 100755
index 0000000..756d83b
--- /dev/null
+++ b/voctocore/scripts/av-source-avsync.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+gst-launch-1.0 -vm \
+ 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 ! \
+ timeoverlay valignment=bottom ! \
+ gdppay ! \
+ tcpclientsink host=localhost port=10000 \
+ \
+ src. !\
+ queue !\
+ audioconvert !\
+ audioresample !\
+ audiorate !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ gdppay !\
+ tcpclientsink host=localhost port=20000