How to create a keyframe in a clip

Yes, it’s a possibility that would suit me too

It is a solution for some filters. But for others such as “audio level”?

good point…

maybe you could just change the volume slider and then enter in the original value again to add a point.

For filters with slider controls if you need to repeat an exact key frame value you can seek to the key frame you want to repeat. Then go to the position where you want the new key frame, roll the scroll wheel up and back again. This repeats the exact key frame at the new point.

+1 for this suggestion. I mentioned something similar here:

…but alas got no replies …:unamused:

Two great workarounds which I hadn’t thought of - thanks!!

Yes, it’s a workaround, but after a few tries she did not convince me. It sometimes happens that this manipulation creates 2 keyframes, one when I turn the wheel up and the other when I turn the wheel down.
I would prefer the suggestion of DRM

Suit yourself. I always get 1 key frame with this method. Always.

here is an example
On these screenshots we can see by zooming in that some keyframes are double.
It’s not always, and I do not know why.


Moving the playhead will give you another keyframe as shown in your 2nd picture.

As @sauron states, and I concur, you only get 1 keyframe when scrolling.

What do you think about the suggestion before I gave about adding an option for these situations through right clicking on the Advanced Keyframe timeline?

I think it’s a good suggestion.
But in the meantime there are work around’s that work.:smile:

I’m currently working on a video editing, it is true that it is possible to use the technique of @sauron, it works in the majority of cases, but I still say that it is not very practical.
And why not a keyboard shortcut on a key not yet used?

I’m sorry to insist, but I have a lot of trouble using keyframes right now. Mainly with the creation of 2 keyframes side by side as I explained in the post 10.
So I decided to try to edit the ParameterHead.qml file in the folder

I am currently arriving at the following result.

I added a button “+” which is supposed to create a keyframe on the parameter concerned at the location of the playhead.
In this image, the “+” buttons of the 2 parameters are enabled because there is no keyframe at the location of the playhead.
The “-” buttons are the equivalent of the current trash, I just changed the icon for the look. They are disabled because there is no keyframe selected.


In this image, the “+” button of “Input black” is enabled (there is no keyframe) and the “-” button of “Input white” is enabled (the keyframe is selected)


In this one the “+” buttons of the 2 parameters are disabled because there is a keyframe at the location of the playhead.

Here is a copy of the modified file.
ParameterHead.txt (7.6 KB)

Unfortunately, my lack of knowledge prevents me to go further, I can not find the code needed to create the keyframe when clicking on the button “+”

That’s why if a developer could help me to complete line 138, I would be very grateful to him.
I must also modify line 132 to disable the “+” button if a keyframe is already present.

I hope that translation gogole allows you to understand me

Hi @namna, personally I like your idea of having “+” and “-” signs for the keyframes. It would be really intuitive for new and inexperienced users IMHO. Sorry, can’t help with the coding, though - I have no experience with this type of coding.

I will try to pick this up, but I am leaning toward a UI that uses a single stopwatch icon (same as used in filter Ui) that toggles add/remove keyframe.

Thanks for considering it!

I have added this for the next release v19.06 however it only works on numeric parameters that have a curve control. Rectangle and color parameters, while containing numerics, do not qualify because they are tuples and a different type. This is a shortcoming because the parameters/mlt-properties are not strongly typed, and really the UI code that is in a filter’s ui.qml is what is expressing a type, but it is not able to tell the other parts of the code about that. This covers many of the keyframable parameters if not all. It is a classic software problem of like painting yourself into a corner.

Nice. Good addition! Looking forward to trying it.

Very very thanks for Continuous improvement of Shotcut every month. I love Shotcut Because it has better keyframing and some unique feature and of course great responsive forum.

Keyframe already has ctrl+ ‘+’ and ctrl+ ‘-’ to increase and decrease track height in keyframe.
Can you please add keyword shortcut +/- for zoom in and zoom out in keyframe panel similar to timeline.
Thank you.

Shotcut does not have the notion of a focused panel similar to Premiere, and I hesitate to add that because most users already struggle with the idea that Properties and Filters reflect the selection. Instead, I will add Alt +/- for changing the timeline zoom. Next, is the player zoom level. I can use the Meta key (Windows key on PC, Control on Mac). Shift does not work as a modifier because Shotcut accepts both ‘=’ and ‘+’ (Shift+=) for zoom-in both for convenience (=) and to prevent confusion (+).