From c857f58b4094d032910ea366ab7f509ab847e949 Mon Sep 17 00:00:00 2001 From: evgeny Date: Sat, 23 Dec 2023 03:43:06 +0300 Subject: ipcam_rtsp2hls_rkmpp fixes --- tools/ipcam_rtsp2hls_h264.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3