When I save a preset for a filter, only the first 32 keyframe positions for a filter parameter will be saved.
What is your operating system?
What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
Can you repeat the problem? If so, what are the steps?
(Please be specific and use the names as seen in Shotcut, preferably English. Include a screenshot or screen recording if you can. Also, you can attach logs from either View > Application Log or right-click a job and choose View Log.)
Note that the problem may also be apparent using other methods, I’m just giving the specific method through which I produced the problem.
Load two videos (preferably longer ones) to two seperate tracks.
Add a size and position filter to the tracks they are on (not the video).
Manually add keyframes to the size and position keyframe, using over 32 different keyframe positions.
Save this as a preset.
Attempt to load the preset into a new size and position filter on the second video.
Observe that only the first 32 keyframe positions are saved.
Copying and pasting filters works as expected.
Interesting, I would have expected the issue to be something along the lines of them only allocating a certain max-length when they saved presets, especially given the nice 2^6 length I had.
Possibly it’s related to string length when they store it as XML, as my clip was far longer than that (about 50 keyframes over 17 minutes) which would have upped the length of a string detailing all the info in plaintext (like how keyframe info is stored in the project files).
I’m curious to know why you need presets with so many keyframes.
I have a lot of custom presets, but they are for simple repetitive tasks like animated transitions for example. They require 2, 4, 6 or maybe 8 keyframes top.
There are occasions when I will use a lot of keyframes. When tracking an object for example. But those keyframes are only relevant to a specific object tracking a point on a specific video. Not worth saving since they can’t be used in any other situations.
A few weeks ago, I would have been glad to know that it could be done.
I was editing two parallel dialog tracks, and I needed the keyframes on two different tracks to be at exactly the same time points (even though the actions were opposite). I did it the tedious way, jumping to the next Keyframe, switching tracks, marking, going back… It took hours.
This would have saved me several hours of work… …if it stored ALL of the Keyframes.
The limit is based on the number of bytes that the setting takes to store in the presets file - not the number of keyframes. That is why it varies somewhat from one test to another. The previous limit was 1024 bytes. I have increased it to 4096 bytes. So it is essentially 4 times larger now. This change will be in the next build.
While we are on the subject…
When we apply a preset, the name of that preset is displayed on the preset tab. But as soon as we do something else, like selecting another clip for example, then come back, the name of the preset in use in no longer visible.
It would be useful if the name of the preset applied stayed displayed.
I can appreciate your request, but we will not make that change because the name of the preset that was last applied is not stored as part of the filter. We do not want a scenario where a filter parameter has been changed but a preset name is still showing. Contrary to your suggestion, I have thought about making the preset name clear after being applied in case the user changes a parameter after applying it.
This has come up numerous times before. We could make a change so that preset is remembered and then cleared as soon as someone changes a parameter or keyframe. However, I already looked into it, and that would be a lot of work for something that is rarely kept at all preset values. Not for me; no, thanks. Much more interesting stuff to work on.