From 14830e261e86e34ec249c73c6548119eba9d19da Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 11 May 2015 23:00:40 +0200 Subject: rename av-source scripts --- voctocore/scripts/av-source-avsync.sh | 23 +++++++++++++++++++++++ voctocore/scripts/av-source-eevblog.sh | 22 ++++++++++++++++++++++ voctocore/scripts/test-av-sync-cam1.sh | 23 ----------------------- 3 files changed, 45 insertions(+), 23 deletions(-) create mode 100755 voctocore/scripts/av-source-avsync.sh create mode 100755 voctocore/scripts/av-source-eevblog.sh delete mode 100755 voctocore/scripts/test-av-sync-cam1.sh (limited to 'voctocore') diff --git a/voctocore/scripts/av-source-avsync.sh b/voctocore/scripts/av-source-avsync.sh new file mode 100755 index 0000000..756d83b --- /dev/null +++ b/voctocore/scripts/av-source-avsync.sh @@ -0,0 +1,23 @@ +#!/bin/sh +gst-launch-1.0 -vm \ + uridecodebin \ + uri=http://c3voc.mazdermind.de/avsync.mp4 \ + 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 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 diff --git a/voctocore/scripts/test-av-sync-cam1.sh b/voctocore/scripts/test-av-sync-cam1.sh deleted file mode 100755 index 756d83b..0000000 --- a/voctocore/scripts/test-av-sync-cam1.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -gst-launch-1.0 -vm \ - uridecodebin \ - uri=http://c3voc.mazdermind.de/avsync.mp4 \ - 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 -- cgit v1.2.3