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

Pierre Nerzic <pierre.ner...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pierre.ner...@free.fr

--- Comment #5 from Pierre Nerzic <pierre.ner...@free.fr> ---
Hi,

As far as I can see, it seems related to the timestamps of the keyframes. It
looks like the import does not take "in" and "out" fields of the JSON to make
the keyframes relative.

Because: I paste the clipboard into a text editor, then I edit every keyframe
so that the timestamp is relative to 0 instead of "in", then copy it back to
clipboard (^C), then I can import it successfully into the effect.

An example:
1) what I had into the clipboard after "copy keyframes to keyboard" :
>[
>    {
>        "DisplayName": "Rectangle",
>        "in": 420,
>        "max": 0,
>        "min": 0,
>        "name": "results",
>        "opacity": false,
>        "out": 570,
>        "type": 9,
>        "value": "420~=1649 179 453 263 0;425~=1619 185 453 263 0;430~=1586 
> 190 453 263 0;435~=1563 197 453 263 0;440~=1540 204 453 263 0;445~=1525 213 
> 453 263 0;450~=1516 222 453 263 0;455~=1511 225 453 263 0;460~=1504 220 453 
> 263 0;465~=1497 215 453 263 0;470~=1492 212 453 263 0;475~=1481 213 453 263 
> 0;480~=1462 212 453 263 0;485~=1427 213 453 263 0;490~=1380 206 453 263 
> 0;495~=1323 201 453 263 0;500~=1262 196 453 263 0;505~=1195 193 453 263 
> 0;510~=1124 180 453 263 0;515~=1055 175 453 263 0;520~=1008 168 453 263 
> 0;525~=983 163 453 263 0;530~=964 162 453 263 0;535~=957 155 453 263 
> 0;540~=972 138 453 263 0;545~=1009 125 453 263 0;550~=1058 110 453 263 
> 0;555~=1115 97 453 263 0;560~=1182 102 453 263 0;565~=1259 121 453 263 
> 0;570~=1336 144 453 263 0"
>    }
>]

2) what I changed manually (in, out and all the timestamps subtracted from in):
>[
>    {
>        "DisplayName": "Rectangle",
>        "in": 0,
>        "max": 0,
>        "min": 0,
>        "name": "results",
>        "opacity": false,
>        "out": 150,
>        "type": 9,
>        "value": "0~=1649 179 453 263 0;5~=1619 185 453 263 0;10~=1586 190 453 
> 263 0;15~=1563 197 453 263 0;20~=1540 204 453 263 0;25~=1525 213 453 263 
> 0;30~=1516 222 453 263 0;35~=1511 225 453 263 0;40~=1504 220 453 263 
> 0;45~=1497 215 453 263 0;50~=1492 212 453 263 0;55~=1481 213 453 263 
> 0;60~=1462 212 453 263 0;65~=1427 213 453 263 0;70~=1380 206 453 263 
> 0;75~=1323 201 453 263 0;80~=1262 196 453 263 0;85~=1195 193 453 263 
> 0;90~=1124 180 453 263 0;95~=1055 175 453 263 0;100~=1008 168 453 263 
> 0;105~=983 163 453 263 0;110~=964 162 453 263 0;115~=957 155 453 263 
> 0;120~=972 138 453 263 0;125~=1009 125 453 263 0;130~=1058 110 453 263 
> 0;135~=1115 97 453 263 0;140~=1182 102 453 263 0;145~=1259 121 453 263 
> 0;150~=1336 144 453 263 0"
>    }
>]
The latter can be imported without any trouble as keyframes into a transform
effect.

I hope it will not be hard to repair :-)
My best regards,
Pierre

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

Reply via email to