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

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Feb 9 17:20:29 EET 2018


2018-02-09 16:09 GMT+01:00 Paul B Mahol <onemda at gmail.com>:
> 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.

That sounds like a much better solution, thanks!

I wonder though how this filter works...

Carl Eugen


More information about the ffmpeg-user mailing list