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 _______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
