aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2014-09-02 20:20:38 +0200
committerMaZderMind <peter@mazdermind.de>2014-09-02 20:20:38 +0200
commit51268aaa2bae7ccd771072211a10f2d2d045d8a8 (patch)
treec9f0cd713f68b5090929bc155b2cfc394d8d0ebb
parent3dde7ee2ad983fe773b7525010be0b92c29bd9bd (diff)
add a 2nd test-video src
-rwxr-xr-xvoctocore/experiments/test-grabber-src1.sh (renamed from voctocore/experiments/test-grabber-src.sh)5
-rwxr-xr-xvoctocore/experiments/test-grabber-src2.sh11
2 files changed, 14 insertions, 2 deletions
diff --git a/voctocore/experiments/test-grabber-src.sh b/voctocore/experiments/test-grabber-src1.sh
index 9ef15d5..ea46328 100755
--- a/voctocore/experiments/test-grabber-src.sh
+++ b/voctocore/experiments/test-grabber-src1.sh
@@ -1,10 +1,11 @@
#!/bin/sh
gst-launch-1.0 -vm \
- videotestsrc pattern=ball !\
+ videotestsrc pattern=ball background-color=0xff0000ff !\
video/x-raw,width=1280,height=720,framerate=25/1,format=RGBx !\
+ progressreport update-freq=1 !\
queue !\
shmsink \
sync=true \
- socket-path=/tmp/voctomix-sockets/v-cam1 \
+ socket-path=/tmp/v-cam1 \
wait-for-connection=false \
shm-size=100000000
diff --git a/voctocore/experiments/test-grabber-src2.sh b/voctocore/experiments/test-grabber-src2.sh
new file mode 100755
index 0000000..0315f46
--- /dev/null
+++ b/voctocore/experiments/test-grabber-src2.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+gst-launch-1.0 -vm \
+ videotestsrc pattern=ball background-color=0x00ff00ff !\
+ video/x-raw,width=1280,height=720,framerate=25/1,format=RGBx !\
+ progressreport update-freq=1 !\
+ queue !\
+ shmsink \
+ sync=true \
+ socket-path=/tmp/v-cam2 \
+ wait-for-connection=false \
+ shm-size=100000000