summaryrefslogtreecommitdiff
path: root/tools/ipcam_rtsp2hls.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-05-25 00:50:30 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-05-25 00:50:30 +0300
commit1a75ff34949da23d23452872c375b1b5cd3dca9d (patch)
tree662e389595c3a7386b1ba46683e824b8a41494ec /tools/ipcam_rtsp2hls.sh
parent469d7cc88a4cac53c644b235804ac568653ec01e (diff)
hls streaming: hot fix
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 70111b0..64e9121 100755
--- a/tools/ipcam_rtsp2hls.sh
+++ b/tools/ipcam_rtsp2hls.sh
@@ -110,5 +110,5 @@ fi
ffmpeg $args -i rtsp://${USER}:${PASSWORD}@${IP}:${PORT}/Streaming/Channels/${CHANNEL} \
-c:v copy -c:a copy -bufsize 1835k \
-pix_fmt yuv420p \
- -flags -global_header -hls_time 2 -hls_list_size 3 \
+ -flags -global_header -hls_time 2 -hls_list_size 3 -hls_flags delete_segments \
${OUTDIR}/${NAME}/live.m3u8