[FFmpeg-user] FFMPEG ignores -timelimit

Carl Zwanzig cpz at tuunq.com
Tue Jul 20 22:32:05 EEST 2021

On 7/20/2021 12:23 PM, S. Helbig via ffmpeg-user wrote:
> ffmpeg -loglevel debug -hide_banner -timelimit 60 -i
> '' -y -f
> segment -segment_time 3600 -segment_format mp4 -segment_atclocktime 1
> -segment_wrap 3 -c copy /path/to/destination/recording-%03d.mp4

-timelimit duration (global)
Exit after ffmpeg has been running for duration seconds in CPU user time.

(not clock time)

You probably want -t ("When used as an input option (before -i), limit the 
duration of data read from the input file.)

Not needed with this one, but always post the complete output w/o 
-hide_banner (check the list FAQ for more info).



More information about the ffmpeg-user mailing list