aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-eevblog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/scripts/av-source-eevblog.sh')
-rwxr-xr-xvoctocore/scripts/av-source-eevblog.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-eevblog.sh b/voctocore/scripts/av-source-eevblog.sh
new file mode 100755
index 0000000..1175b88
--- /dev/null
+++ b/voctocore/scripts/av-source-eevblog.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+gst-launch-1.0 -vm \
+ filesrc location=$HOME/eevblog.mp4 !\
+ decodebin 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