summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorevgeny <me@ch1p.io>2023-12-23 03:43:06 +0300
committerevgeny <me@ch1p.io>2023-12-23 03:43:06 +0300
commitc857f58b4094d032910ea366ab7f509ab847e949 (patch)
tree8aba9c3951169c22df51503253c06595e80729f5 /tools
parentae2787b3aeeafdd312c8975cabebfa8e28e575a1 (diff)
ipcam_rtsp2hls_rkmpp fixes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ipcam_rtsp2hls_h264.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ipcam_rtsp2hls_h264.sh b/tools/ipcam_rtsp2hls_h264.sh
index 18cf741..244a6d9 100755
--- a/tools/ipcam_rtsp2hls_h264.sh
+++ b/tools/ipcam_rtsp2hls_h264.sh
@@ -121,6 +121,6 @@ else
fi
/home/user/FFmpeg/ffmpeg $args -i "rtsp://${USER}:${PASSWORD}@${IP}:${PORT}${path}" \
- -c:v h264_rkmpp_encoder -preset ultrafast -an \
+ -c:v h264_rkmpp_encoder -preset ultrafast -an -vsync drop \
-flags -global_header -hls_time 2 -hls_list_size 3 -hls_flags delete_segments \
${OUTDIR}/${NAME}/live.m3u8