https://bugs.kde.org/show_bug.cgi?id=478814

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from [email protected] ---
Hi, wow, this bug has been going on for years haha...

Anyway, I can still reprotduce this bug on Kdenlive 26.04.3-2 / MLT 7.40.0-3 on
Arch Linux.

I investigated this further and found that the issue appears to be the
parameter type used for `color.1` and `color.2` in
`data/effects/lightshow.xml`.

They are currently defined as type="color", which causes Kdenlive to serialize
them as animated values, for example:

```
<property name="color.1">00:00:00.000=0xffffffff</property>
<property name="color.2">00:00:00.000=0xffffffff</property>
```

MLT's Light Show filter expects these as non-animated colors. If I manually
change the project file to:
```
<property name="color.1">0xffffffff</property>
<property name="color.2">0xffffffff</property>
```
the effect works correctly.

I also tested changing the effect definition from:
```
type="color"
```
to
```
type="fixedcolor"
```
for both color.1 and color.2. After restarting Kdenlive and re-adding Light
Show, the effect works correctly and the colors are serialized properly.


Proposed fix
```
- <parameter type="color" name="color.1">
+ <parameter type="fixedcolor" name="color.1">

- <parameter type="color" name="color.2">
+ <parameter type="fixedcolor" name="color.2">
```

I have tested this locally and can confirm it fixes the issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to