[Cin] What is in today's GIT checkin, you ask...

Phyllis Smith phylsmith2017 at gmail.com
Fri Jan 25 23:27:15 CET 2019


 OK, finally checked in the "expected" methods + more...

> "roll" and "slip" tools (the fundamentals) in other editors, making it
> easy to remember.
>
What's the reason for this new change?
>
Yes, the last drag handle efforts did not live up to expectations.  My
original motive was
to create a simplified set of edge operators.  It did that, but it only
operated on single
edits.  I was quickly informed that a more standard set of edge operators
should exist,
and they use more than one edge/edit.  So, I have re-worked with this in
mind.  If there
are edge/edit functions that should exist, or should operate differently,
let me know.

The new GIT checkin now has Ripple, Roll, Slip + Slide, Edge.  After
reading the following, I think we got it right.

   https://www.videomaker.com/article/c3/13443-ripple-n-roll-slip-n-slide

Attached is a small text file covering all variations of all the cases with
a key at the top.  Feedback needed and welcome.
An Ubuntu 16 build is at:

https://www.cinelerra-gg.org/download/testing/cinelerra-5.1-ub16-x86_64-static.txz
Checkin also contains 12 plugins that now have Reset buttons !! from a
contributor (not GG or me) and and bug fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20190125/a26414c2/attachment.html>
-------------- next part --------------

OLD WAY:

s = src media start
p = proj position
l = length
c = cut distance
rest == p+=c: for rest of clips
01 = flags edits_moved, rest_moved

                                   drag left       drag right
curr s+=c,l-=c; next p+=c; +rest      <               >     ... rest
+-------------+    all left      +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|012345|xyz++abc|2345|xyz+
+-------------+            11    +-------------+ +-------------+
curr l+=c; +rest                           <              >  ... rest
+-------------+    all right     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|1234|xyz+  +abc|123456|xyz+
+-------------+            01    +-------------+ +-------------+

prev l+=c; curr ps+=c,l-=c            <               >
+-------------+    one left      +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|012345|xyz+ +abcd|2345|xyz+
+-------------+            00    +-------------+ +-------------+
curr l+=c; next ps+=c,l-=c                 <              >
+-------------+    one right     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|1234|wxyz+ +abc|123456|yz+
+-------------+            00    +-------------+ +-------------+

s+=c                                  <               >
+-------------+    src left      +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|01234|xyz+ +abc|23456|xyz+
+-------------+            10    +-------------+ +-------------+
s+=c                                       <              >
+-------------+    src right     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|01234|xyz+ +abc|23456|xyz+
+-------------+            10    +-------------+ +-------------+




NEW WAY:

s = src media start
p = proj position
l = length
c = cut distance
rest == p+=c: for rest of clips
01 = flags edits_moved, rest_moved

                                   drag left       drag right
prev l+=c; curr p+=c; +rest           <              >       ... rest
+-------------+  ripple left     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|12345|xyz+  +abcd|12345|xyz+
+-------------+            11    +-------------+ +-------------+
curr l+=c; +rest                          <               >  ... rest
+-------------+  ripple right    +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|1234|xyz+  +abc|123456|xyz+
+-------------+            01    +-------------+ +-------------+

prev l+=c; curr ps+=c,l-=c            <              >
+-------------+    roll left     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|012345|xyz+ +abcd|2345|xyz+
+-------------+            00    +-------------+ +-------------+
|curr l+=c; next ps+=c,l-=c                <               >
+-------------+    roll right    +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|1234|wxyz+ +abc|123456|yz+
+-------------+            00    +-------------+ +-------------+

s-=c                                  <              >
+-------------+    slip left     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|23456|xyz+ +abc|01234|xyz+
+-------------+            10    +-------------+ +-------------+
s-=c                                      <               >
+-------------+    slip right    +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|23456|xyz+ +abc|01234|xyz+
+-------------+            10    +-------------+ +-------------+

prev l+=c; curr p+=c; next ps+=c,l-=c <              >
+-------------+   slide left     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|12345|wxyz+ +abcd|12345|yz+
+-------------+            10    +-------------+ +-------------+
prev l+=c; curr p+=c; next ps+=c,l-=c     <               >
+-------------+   slide right    +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|12345|wxyz+ +abcd|12345|yz+
+-------------+            10    +-------------+ +-------------+

curr s+=c,l-=c; next p-=c; -rest      <               >      ... rest
+-------------+    edge left     +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +abc|2345|xyz+  +abc|012345|xyz+
+-------------+            11    +-------------+ +-------------+
prev l+=c; curr p+=c,l-=c                 <               >
+-------------+    edge right    +-------------+ +-------------+
+abc|12345|xyz+ ---------------> +ab|123456|xyz+ +abcd|1234|xyz+
+-------------+            10    +-------------+ +-------------+



More information about the Cin mailing list