On 7/20/2021 12:23 PM, S. Helbig via ffmpeg-user wrote:
ffmpeg -loglevel debug -hide_banner -timelimit 60 -i
'http://192.168.1.23:456/videostream.cgi?user=USER&pwd=PWD' -y -f
segment -segment_time 3600 -segment_format mp4 -segment_atclocktime 1
-segment_wrap 3 -c copy /path/to/destination/recordi
Hello,
I like to run FFMPEG as a cron job to loop-record an IP cam stream into
wrap-limited segments.
To make it power-cut and network-cut proof, I wanted to restart FFMPEG
periodically, giving it a timelimit.
But it keeps ignoring it on the test bench.
ffmpeg -loglevel debug -hide_banner -timel
Sorry, here they are in text form:
Command:
-hide_banner
-use_wallclock_as_timestamps 1
-r 20
-f x11grab
-video_size 1280x720
-draw_mouse 0
-i :1
-f pulse
-i default
-c:a aac
-c:v libx265
-preset ultrafast
-bufsize 3968k
-pix_fmt yuv420p
-f rtp_mpegts
-async 44100
-fec prompeg=l=20:d=5
rtp://host