diff options
author | MaZderMind <peter@mazdermind.de> | 2014-08-13 16:41:08 +0200 |
---|---|---|
committer | MaZderMind <peter@mazdermind.de> | 2014-08-13 16:41:08 +0200 |
commit | 9e472b49ddba06f80d8cea8dfb318fc316193249 (patch) | |
tree | 34bff0684893533710bc9f88b634a816f0ac4676 /voctocore/experiments | |
parent | 4acaf2f5de7071b72db81b64fd10020e041cdabb (diff) |
test with a real audio and video source
Diffstat (limited to 'voctocore/experiments')
-rwxr-xr-x | voctocore/experiments/failovertest.py | 2 | ||||
-rwxr-xr-x | voctocore/experiments/test-grabber-src.sh | 2 | ||||
-rwxr-xr-x | voctocore/experiments/video-grabber-src.sh | 29 |
3 files changed, 31 insertions, 2 deletions
diff --git a/voctocore/experiments/failovertest.py b/voctocore/experiments/failovertest.py index 5881b0f..fd43d83 100755 --- a/voctocore/experiments/failovertest.py +++ b/voctocore/experiments/failovertest.py @@ -23,7 +23,7 @@ class Example: self.bus.connect('message::error', self.on_error) self.mixdisplay = VideomixerWithDisplay() - self.grabbersrc = ShmSrc('/tmp/grabber', Gst.Caps.from_string('video/x-raw,width=1280,height=720,framerate=25/1,format=BGRA')) + self.grabbersrc = ShmSrc('/tmp/grabber-v', Gst.Caps.from_string('video/x-raw,width=1280,height=720,framerate=25/1,format=BGRA')) # Add elements to pipeline self.pipeline.add(self.mixdisplay) diff --git a/voctocore/experiments/test-grabber-src.sh b/voctocore/experiments/test-grabber-src.sh index e298faf..63fcec9 100755 --- a/voctocore/experiments/test-grabber-src.sh +++ b/voctocore/experiments/test-grabber-src.sh @@ -5,6 +5,6 @@ gst-launch-1.0 -vm \ queue !\ shmsink \ sync=true \ - socket-path=/tmp/grabber \ + socket-path=/tmp/grabber-v \ wait-for-connection=false \ shm-size=100000000 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 |