[FFmpeg-devel] libavfilter-soc: select and snapshot filters

Vitor Sessak vitor1001
Thu May 28 19:13:43 CEST 2009


Michael Niedermayer wrote:
> On Thu, May 28, 2009 at 01:07:45AM +0200, Stefano Sabatini wrote:
>> Hi,
>> both as a backup and for fostering comments.
>>
>> Use them for example with:
>>
>> ffplay in.avi  -vfilters "split [out] [select], [select] select='eq(mod(N, 10), 0)', snapshot=snap%03d.png"
>>
>> This patch requires the avfilter_graph_config_links() patch which I
>> posted yesterday.
>>
>> BTW, I don't think it is a good idea to commit to the SVN soc all
>> these filters, API will likely still change and we should avoid to
>> complicate the integration, but I believe it would be useful to start
>> to collect the interesting filters somewhere (in the wiki?).
> 
> 
> did it maybe cross your mind that it would make sense to try to get
> filters into ffmpeg svn?

At least for me it is a great idea, but quoting what you said in the 
thread "[PATCH] Add vf_scale.c filter"

> first quick question
> does
> crop, expand and slices work? (a single pix_fmt working is enough)

If you do not accept vf_scale.c without an expand filter been done 
first, I concluded that you won't accept _any_ filter for main SVN 
before that.

If it is acceptable, it would be great having all those filters users 
are submitting (vf_overlay.c improvements, alpha channel filling, 
applyfn, etc) all been reviewed ASAP to main SVN while their original 
author is still around.

-Vitor



More information about the ffmpeg-devel mailing list