Re: [Libav-user] FFmpeg restream MP4 video automatically

2016-09-16 Thread black copper
Thank you,

-stream_loop works as suggested!...

On Fri, Sep 16, 2016 at 3:15 PM, Paul B Mahol  wrote:

> On 9/16/16, Igor Gulyaev  wrote:
> > Unfortunately ffmpeg doesn't have loop option for video files, but
> desired
> > behavior can be accomplished using filters.
>
> There is -stream_loop.
>
> >
> > Please check this ling
> > http://video.stackexchange.com/questions/12905/repeat-
> loop-input-video-with-ffmpeg
> >
>
> Mentioned above too.
> ___
> 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


Re: [Libav-user] FFmpeg restream MP4 video automatically

2016-09-16 Thread Paul B Mahol
On 9/16/16, Igor Gulyaev  wrote:
> Unfortunately ffmpeg doesn't have loop option for video files, but desired
> behavior can be accomplished using filters.

There is -stream_loop.

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

Mentioned above too.
___
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Re: [Libav-user] FFmpeg restream MP4 video automatically

2016-09-16 Thread Igor Gulyaev
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 
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


[Libav-user] FFmpeg restream MP4 video automatically

2016-09-16 Thread black copper
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