Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap strips to matching markers #55

NathanLovato opened this issue Dec 18, 2017 · 1 comment


None yet
1 participant
Copy link

commented Dec 18, 2017

When you're editing a video you often need to write down clips to fade to new clips or add picture overlays. You take notes of the clips to add, go find them on the web, or record them, and add them manually to the editing board.

ImportLocalFootage can already import new content for you, making the process faster. The idea here is to add a tool to find select strips that include a given identifier in their name. E.g.

for marker in timeline_markers:
    if = True

This way the user can

  • add markers as they go and give them an identifier
  • call the tool themselves anytime
  • let ImportLocalFootage call the tool for them

Possible improvements

Eventually, if it makes sense, we can improve the feature to:

  1. Use start and end markers to not only insert the strip but insert it with the right size.
  2. Import corresponding strips without the audio, but keep the audio for the others

To do

  • use endswith to detect the identifier as if the user cuts or creates copies of a strip it'll have the identifier followed by .000, .001, ...
  • warn users about multiple strips and/or markers found matching the same identifier

This comment has been minimized.

Copy link
Contributor Author

commented Dec 18, 2017

Just tested it, quick snippet to move strips:

for m in bpy.context.scene.timeline_markers:
     for s in bpy.context.selected_sequences:
             s.frame_start = m.frame

@NathanLovato NathanLovato added this to the 1.1 milestone Dec 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.