Page 1 of 1
Simulate a video editing timeline
Posted: Fri Oct 09, 2015 5:56 am
by erikhans08
A search for "timeline" in all forums yielded 55 hits but no guidelines.
A timeline simulation would involve five basic points for playback and editing.
We could also agree on naming conventions starting with Final Cut Pro terms.
BEGINNING
BEGIN POINT
PLAYHEAD (slider and progress bar)
END POINT
END
Windows Live Movie Maker uses START POINT which is nicely dissimilar from begin or beginning. END is too similar to END POINT.
I have been using theVon and theZu (Moritz und Max?)to avoid any confusion with LC terms. Might be best to go with the Final Cut Pro terms.
As for the timeline itself, I have been moving text fields around to do the job for navigation and editing but it is very block-y.
Something smooth and scroll-y would be so good. A standard timeline format will find a lot of use for certain.
Re: Simulate a video editing timeline
Posted: Fri Oct 09, 2015 3:00 pm
by Martin Koob
The way to deal with scrolling is to group all of the elements that you need for your timeline and then enable the the horizontal scrollbar for the group. This will scroll quite smoothly.
To give you an idea I just created two long buttons, 1 for video track, 1 for audio track then grouped a couple of graphics to make a playhead then grouped all of those together. I then reduced the width of the group so the elements inside the group are wider than the group and then enabled the horizontal scrollbar for the group. Now you can scroll the group.
I have attached a sample stack.
Martin
Re: Simulate a video editing timeline
Posted: Sun Oct 11, 2015 2:20 am
by erikhans08
Thanks Martin, I had no idea you could scroll a group.
Re: Simulate a video editing timeline
Posted: Sun Oct 11, 2015 4:33 pm
by Klaus
If it has scrollbars, you can scroll it!

Re: Simulate a video editing timeline
Posted: Sun Mar 20, 2016 1:42 pm
by erikhans08
How about scrolling a group vertically?
With one field per "line"... Hey, that's a database!
Is there a limit on group and off-screen stack height?
I would like to have 100 fields lined up verically.
About 50 pixels height for each field.
10 or 12 visible at any given time.
Erik
Re: Simulate a video editing timeline
Posted: Sun Mar 20, 2016 2:17 pm
by jmburnod
Hi Erik,
Is there a limit on group and off-screen stack height?
I don't know exactly but I use group 32'000 px width or height without problem.
As klaus said :
If it has scrollbars, you can scroll it!

I downloaded Martin's stack and I see the locLock of group is false
But you have to set one group width less than the content of the group and set locLock of group to true. If you do it, the scrollbar of group is available.
Best regards
Jean-Marc
Re: Simulate a video editing timeline
Posted: Sun Mar 20, 2016 8:39 pm
by erikhans08
Thank you all for your responses.
I have a stack "Player Event Notes" with one field per "event" for video start and end times etc.
Each event has one field. field height = 40. I just grouped all of the fields and checked vScrollbar.
Then a series of these in msg:
'create field "Notes 0015" in group 1 of stack "Player Event Notes"'
'set the top of field "Notes 0016" of stack "Player Event Notes" to /
the bottom of field "Notes 0015" of group 1 of stack "Player Event Notes"'
'put the height of stack "Player Event Notes"' - 642
'put the top of field "Notes 0016" of stack "Player Event Notes"' - 738
So my latest fields are below the screen but the vScroll bar remains inactive.
'set the top of group 1 of stack "Player Event Notes"' reveals the lower fields.
Maybe this is the way to go. Use a menu button to choose what to show.
(Can we attach screenshots?)
Re: Simulate a video editing timeline
Posted: Sun Mar 20, 2016 8:51 pm
by erikhans08
Last paragraph should say:
So my latest fields are below the screen but the vScroll bar remains inactive.
'set the top of group 1 of stack "Player Event Notes" to -200' reveals the lower fields.
Maybe this is the way to go. Use a menu button to choose what to show.
(Can we attach screenshots?)
Re: Simulate a video editing timeline
Posted: Mon Mar 21, 2016 4:16 pm
by jacque
Be sure the height of the group is shorter than the total height of all the fields, otherwise there's nothing to scroll. Set the lockLoc of the group to true so it won't change size when its content changes.