On Tue, Oct 28, 2008 at 5:32 AM, Marco Gittler <g.marco at freenet.de> wrote: >> 3) Keyframes >> Currently, all frei0r effects parameters are fixed. For example, the >> frei0r.brightness takes a "Brightness" value that is fixed. >> >> But I guess we could manage to create keyframes, for example if we >> set: >> start_Brightness = 0 >> end_Brightness = 1 >> >> The MLT frei0r module could interpolate the current brightness value >> from the >> producer position and make the "Brightness" value change with time... >> >> Do you think it is possible ? > yes should be, but i think it will be better to use Brightness="0:1" ?? > what do you think
I plan to add more interpolation capabilities at the framework level similar to the way mlt_geometry works today. Therefore, I suggest using a single property with a value syntax following: [frame=]N[;[frame=N]]*. When "frame" = -1, then it means the "end." (-2 means second last frame and so on.) You can actually use mlt_geometry for this now as it actually a fairly generic thing that contains and interpolates up to five floats per key frame allowing all sorts of characters (except '=') as delimiter. (See man strtod for the rules - whatever endptr points to ought to be the delimiter.) -- +-DRD-+
