After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585861 - copy and paste clips
copy and paste clips
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Timeline
Git
Other Linux
: Normal enhancement
: 0.95
Assigned To: Thibault Saunier
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-15 14:09 UTC by Jean-François Fortin Tam
Modified: 2015-07-06 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2009-06-15 14:09:37 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.
Comment 1 Jean-François Fortin Tam 2009-06-15 14:14:07 UTC
Ah, and some more precision: pasting clips should position them at the position of the timeline playhead.
Comment 2 sam tygier 2010-02-11 20:02:59 UTC
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.
Comment 3 Rick 2010-05-27 22:33:16 UTC
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.
Comment 4 Jean-François Fortin Tam 2010-09-18 16:08:34 UTC
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.
Comment 5 Jean-François Fortin Tam 2013-07-02 20:14:10 UTC
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)
Comment 6 Thibault Saunier 2015-07-06 09:57:19 UTC
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