diff options
author | MaZderMind <peter@mazdermind.de> | 2015-10-11 17:27:53 +0200 |
---|---|---|
committer | MaZderMind <peter@mazdermind.de> | 2015-10-11 17:27:53 +0200 |
commit | 2d04b7a873e6e10ab3de972685959a667136d54e (patch) | |
tree | db007347c0fd20645ce096743d1948db54ef173a /voctocore/scripts | |
parent | a060f75c3a01e1f4aa0b5f79b5c74bfb1ec3da76 (diff) |
grabber support scripts
Diffstat (limited to 'voctocore/scripts')
-rwxr-xr-x | voctocore/scripts/av-source-grabber.sh | 12 | ||||
-rwxr-xr-x | voctocore/scripts/set-video-grabber.sh | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/voctocore/scripts/av-source-grabber.sh b/voctocore/scripts/av-source-grabber.sh new file mode 100755 index 0000000..8329dc4 --- /dev/null +++ b/voctocore/scripts/av-source-grabber.sh @@ -0,0 +1,12 @@ +#!/bin/sh +ffmpeg -y \ + -i "http://10.73.5.2:1881/stream.mjpg" \ + -filter_complex "scale=1920:1080,fps=25" \ + -ar 48000 \ + -ac 2 \ + -f s16le \ + -i "/dev/zero" \ + -c:a pcm_s16le \ + -c:v rawvideo \ + -f matroska \ + tcp://localhost:10002 diff --git a/voctocore/scripts/set-video-grabber.sh b/voctocore/scripts/set-video-grabber.sh new file mode 100755 index 0000000..ee39c3b --- /dev/null +++ b/voctocore/scripts/set-video-grabber.sh @@ -0,0 +1,2 @@ +#!/bin/sh +echo set_video_a grabber | nc -q0 localhost 9999 |