<div dir="ltr"><div>Unfortunately ffmpeg doesn't have loop option for video files, but desired behavior can be accomplished using filters.</div><div><br></div><div>Please check this ling <a href="http://video.stackexchange.com/questions/12905/repeat-loop-input-video-with-ffmpeg">http://video.stackexchange.com/questions/12905/repeat-loop-input-video-with-ffmpeg</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 16, 2016 at 10:55 AM, black copper <span dir="ltr"><<a href="mailto:blackcopper1@gmail.com" target="_blank">blackcopper1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am streaming RTSP with command line something like this:<div><br></div><div>ffmpeg -re -i ~/Downloads/test.mp4 -c copy -f rtsp rtsp://<a href="http://127.0.0.1:1935/livetest/stream" target="_blank">127.0.0.1:1935/<wbr>livetest/stream</a></div><div><br></div><div>Original video length is about 15 minutes.</div><div><br></div><div>I want to automatically restart once file is finished - sort of like in a continuous loop.</div><div><br></div><div>Does FFmpeg command line give me this option? Or do I need to implement some other way?</div><div><br></div><div>Thanks</div></div>
<br>______________________________<wbr>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/<wbr>listinfo/libav-user</a><br>
<br></blockquote></div><br></div>