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 -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/recording-%03d.mp4 I'm thinking of adding a kill-job to the crontab, then restart FMPEG again as an alternative. Not elegant but a workaround... What could be a reason why this is being ignored? It's a global option _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
