[FFmpeg-devel] Recompiling ffmpeg with custom filter

Stefano Sabatini stefasab at gmail.com
Wed Aug 22 01:11:25 CEST 2012

On date Wednesday 2012-08-22 01:28:54 +0530, Murthy avsn encoded:
> Hi all,

> I am writing a  new filter for hue,brightness,contrast,Grayscale.
> I am following the below approach to add my filter to ffmpeg.

Note that we already support those filters through hue, mp=eq and

> Update libavfilters/Makefile with the following: OBJS-$(CONFIG_FADE_FILTER) += vf_fade.o
> And finally update libavfilters/allfilters.c with the following: REGISTER_FILTER (FADE, fade, vf);

Why are you adding fade? (it is already integrated since more than one year).

> Afterwards you should be able to apply fades, such as the following: ffmpeg -i input.avi -vf "fade=in:0:30" output.avi
> Question: Can we add a custom filter with out recompiling entire ffmpeg source.For testing it is getting touch to recompile entire code.
> Please help me in this aspect.
> Thank you in advance. 		 	   		  

I suspect you're looking for plugins, and no it is not likely they
will be implemented.
FFmpeg = Fantastic and Frightening Mind-dumbing Powered Ecumenical Gadget

More information about the ffmpeg-devel mailing list