[FFmpeg-user] -timelimit not working.

Rodney Baker rodney.baker at iinet.net.au
Mon Jan 26 14:46:34 CET 2015


On Thu, 22 Jan 2015 11:01:36 Jeremy Buseman wrote:
> I'm trying to limit the amount of time my stream runs for but adding
> -timelimit or -t doesn't seem to do anything. Anyone have any suggestions?
> 
> ffmpeg -timelimit 30 -r 15 -rtsp_transport tcp -i rtsp://
> source.com:557/streaming/channels/0 -an -vcodec copy -f flv rtmp://
> 127.0.0.1/live/stream
> _______________________________________________

Try putting -timelimit (or -t)  after the input file. The order of options is 
important.

-- 
==============================================================
Rodney Baker VK5ZTV
rodney.baker at iinet.net.au
==============================================================


More information about the ffmpeg-user mailing list