GNOME Bugzilla – Bug 585861
copy and paste clips
Last modified: 2015-07-06 09:57:19 UTC
Eventually, some users may/will need to be able to copy/paste clips (duplicate them) in the timeline, preserving applied settings/trimming/effects of those clips.
Ah, and some more precision: pasting clips should position them at the position of the timeline playhead.
i was recently trying to make a repeating loop from a small section of a big clip. without copy and paste the only method was to render/export the cropped section, and re import it as a source clip.
I found a few moderate bugs in the XML (reported) trying to hack clips from one project into another. I started a project, decided to break it up, and then changed my mind. I suppose this could be accomplished by importing one project into another in a merge-like operation. I agree that treating clips as objects that can be copied would be super useful.
This is basically just wiring up timeline_object.copy() with some keyboard shortcuts (ctrl+C, ctrl+V) and menu items (this feature doesn't get used often enough to warrant toolbar buttons). This would copy the currently selected clip(s) and paste them at the playhead position. And yes, if there's already a clip on this layer at the current playhead position, this means that the clip will be pasted on top of it, which means that a transition will be created. Then, the user can move it out of the way if required.
In the context of GES, we'll have some convenient functions provided for us: - ges_timeline_element_copy (hidden, not fully implemented but it's there?) - ges_timeline_layer_add_clip (could be used for pasting)
In pitivi: commit b9a3f20946307b6b1468ccbe405ce2e7bb677128 Author: Thibault Saunier <tsaunier@gnome.org> Date: Fri Jul 3 11:05:23 2015 +0200 timeline: Implement a copy/paste feature In GES: commit 5885f58c14fa88a26b547e1068cbdbcf2ea65639 Author: Thibault Saunier <tsaunier@gnome.org> Date: Mon Jun 29 18:04:32 2015 +0200 element: Implement a paste method Allowing user to copy paste clips very easily