[FFmpeg-user] RTSP recording stopped if there is no motion

Pedro Oliva poliva at wtelecom.es
Wed Apr 27 18:48:24 CEST 2011

I'm recording rtsp streams from IP cameras using this command:
ffmpeg -v 3 -i rtsp://my_url -f mp4 -b 400k -r 24 -vcodec libx264 -ab 126k
-ar 48k -acodec libfaac -vpre fast  my_file.mp4

It seems like if there is no motion taking place in the video stream, ffmpeg
stops recording.
Is it possible to avoid this behavior?


More information about the ffmpeg-user mailing list