[Ffmpeg-devel] New/extended filter API discussion

Mean fixounet
Sat Jan 6 12:13:06 CET 2007

Michael Niedermayer wrote:
> Hi
> if your filter has 2 inputs and you receive a push from input #1 theres
> nothing ill defined, you simply are then in a state of having one input frame
> and waiting for the second push, when that comes in you can output your frame
> as push to the next filter
That + filter that consumes M frames and produces N frames + filter that 
needs several frames (temporal denoisers) means there might be
some internal buffers at each filter level.

One thing i don't get thought, is in the case mentionned above, how do 
you handle input1 bursting several frames while input2 is not ready ?
These frames are buffered between input1 and current filter ?

How do you setup the buffer size if any ?
Dynamically ?

Do you run each filter each time a frame is pushed to another filter ?


More information about the ffmpeg-devel mailing list