[FFmpeg-soc] Trying to write a new filter but unclear on callback order

Vitor Sessak vitor1001 at gmail.com
Sat Mar 27 13:01:02 CET 2010


Brandon Mintern wrote:
> I'm trying to build a filter called "clone" (as discussed with Vitor
> on #ffmpeg-devel). I was modeling my filter after fifo, but apparently
> I'm wrong about the callback process (sidenote: a more detailed
> explanation in the wiki documentation would be very helpful!). I think
> I'm reasonably close with the code I have, but I can't finish it until
> I better understand the callback order in the filter chain. I would
> appreciate it if someone could point me in the write direction.

I suggest you look at vf_fps.c, it does something very close to what you 
are looking for. Suppose you have a input file with 25 fps and use the 
filter chain "fps=50". That will pretty much duplicate every frame.

-Vitor


More information about the FFmpeg-soc mailing list