summaryrefslogtreecommitdiff
path: root/tools/ipcam_rtsp2hls.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2024-03-07 15:33:15 +0300
committerEvgeny Zinoviev <me@ch1p.io>2024-03-07 15:33:15 +0300
commit077495eba674acb3273148a24361993d0ff97f87 (patch)
tree30e649ef8f8928a1f8d44e3aab35f6eaac6fb9b5 /tools/ipcam_rtsp2hls.sh
parentb83f3e0eb7bf9c9660e4350f2a7eaa9ff675ccf3 (diff)
ipcam/hls: add -nostdin everywherelegacy-ipcam
Diffstat (limited to 'tools/ipcam_rtsp2hls.sh')
-rwxr-xr-xtools/ipcam_rtsp2hls.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ipcam_rtsp2hls.sh b/tools/ipcam_rtsp2hls.sh
index c321820..f47caf2 100755
--- a/tools/ipcam_rtsp2hls.sh
+++ b/tools/ipcam_rtsp2hls.sh
@@ -120,7 +120,7 @@ else
path="$CUSTOM_PATH"
fi
-ffmpeg $args -i "rtsp://${USER}:${PASSWORD}@${IP}:${PORT}${path}" \
+ffmpeg $args -nostdin -i "rtsp://${USER}:${PASSWORD}@${IP}:${PORT}${path}" \
-c:v copy -c:a copy -bufsize 1835k \
-pix_fmt yuv420p \
-flags -global_header -hls_time 2 -hls_list_size 3 -hls_flags delete_segments \