Thanks! Yes, the output now varies as I played with the '-segment_time' and left out the '-timelimit' option.
I did not specify a codec, but there is only video, no audio so I left it out for now. May refine this later. First I'd like to get a loop recording working, returning a set amount of output (segment files if possible) so I can estimate the size for e.g. a 24hr loop to adjust storage accordingly. Ferdi Scholten: > Several issues > > -timelimit uses CPU time in seconds, so whenever ffmpeg has used 1800 > seconds CPU time on your system. This is not related to the actual > duration of the video, but how much time ffmpeg needs to execute on your > CPU, which is on a modern system a fraction of a second for every second > of video. > Use -t 1800 if you want you recording to stop after an actual duration > of 1800 seconds. > You dit not specify a codec for your output, could be that ffmpeg is > just writing raw (uncrompressed) video in there, which will grow to huge > size very fast. > > On 26-06-2021 20:16, S. Helbig via ffmpeg-user wrote: >> Hello, >> >> FFMPEG is creating an ever growing output file from a recorded IP cam >> stream. >> But the acual video is only about 7min. >> >> My input command was: >> ffmpeg -loglevel debug -timelimit 1.800 -hide_banner -i >> 'http://192.168.1.234:567/videostream.cgi?user=USER&pwd=PWD' -y >> -segment_time 1.800 /path/to/destination/stream.mp4 >> >> There are a few issues with this: >> >> FFMPEG doesn't exit after 1800sec/30min. '-timelimit 1.800' seems to be >> ignored (I also tried '1800', same result.) >> >> The video time in the output file does not correspond to 1800sec/30min >> despite its size (371 MB this time). This may be due to the >> segmentation, so when stopped manually, it may not have completed a >> segment. >> But why is the output file growing then? '-segment_time' should limit >> the size of this file = segment. >> 1800 seconds of .mp4 should correspond to a fixed maximum size...or not? >> >> Stephan >> _______________________________________________ >> 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". > > _______________________________________________ > 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". _______________________________________________ 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".
