Skip to main content
Version: 0.4.19

Detect Motion

Detect Motion finds moving and still stretches in video. Run it before Delete Non-motion or Camera Selection needs that information. Detect Motion itself doesn't edit the timeline.

Analyze video​

  1. Select video files in the media bin or select clips on the timeline.
  2. Open the Process menu and click Detect motion…. You can also right-click selected files in the media bin and choose Detect motion….
  3. 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.
  4. Keep Motion type set to Auto unless it identifies the footage poorly. In that case, choose Screen, Camera, or Hybrid and run it again.
  5. Leave Detection area on Whole frame, or click Set regions… to watch only part of the picture. See Watch only part of the frame.
  6. 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.
  7. Click Detect motion.

For cancellation and errors, see Run an AI Tool.

Detect Motion looks for visual change, not what caused it.

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.

  1. In the Detect Motion dialog, click Set regions… next to Detection area. The button reads Edit… once a video has boxes.
  2. Under Box type, choose Include or Exclude.
  3. Drag on the frame to draw a box.
  4. Drag the slider under the frame to check the box against other moments in the video.
  5. Use the strip of thumbnails at the bottom to switch videos and draw boxes for each one.
  6. 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.

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.

info

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 motion result, so Delete Non-motion, Camera Selection, and the motion overlay use the boxed result. An automatic whole-frame run can replace it again, for example after you relabel a video 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 video labeled WRK (Work), HND (Hands), or SCR (Screen), at any resolution, with Motion type set to Auto and the whole frame. Video with any other label, or no label yet, is skipped. The label comes from Classify, or you can set it yourself by right-clicking the file. The setting is in Edit > Preferences… > Import and is off by default.

If you change a file's label to one outside that list before its background run finishes, Solar Sailer cancels that run.

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. The colored bars show how much the picture changes across each analyzed clip, which makes moving and still stretches 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 the detected footage type and the number of motion segments.

Use the result​

  • 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.