[FFmpeg-user] Switching live input source

Stefano Sabatini stefasab at gmail.com
Mon Aug 4 13:16:15 CEST 2014

On date Monday 2014-08-04 14:11:36 +1000, Andrew Sinclair wrote:
> Hi All,
> Does anyone know a means to switch the input to ffmpeg while it is running?
> i.e. say I am doing an encode from a live source but would then like to
> switch the input to a file for 60 seconds and then back to the live source
> without disrupting the encode. Assume that the formats would be the same.
> Can this be done with pipes or a filter?

This could be probably done with select, but in that case you might
need to implement a command (and then use zmq to change the selected
source on the fly). With no code hacking this is probably not
currently possible.

More information about the ffmpeg-user mailing list