[Libav-user] FFmpeg restream MP4 video automatically

black copper blackcopper1 at gmail.com
Fri Sep 16 10:55:08 EEST 2016

I am streaming RTSP with command line something like this:

ffmpeg -re -i ~/Downloads/test.mp4 -c copy -f rtsp rtsp://

Original video length is about 15 minutes.

I want to automatically restart once file is finished - sort of like in a
continuous loop.

Does FFmpeg command line give me this option? Or do I need to implement
some other way?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160916/89c01f36/attachment.html>

More information about the Libav-user mailing list