[FFmpeg-user] Create a live video stream from a single image file

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Dec 22 20:03:55 EET 2019


Am Sa., 21. Dez. 2019 um 22:04 Uhr schrieb Weydson Lima <weyseal at gmail.com>:
>
> I'm trying to create a live video stream from a single image. Once this
> image gets overwritten, a new video frame would then be created
> otherwise the last image would be used as the current video frame.
>
> Is there a way to accomplish that using the ffmpeg command line? I was
> thinking about something like this pseudo code:
>
> cat -forever source.jpg | ffmpeg -i pipe:0 udp://127.0.0.1:3333?listen

Did you test the loop option of the image2 demuxer and its friends?

Carl Eugen


More information about the ffmpeg-user mailing list