summaryrefslogtreecommitdiff
path: root/tools/ipcam_rtsp2hls.sh
diff options
context:
space:
mode:
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 a468715..70111b0 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 5 -hls_list_size 6 -hls_wrap 5 \
+ -flags -global_header -hls_time 2 -hls_list_size 3 \
${OUTDIR}/${NAME}/live.m3u8