Can you edit Motion Tracking keyframes?

After I analyze a video for motion tracking, is there a way to see and edit the keyframes for that tracker? When I go to the keyframe tab in the timeline, no keyframes are shown. I know I can apply the tracker to another object and then edit the keyframes for that object, but I want to edit the source tracker keyframes, so it can be used for other objects and I can’t find a way to do it.

Thanks,
Rich

There are no Keyframes for the motion tracker itself. You need to load the motion tracker data into another filter, which generates Keyframes for that filter that are editable. It will be tedious because there is a key frame for every video frame.

Thanks. I’m used to being able to tweak the keyframes of the motion before I apply it to other effects because rarely does the automatic tracker get it perfect. Without being able to do this, I have to fix it each time I use it on an object. Perhaps this could be a future enhancement.

I’m also having a few issues with motion tracking in general. First, the motion tracking analysis often disappears while I’m working on a project. After working for a short time, I will try to import from the motion tracker and there’s no tracker to pick from. When I look at the motion tracker itself, my analysis is gone and it tells me I need to analyze it.

Second, sometimes it won’t save the analysis at all. When I analyze certain clips, the analysis succeeds, but it keeps telling me I have to analyze the clip. No matter how many times I analyze the clip, it never saves the results. It keeps telling me I need to analyze it. Converting the clip to a different format (e.g. Mov to Mp4) seems to fix the issue.

Rich

That is good feedback and something to think about. It is not normal that mov will not work, and it is mysterious about why it did not.

There was a fix for that in the most recent version 25.07 (missing in release notes!)

I’m running version 25.07.26 and still have the issue, so either it didn’t get merged in or it’s still not fixed.

Rich

The GitHub issue for this bug was marked as closed. Could this be a regression, or is it a different manifestation of the same problem? :confused:
Is there a known workaround for this specific version?

Someone would need to figure out exact steps to reproduce it and open a new bug here or there. Without steps you need to wait for a developer to experience it.

I will try to reproduce the issues. There are two:

  1. The keyframes do not copy to an effect
  2. The existing “Analyze” disappears and makes me re-analyze.

Rich

The keyframes do not copy to an effect

Actually, the tracking data is either not generated or lost.

The second one will not be addressed as a bug. It is an enhancement request. We simply use OpenCV to run this and do not work on OpenCV ourselves. Maybe we can figure out some way to manually make multiple stages and stitch them together (the enhancement). In the meantime, you need to do that by splitting the clip.

Actually, I think this is #2. When I say “The existing “Analyze” disappears and makes me re-analyze”, it’s because the tracking data is lost. I’m not sure what you’re saying about OpenCV

Rich

I thought you were talking about the accuracy of tracking when it does work. We do not write all of the code that is in Shotcut. It has many layers. OpenCV is the library we use for motion tracking, which is its own big project with many contributors.

I think you’re referring to my request to allow manual modification of the tracking keyframes after the analysis. I understand you don’t control the analysis, but after it’s completed, it would be nice if Shotcut could allow the keyframes to be updated. This would let users tweak the motion before it’s used for effects. I can post this as a Suggestion if you want.

Rich