[FFmpeg-user] Multiple input streams, one continuous output stream?

Carl Zwanzig cpz at tuunq.com
Thu Oct 28 00:06:45 EEST 2021

On 10/27/2021 1:56 PM, Steven Kan wrote:
> What options would I have if I want to cycle through N cameras, each with
> its own RTSP URI, switching cameras every M seconds? Can this be done
> from an ffmpeg command? Or is there where ffserve gets involved?
ffserver was removed 3-4 years ago. You _might_ be able to write an ffmpeg 
command to take the multiple streams and switch them, but it will probably 
be easier with something like OBS (which uses ffmpeg libraries); downside is 
that AFAIK it won't run "headless".


More information about the ffmpeg-user mailing list