Am 19.11.2011 00:50, schrieb Michal Fapso:
> I tried that as well and for me it flickers also. I found out that the
> problem is in the ..../cinelerra_src/plugins/blur/blur.C in these 2
> lines:
> 
>       this->vertical = (int)(prev.vertical * prev_scale + next.vertical *
> next_scale);
>       this->horizontal = (int)(prev.horizontal * prev_scale +
> next.horizontal * next_scale);
> 
> because both vertical and horizontal are binary variables, they should
> not be interpolated between keyframes. There is the problem with
> rounding to integers.

I don't see how this would cause flickering. prev.vertical and
next.vertical are either zero or one. The math computes a value between
these two, and the result is truncated to zero. Hence, if either of the
two values is zero, the interpolated value is zero, and this is exactly
what I observe.

> Just change them to:
> 
>       this->vertical = prev.vertical;
>       this->horizontal = prev.horizontal;

This would definitely make sense in this case, where the value is just
an on-off switch.

-- Hannes

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to