Unfortunately ffmpeg doesn't have loop option for video files, but desired
behavior can be accomplished using filters.

Please check this ling
http://video.stackexchange.com/questions/12905/repeat-loop-input-video-with-ffmpeg

On Fri, Sep 16, 2016 at 10:55 AM, black copper <blackcopp...@gmail.com>
wrote:

> I am streaming RTSP with command line something like this:
>
> ffmpeg -re -i ~/Downloads/test.mp4 -c copy -f rtsp rtsp://127.0.0.1:1935/
> livetest/stream
>
> 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?
>
> Thanks
>
> _______________________________________________
> Libav-user mailing list
> Libav-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to