diff options
Diffstat (limited to 'tools/ipcam_rtsp2hls_h264.sh')
-rwxr-xr-x | tools/ipcam_rtsp2hls_h264.sh | 2 |
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 |