[FFmpeg-user] Switching live input source

Andrew Sinclair ajsinclair at gmail.com
Tue Aug 5 05:19:20 CEST 2014

Do you mean the select filter?

I didn't realise zmq was in ffmpeg, very cool. Do you have a sample of how
to set up ffmpeg to listen as the server as not 100% clear from the docs or
the commit notes?

On 4 August 2014 21:16, Stefano Sabatini <stefasab at gmail.com> wrote:

> 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.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list