Repository navigation
CapCut-style features: keyframes, Whisper captions, Demo Studio, text layout, effects, backgrounds - #13
Merged
Conversation
…ting, project removal Keyframes and transitions - Clip keyframes (x, y, scale, rotation, opacity, easing) with a section in the clip inspector, diamonds on the timeline and a keyframe at the cut when splitting. - Four more transitions: slide up, blur dissolve, flash, spin. Speech recognition (Whisper) - Captions from an audio track or from the sound of the clips, on the user's own computer. Windows installs a pinned whisper.cpp release and a model on request (sha256 checked); elsewhere it is set in Settings. - Caption blocks keep exact word times (wo); split, move and text fixes keep them. - Long silences are taken out before recognition and the times mapped back, since Whisper stretches the first word after a silence over it. Clip sound, cutting - Uploads keep their sound; a clip plays it with sound: true (volume vol). - Cut silence from a clip and cut words picked from the captions; both close up every track through cutRanges (src/edit.mjs) and can be undone. Projects - Take a project off the list, or move it to the recycle bin (app only). Docs and tests cover all of it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Operate a web app or an Android phone inside the editor and record it, with every tap, swipe and long press logged with its time and turned into animated touches in the video. - Web source: a Chrome page driven over the DevTools protocol (src/cdp.mjs, src/demo-web.mjs) that looks like the layout's device (screen size, pixel density, touch); live picture as a screencast, recording as timestamped frames. - Android source (src/demo-android.mjs): adb; live screenshots, input tap/swipe, and a screenrecord on the device pulled afterwards for exact timestamps. Never picks a device by itself. - Gestures (src/gestures.mjs): taps, long presses, swipes, scrolling and typing from raw pointer events, and their conversion to the video's taps. - Taps can now be a swipe (x2, y2, dur: a finger with a trail) or a long press (hold), in the template, the timeline and the inspector; swipe ends can be dragged. - Demo data (src/demo.mjs): personas with fields and app storage, field recognition in Dutch and English forms, a human typing rhythm, fill one field or all empty fields. - Demo studio window (ui/demo.js), settings for the Chrome and adb paths. Tests cover the gestures, the data, both sources (the Android one against an emulator you name with MS_TEST_ANDROID) and the whole flow through the editor. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…n per recording A fixed guess (0.1 s) was too short on real phones. The recording is now measured: ffmpeg's scene score gives the moments the picture changed, and the median time from each tap, hold or swipe to the first change is the shift the taps get. It is shown in the review; a recording where no tap changed the picture falls back to a guess (0 for web, 0.3 s for Android). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…reenshots) The live picture came from one screenshot after another: 5 fps on the emulator, far less on a big phone or over wifi. It is now an H.264 stream from screenrecord decoded by ffmpeg (64 fps on the same emulator, median gap 16 ms), with one screenshot once the stream has been quiet, because a raw H.264 stream only releases a picture when the next one begins. Falls back to screenshots on a device where the stream does not work, and pauses the stream during a recording on a phone that cannot run two encoders. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…he address field Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…radient, spotlight, plain) with crossfades Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes Motion Studio a closer CapCut replacement.
Docs (README, docs/ARCHITECTURE.md) are updated for each feature.
Testing
npm run check,npm test(81 pass, 1 skipped: the Android device test only runs withMS_TEST_ANDROID),npm run test:ui(20 pass)a phone page: taps click, swipes scroll…) failed twice under load and passed on rerun; not investigated