From e26851a6006bbf76461ca49827d1cd34c0715e02 Mon Sep 17 00:00:00 2001 From: User Date: Thu, 5 Oct 2023 04:43:49 +0300 Subject: add script for rkmpp --- tools/ipcam_rtsp2hls_h264.sh | 126 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100755 tools/ipcam_rtsp2hls_h264.sh diff --git a/tools/ipcam_rtsp2hls_h264.sh b/tools/ipcam_rtsp2hls_h264.sh new file mode 100755 index 0000000..18cf741 --- /dev/null +++ b/tools/ipcam_rtsp2hls_h264.sh @@ -0,0 +1,126 @@ +#!/bin/bash + +PROGNAME="$0" +OUTDIR=/var/ipcamfs # should be tmpfs +PORT=554 +NAME= +IP= +USER= +PASSWORD= +DEBUG=0 +CHANNEL=1 +FORCE_UDP=0 +FORCE_TCP=0 +CUSTOM_PATH= + +die() { + echo >&2 "error: $@" + exit 1 +} + +usage() { + cat <