[FFmpeg-devel] [PATCH] Port mp=eq/eq2 to FFmpeg

wm4 nfxjfg at googlemail.com
Thu Jan 22 21:29:13 CET 2015


On Wed, 21 Jan 2015 20:38:20 +0530
arwa arif <arwaarif1994 at gmail.com> wrote:

> >
> > I still expect that eq and eq2 should have the same performances,
> > since the adjust callback is set depending on the parameter values. So
> > we should have a single eq filter.
> >
> > Please investigate about why you get different benchmark values.
> >
> 
> I used this command: ffmpeg -benchmark -i  matrixbench_mpeg2.mpg -vf mp=eq2
> -f null -
> And everytime I am running this command, I am getting a different result
> even for the same input and same filter.

It could be that this command line doesn't actually run any of the
actual filter code, because the parameters (brightness etc.) are set to
"neutral" by default. Did you make sure the C and ASM filter code is
actually run?

> 
> So, I tried using the time.h library for getting the time, the results for
> eq and eq2 are 37.71 and 35.56 seconds respectively.
> 
> I don't know why eq is coming out to be slower than eq2. (In fact, eq2 is
> accessing more functions than eq).
> 


More information about the ffmpeg-devel mailing list