Bug 439284 - Simple option to copy and paste keyframe values across effects
Summary: Simple option to copy and paste keyframe values across effects
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (show other bugs)
Version: 21.04.2
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-29 04:21 UTC by Peter
Modified: 2021-07-05 05:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This function seesm to only work within the same clip. (17.82 KB, image/jpeg)
2021-06-29 04:21 UTC, Peter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2021-06-29 04:21:45 UTC
Created attachment 139729 [details]
This function seesm to only work within the same clip.

SUMMARY


STEPS TO REPRODUCE
1. On 1st clip setup the transform effect like zoom into part of the clip. Then right click clip in time line and paste effect on next clip.
2. The clip if shorter does not have any settings applied to the transform effect and I have to manually enter in the values. Eg I would like to have the last key frame X, Y, W H values copied across.
3. I have tried the duplicate key frame icon, that only works in same clip.
4. I tried the "copy keyframes to clip board" but when I try to paste it in to the new clip I can not understand the options? I could not find details on the user manual.

Ultimately I would like to know how to easily copy the last transform values from one clip to the new clip first key frame so it keeps visual continuity. Currently I take a screen shot of the previous clips values and manually enter them in to the next clip.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Peter 2021-06-29 04:25:50 UTC
This screen shot of the copy keyframe to clip board give a strange result

https://i.postimg.cc/YSMBBDn0/Screenshot-20210629-135152.jpg

When I choose to import I see this

https://i.postimg.cc/JnwfQ1vs/Screenshot-20210629-142407.jpg

not sure how to post images into the bug report.
Comment 2 Julius Künzel 2021-07-02 09:03:16 UTC
Thanks for your report! The copy/past system for keyframes seems to be indeed broken somehow.
Comment 3 Peter 2021-07-02 11:53:53 UTC
Happy to help in anyway, just let me know. Except my coding skills are zero.
Comment 4 Julius Künzel 2021-07-02 12:04:08 UTC
Okay, I made some deeper tests and it seems I was wrong and everything works as expected (I just wasn't aware how to use the features too). I updated the manual a bit (but still it is not complete): https://userbase.kde.org/Kdenlive/Manual/Effects#Keyframes_in_effects

However as far as I understood you want a simple option to copy the values from ONE keyframe to another across effects and as far as I can see this is not possible atm. I am going to change the title and mark this report as a feature request. Please tell me if I am wrong…
Comment 5 Peter 2021-07-02 12:19:12 UTC
yes ideally it would be good to select the last key frame and just copy those values across.

Looking at your guide I am a bit confused about how to use the resulting import values. I can there are x y width and height in the screen shot, but is it possible to get these into the new clip and then just delete the key frames I dont need or am I missing the point here.

https://i.postimg.cc/59BCyMmt/Screenshot-20210702-221050.jpg


Secondly if you look at my screen shot the darkness of the background of the wiki is making some icons in your text disappear. 

"To export the keyframes the clipboard click on Icon-application-menu.png inside the keyframe wid"
Comment 6 Julius Künzel 2021-07-03 13:43:13 UTC
Choose "Data to import rect" and "Map Geometry to Rectangle". With the inpoint and outpoint parameters you can "cut off" the keyframes that should be imported. With the offset you can change the position where the first keyframe is going to be insert (note: the offset position is relative to the source/bin clip not to the maybe cut timeline clip). You can also import all keyframes (leaf in, out and offset as it is) and delete the ones you don't want later.

However for the next release 21.08 I simplified the UI in case you import only one keyframe and added an option to "Copy value at cursor position to clipboard". This should improve your workflow.

The icon in the wiki is the hamburg menu icon with the three stripes. I wasn't not aware that the wiki has a dark theme… Or do you use a custom add-on or something for that?
Comment 7 Julius Künzel 2021-07-03 14:37:46 UTC
Git commit 001b843cfb97898a003f5c5687712ee543a48453 by Julius Künzel.
Committed on 03/07/2021 at 13:51.
Pushed by jlskuz into branch 'master'.

Import keyframes dialog: simplify UI on import of a single keyframe

M  +10   -0    src/assets/view/widgets/keyframeimport.cpp

https://invent.kde.org/multimedia/kdenlive/commit/001b843cfb97898a003f5c5687712ee543a48453
Comment 8 Julius Künzel 2021-07-03 14:37:54 UTC
Git commit 28dcebc4726e8af33b1b30c01e2623bea79c50a1 by Julius Künzel.
Committed on 03/07/2021 at 13:54.
Pushed by jlskuz into branch 'master'.

Keyframes widget: add option to copy values at cursor pos to clipboard

M  +58   -0    src/assets/model/assetparametermodel.cpp
M  +3    -0    src/assets/model/assetparametermodel.hpp
M  +13   -0    src/assets/view/widgets/keyframewidget.cpp
M  +1    -0    src/assets/view/widgets/keyframewidget.hpp

https://invent.kde.org/multimedia/kdenlive/commit/28dcebc4726e8af33b1b30c01e2623bea79c50a1
Comment 9 Peter 2021-07-05 05:45:34 UTC
Awesome cant wait to test it out.

Re the wiki dark icons, I am running firefox 89.0.2 (64-bit) without any theme plugins just the standard FF theme that it says uses operating system settings and buttons etc. Which is KDE Plasma 5.22.2 and Plasma style Arc Dark.