GNOME Bugzilla – Bug 569980
live preview when trimming beginning/end points
Last modified: 2012-03-26 04:33:39 UTC
When dragging the left or right "edge" of a clip to set the starting/ending point, PiTiVi should show the cutting-point frame in realtime in the preview pane.
Created attachment 128025 [details] demonstration of the requested feature Notice the preview window above the timeline, which shows the current frame at which you are moving the end point of the clip to. This bug is marked as NEEDINFO, anything else needed?
*** Bug 589697 has been marked as a duplicate of this bug. ***
i need some suggestions for how to go about implementing this. The naive approach of seeking the timeline to the current cursor position does not seem to work very well.
Temporarily switching the viewer to the source you're trimming would be the fastest/easiest way imho. Been thinking about maybe having a way for gnlcomposition to expose other pads for 'trimming'... but it's still unclear how that would be implemented.
I would love this feature! It's implemented in the "precision editor" in Apple iMovie, very useful.
I am pleased to tell you that I have a working implementation for this feature in my "live-trimming-preview" branch on github. Feedback welcome!
Merged in origin/ges. Commits in reverse order: commit 41b5c78a24b2ced31ca102741cf428439d1a50b5 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Fri Mar 23 18:22:02 2012 -0400 viewer: Reset the pipeline to the previous position after trimming commit 8427a2f117037b53790e83391f686a610f3466bf Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Wed Mar 7 19:16:03 2012 -0500 viewer: Limit the live trim preview to one seek per 200 ms commit 816a94b55301fb6647d162b7a29cfa1c52edcdc1 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Wed Mar 7 14:34:40 2012 -0500 viewer: Clear the pipeline bus sync handler to set a new one commit eae008544626935fa7dff9820bc537d4693652d3 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Tue Mar 6 11:17:22 2012 -0500 Catch signals in trimming handles and ask the viewer to preview commit e8e7296d9b7a29e729f462fdba8e9134ac87c2d7 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Mon Mar 5 16:41:29 2012 -0500 viewer: Preview the clips being trimmed commit 7716ce45a3628475c0080ee274e0720af26e8941 Author: Jean-François Fortin Tam <nekohayo@gmail.com> Date: Mon Mar 5 16:37:57 2012 -0500 utils/timeline: emit signals when trimming clips