diff options
author | MaZderMind <github@mazdermind.de> | 2015-05-11 23:00:29 +0200 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2015-05-11 23:00:29 +0200 |
commit | 00df98920b018057e60b5d94ab04a10525ebbe45 (patch) | |
tree | 79549c4b51c711bf10882a908a16a1f2227cb160 | |
parent | 4744b1aa61a27b3bc7fc3ac5f5bce4bc39505e32 (diff) |
external recording script
-rwxr-xr-x | voctocore/scripts/av-record-cam1-mirror.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/voctocore/scripts/av-record-cam1-mirror.sh b/voctocore/scripts/av-record-cam1-mirror.sh new file mode 100755 index 0000000..0a33a97 --- /dev/null +++ b/voctocore/scripts/av-record-cam1-mirror.sh @@ -0,0 +1,20 @@ +#!/bin/sh +gst-launch-1.0 \ + tcpclientsrc host=localhost port=13000 !\ + gdpdepay !\ + queue !\ + timeoverlay !\ + videoconvert !\ + avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\ + queue !\ + mux. \ + \ + tcpclientsrc host=localhost port=23000 !\ + gdpdepay !\ + queue !\ + avenc_mp2 bitrate=192000 !\ + queue !\ + mux. \ + \ + mpegtsmux name=mux !\ + filesink location=foo.ts |