aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-12-06 20:28:02 +0100
committerMaZderMind <git@mazdermind.de>2015-12-06 20:28:57 +0100
commit39c8cb3a0e3813ef77c61c601d0028281c04ad2d (patch)
tree8e4798e9b70732f1c28f180457e962c63f1a20ec /example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
parentb2b0e458a59ef8ede58b369a5d5194939021165d (diff)
[example-scripts] overhaul and test all example scripts, fixes #5
Diffstat (limited to 'example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh')
-rwxr-xr-xexample-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh b/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
new file mode 100755
index 0000000..ca7fc27
--- /dev/null
+++ b/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+gst-launch-1.0 \
+ uridecodebin \
+ uri=http://c3voc.mazdermind.de/testfiles/avsync.mp4 \
+ name=src \
+ \
+ src. !\
+ queue !\
+ videoconvert !\
+ videoscale !\
+ video/x-raw,format=UYVY,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 ! \
+ mux. \
+ \
+ src. !\
+ queue !\
+ audioconvert !\
+ audioresample !\
+ audiorate !\
+ audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
+ mux. \
+ \
+ matroskamux name=mux !\
+ tcpclientsink host=localhost port=10000