[FFmpeg-user] YouTube streaming of a static image...

Paul B Mahol onemda at gmail.com
Fri Feb 9 17:09:37 EET 2018


On 2/9/18, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2018-02-08 14:17 GMT+01:00 Gyan Doshi <gyandoshi at gmail.com>:
>
>> The (input) option for this is -stream_loop.
>
> If the input is an image (as in this case), "-loop 1" is the better option,
> as you wrote in your mail, "stream_loop" is a hack and sometimes
> has issues.
> (May need -shortest)

You should really use loop filter as it will decode image only once.


More information about the ffmpeg-user mailing list