[FFmpeg-devel] [PATCH] lavfi/volume: add dynamic expression evaluation
nicolas.george at normalesup.org
Tue Mar 5 16:08:54 CET 2013
Le quartidi 14 ventôse, an CCXXI, Stefano Sabatini a écrit :
> That's a solution (or add a filter variant). The other solution would
> be to make the filter behaves in a different way if the expression is
> constant (CONST OP CONST is detected as constant), which would need
> some hack to the eval code (of course this can't detect things like
Detecting what variables / functions are used in the expression is not
impossible at all, and it would allow to know whether the expression is
constant or not even in complex cases.
> Please tell what you prefer (and feel free to pick the patch and
> improve it yourself if you're in hurry).
Could you make a quick benchmark, using a small frame size (asetnsamples=16
for example): that would greatly help knowing whether it is worth optimizing
that or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel