Repository navigation
Open
Description
Search existing issues
- I have searched the existing issues
Is your feature request related to a problem?
The cursor smoothing is one slider for the whole project. When it gives the wrong result on a few seconds of a take, there is nothing to adjust for just those seconds:
- Jitter and small loops. The pointer is sampled about 30 times a second. At a low smoothing a hard stop overshoots and draws a small loop, and hand tremor goes through almost unfiltered. Raising the slider fixes that stretch and adds lag to every other one.
- A pointer that wanders on its way to a button. The viewer follows the detour instead of the click.
- A pointer that drifts while the presenter reads. Nothing is happening, yet the cursor moves.
Today the only ways out are to re-record the take or to hide the cursor.
Describe the solution you'd like
A Cursor motion lane on the timeline. A section is added at the playhead (key P, or a toolbar button), then moved and resized like a speed region. Each section picks one of four modes for the cursor over its span, on top of the global slider:
| Mode | What the cursor does | Its one setting |
|---|---|---|
| Smooth | Loses the jitter and the loops, without lagging behind the pointer and without overshooting | Strength, 0–100 % |
| Straight | Goes in a straight line from where the pointer is at the start to where it is at the end, or to a click right at the end | Speed curve: smooth, linear, speed up, slow down |
| Freeze | Stays where it is at the start of the section | none |
| As recorded | Shows the pointer exactly as recorded, unsmoothed | none |
Details that make it predictable:
- A section fades into the surrounding path over up to 120 ms at each end, so it never starts or ends with a jump.
- A section belongs to its clip: a second clip over the same footage keeps its own cursor.
- A trim inside a section does not split it. Straight still runs one line to the section's end point, and Freeze still holds the section's start point, on both sides of the cut.
- Sections move with their clip when clips are reordered, trimmed or duplicated, and go with it when it is removed.
- The pill names the mode and its setting:
Smooth · 50%,Straight · Linear. - The agent and MCP get
addCursorMotionandsetCursorMotion.
It is implemented in #1652, with videos of each mode.
Describe alternatives you've considered
- Only the global slider. It cannot be right for a fast precise stretch and a shaky one at once.
- Editing the cursor's path by hand, with control points and a handle on the preview: that is feat(cursor): editable cursor choreography — the editor layer, on the model and compositor halves #556, closed as a product decision because modern recorders ship global smoothing rather than path editing. This request stays on that side of the line. There is no path drawing, no control point and no handle on the preview: only four presets with one setting each, and the global slider stays in charge everywhere outside a section.
- Hiding the cursor over the stretch (a zoom's "hide cursor"): it removes the problem and the pointer with it.
Additional context
- Demo (0:20, Windows 11): seven copies of one clip played at 1.5×: no section, Straight with each of the four speed curves, Freeze, and Smooth at 100 %. The Straight and Freeze sections each have a trim inside. https://github.com/alexeylovchikov/openscreen/releases/download/demo-cursor-motion/cursor-motion-modes-1080p.mp4
- This issue first also described the cursor jumping back after a trim. That is a bug on its own, reported in [Bug]: Cursor jumps back right after a trim when smoothing is on #1679 with its own small fix in fix(cursor): restart the cursor spring at every clip window #1651, and no longer part of this request. feat(cursor): per-section cursor motion lane on the timeline #1652 is built on top of that fix.
- What feat(cursor): per-section cursor motion lane on the timeline #1652 covers that feat(cursor): editable cursor choreography — the editor layer, on the model and compositor halves #556 left open: sections follow clip edits and are removed with their clip, a section never reaches another clip, the cursor's visibility is kept, section edges do not jump, the agent and MCP tools exist, and every string goes through i18n.
- Happy to narrow the scope if the lane as a whole is more than you want in the product, for example to Smooth alone.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]Cursor: teleports at cuts, jitter and loops that the global smoothing can't fix per section[/-][+][Feature]: Per-section cursor motion on the timeline (Smooth, Straight, Freeze)[/+]