Detect Motion
Detect Motion finds the stretches of video where something is happening and the stretches where nothing is. Run it before Delete Non-motion or Camera Selection needs that information. Detect Motion itself doesn't edit the timeline.
Choose a detection type
Detect Motion has two ways to decide what counts as activity. You pick one under Detection type, the first setting below the file list. It opens on Pixel every time.
Pixel measures how much the picture changes between frames. It runs on your computer at no cost. Pixel looks for visual change, not what caused it, so any movement counts, even when the artist isn't working.
Action has an AI model look at the footage and decide whether the artist is working on the page. Solar Sailer sends small frames from the footage, about six per second, to TypeSafe for this. Use it for a camera looking down at someone drawing, such as a work cam or hands cam. It isn't designed for screen recordings. If you check a file labeled as a screen recording while Action is selected, the dialog warns you and suggests Pixel for it.
Action costs about $1 per hour of footage. It needs a paid plan and a TypeSafe API key, which you add under Edit > Preferences… > API Keys. Without a paid plan, clicking Detect motion opens the account message instead of running. See Unlock a paid AI tool. If the key is missing, the dialog asks for it. See Add a required key or login.
Analyze video
- Select video files in the media bin or select clips on the timeline.
- Open the Process menu and click Detect motion…. You can also right-click selected files in the media bin and choose Detect motion….
- Choose Selected in bin or On timeline, then check the files you want to analyze. Audio-only files aren't supported. Detect Motion is meant for Work, Hands, Screen, and Board footage. If you check a file with another label, such as a face cam, the dialog warns you, but you can still run it.
- Under Detection type, choose Pixel or Action.
- With Pixel, keep Motion type set to Auto unless it identifies the footage poorly. In that case, choose Screen, Camera, or Hybrid and run it again. Action has no Motion type setting.
- Leave Detection area on Whole frame, or click Set regions… to watch only part of the picture. See Watch only part of the frame.
- Optionally, check Only analyze timeline content to skip the parts of each file that no timeline clip uses. It turns on by itself when you choose On timeline.
- Click Detect motion.
For cancellation and errors, see Run an AI Tool.
Watch only part of the frame
Boxes tell Detect Motion where to look. Use them when something unrelated moves in the shot, like a webcam inset on a screen recording, or when only one area matters, like the paper in a drawing demo.
- In the Detect Motion dialog, click Set regions… next to Detection area. The button reads Edit… once a video has boxes.
- Under Box type, choose Include or Exclude.
- Drag on the frame to draw a box.
- Drag the slider under the frame to check the box against other moments in the video.
- Use the strip of thumbnails at the bottom to switch videos and draw boxes for each one.
- Click Done.
With Include boxes, Detect Motion measures motion only inside them. Motion inside Exclude boxes never counts, even where an Exclude box overlaps an Include box. With only Exclude boxes, the rest of the frame is analyzed. With Action, the picture is cropped to the area around your Include boxes before the model looks at it.
Each video has its own boxes. To use one layout everywhere, draw it once and click Copy to all selected videos. This replaces the boxes on the other videos.
To change a box, click it. Drag it to move it, or drag a handle on its edge to resize it. Click Include or Exclude to switch its type. To delete it, click the X on its tag or press Delete. Press Esc to deselect a box so you can draw a new one on top of it. With nothing selected, Esc closes the editor and discards your changes, like Cancel.
Click Cancel to throw away every change you made since opening the editor, for all videos. Done stays unavailable while a video breaks a rule, and the problem appears under the thumbnails. Each video can have up to 32 boxes. The area left to analyze must be at least 1% of the frame. For a single Include box, that means about a tenth of the frame's width by a tenth of its height.
Back in the run dialog, each video with boxes shows a chip such as 2 regions. Click it to edit that video's boxes.
Boxes aren't saved. The next time you open Detect Motion, every video starts on Whole frame. A run with boxes replaces that video's earlier result of the same detection type, so Delete Non-motion, Camera Selection, and the motion overlay use the boxed result. An automatic whole-frame Pixel run can replace it again on a video labeled SCR (Screen), for example after you relabel it or rerun Classify while background analysis is on. If that happens, run Detect Motion with your boxes again.
You can also ask the agent in the Agent panel to set boxes, for example to exclude a facecam. It looks at frames from the video to place them. If its chat model can't view images, tell it where the boxes go. If you don't, it says it can't see the frames and runs on the whole frame. See The Agent Panel.
Let it run after import
When Analyze imported media in the background is on, Detect Motion runs by itself on the whole frame of some labeled video. The setting is in Edit > Preferences… > Media > On import and is off by default. The label comes from Classify, or you can set it yourself by right-clicking the file.
Video labeled SCR (Screen) gets Pixel with Motion type set to Auto, at any resolution. This happens whenever the file gets that label, including a label you set yourself.
Video labeled WRK (Work) or HND (Hands) gets Action, but only when you import it and Classify labels it as part of that import. Classifying or relabeling a file that's already in the project never starts an Action run, so you won't be charged for footage you didn't just bring in. Run Detect Motion yourself for those files.
Video with any other label, or no label yet, is skipped. If you change a file's label to one outside these three before its background run finishes, Solar Sailer cancels that run.
If an automatic Action run can't use Action because there's no TypeSafe key, the key was rejected, or your plan doesn't include it, Solar Sailer runs Pixel on that file instead, unless the file already has a current Pixel result. Module results for the file says why and offers Open API Keys… or Upgrade. Fix the problem, then run Detect Motion with Action yourself.
Review the result
To see the analysis on the timeline, right-click a clip, open Display, and click Motion overlay. You can also right-click an empty part of the timeline and choose Motion overlay. With a Pixel result, the colored bars show how much the picture changes across each analyzed clip. With an Action result, they show how likely it is that the artist is working. Either way, active and still stretches are easy to compare. This setting applies to the whole timeline and stays on between sessions.
To check a file's summary, right-click it in the media bin and choose Module results. The Motion row shows which detection type is in use and the number of motion segments. For a Pixel result, it also shows the detected footage type.
Switch between Action and Pixel results
A file can keep one Action result and one Pixel result at the same time. The result from your most recent run is the one in use. When the file has both, the Motion row in Module results lists the other one with a Use Action or Use Pixel button. Click it to switch. The button is unavailable while Detect Motion is still running on that file.
Use the result
Both tools below use the result that's in use for each file, Action or Pixel.
- Clip > Delete Non-motion… uses the analysis to find still stretches. You can disable those stretches or delete them from the timeline, so check the highlighted regions before applying the change. See Cut Silence and Dead Footage.
- Camera Selection uses motion as one clue when choosing which camera to show. See Pick Camera Angles with Camera Selection.