summaryrefslogtreecommitdiff
path: root/voctocore/experiments/video-grabber-src.sh
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/experiments/video-grabber-src.sh')
-rwxr-xr-xvoctocore/experiments/video-grabber-src.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/voctocore/experiments/video-grabber-src.sh b/voctocore/experiments/video-grabber-src.sh
new file mode 100755
index 0000000..b3feb16
--- /dev/null
+++ b/voctocore/experiments/video-grabber-src.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+gst-launch-1.0 -v \
+ uridecodebin \
+ uri=http://video.blendertestbuilds.de/download.blender.org/ED/ED_1280.avi \
+ name=src \
+ \
+ src. !\
+ queue !\
+ progressreport !\
+ videoconvert !\
+ videorate !\
+ videoscale !\
+ video/x-raw,format=BGRA,width=1280,height=720,framerate=25/1 !\
+ shmsink \
+ sync=true \
+ socket-path=/tmp/grabber-v \
+ wait-for-connection=false \
+ shm-size=100000000
+ \
+ src. !\
+ queue !\
+ audioconvert !\
+ audiorate !\
+ audio/x-raw,format=S16LE,layout=interleaved,rate=44100,channels=2 !\
+ shmsink \
+ sync=true \
+ socket-path=/tmp/grabber-a \
+ wait-for-connection=false \
+ shm-size=10000000