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

Gyan Doshi gyandoshi at gmail.com
Thu Feb 8 15:17:35 EET 2018

On 2/8/2018 6:42 PM, DopeLabs wrote:
> there really isnt a easy way to loop audio or video (that i have found).. only images.. and im actually surprised they havent added a 'loop 1' option for audio or video files yet.. it must be among the top requested things to be added...

The (input) option for this is -stream_loop. Value of -1 is for infinite 
loop. In the past, there were issues with smooth PTS generation, but I 
believe they have been recently fixed.


More information about the ffmpeg-user mailing list