From c75812751eaa50cd6ea005dd6ca3c1a39c4d74dc Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 24 May 2022 22:26:02 +0300 Subject: ipcam_capture stuff --- tools/ipcam_capture.sh | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100755 tools/ipcam_capture.sh (limited to 'tools') diff --git a/tools/ipcam_capture.sh b/tools/ipcam_capture.sh new file mode 100755 index 0000000..d96c06f --- /dev/null +++ b/tools/ipcam_capture.sh @@ -0,0 +1,91 @@ +#!/bin/bash + +PROGNAME="$0" +PORT=554 +IP= +CREDS= +DEBUG=0 +CHANNEL=1 + +die() { + echo >&2 "error: $@" + exit 1 +} + +usage() { + cat <