OpenShot / openshot-qt

OpenShot Video Editor is an award-winning free and open-source video editor for Linux, Mac, and Windows, and is dedicated to delivering high quality video editing and animation solutions to the world.
http://www.openshot.org
Other
4.37k stars 548 forks source link

Implement the ability to use values of properties as a value of another property #5600

Open pawa2401 opened 3 months ago

pawa2401 commented 3 months ago

Describe the new feature: Implement the ability to use values of properties as a value of another property

Describe the solution you'd like: Making so that it's possible to input for example "tracker.x1" as a value of "Location X" of the video clip can allow stabilizing to a tracker point. Also allowing math to be used directly would be great (for example "-(tracker.x1)" for reversing the value) When using other properties values, also allow linking so that each time the initial parameters value changes the inherited value also updates like if it was keyframed.

Colorjet3 commented 3 months ago

Have you looked into using the Parent attribute?

  1. Drag two clips onto the timeline. Doesn't matter if they are on 2 different tracks.
  2. Right click on one of the clips and select Properties.
  3. In the Properties window find the Parent attribute.
  4. Right click in the empty field next to it, select Clips and find the other image you want to be the parent.
  5. Now when you make a change to the Parent clip those changes will apply to the other.

Note: Not all changes made are Parented. If this is the functionality you are looking for then may be experiment and see what other attributes you want to be applied. This is kind of linking two clips together.

pawa2401 commented 3 months ago

Does this feature work with the tracker? I can't test it right now but this is the main problem I've stumbled upon. I could've created an issue about the tracker itself being kinda useless, but my approach is definitely way more flexible, and could allow some cool effects, especially with math involved.

Also, parent feature from your description seems to sync the parameters between two instances of an object, for example a video. And I'm guessing that only the parameters with the same name can be synced?

Colorjet3 commented 1 month ago

Hello @pawa2401 I don't believe the Tracker works that way.