[Libav-user] FFmpeg restream MP4 video automatically

Igor Gulyaev igor.s.gulyaev at gmail.com
Fri Sep 16 13:11:02 EEST 2016


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 <blackcopper1 at 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 at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160916/5728cac3/attachment.html>


More information about the Libav-user mailing list