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

Brandon Mintern bmintern at gmail.com
Sat Mar 27 13:19:03 CET 2010


Thanks, I'll do that. For some reason I thought you were referring to
vf_setpts (timestamp modification filter?) in IRC and it wasn't really
looking like what I needed :-\

On Sat, Mar 27, 2010 at 8:01 AM, Vitor Sessak <vitor1001 at gmail.com> wrote:
> 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
> FFmpeg-soc at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
>


More information about the FFmpeg-soc mailing list