Motion Extraction

Motion Extraction is a free online tool that makes only the changes over time visible. Every frame of the video is compared with a frame from a moment earlier: everything that stayed still disappears into a flat gray, and everything that moved, even slightly, lights up. It reveals movements you would never notice, like a plant swaying, a person breathing or the vibration of a machine.

Use a video file or your camera, adjust the effect while watching, and export the result as an MP4. Your video is never uploaded anywhere: everything happens inside your own browser.

Drop your video here
MP4, MOV, WebM or MKV. For the best result, the camera should not move.
Original
Motion

Effect
Time offset: 2 frames (0.067 s)
Each frame is compared with the frame this many frames before it. Small offsets show fast movements as thin outlines; large offsets reveal slow movements.
Style
Amplify: 1x
Makes small movements easier to see.
Noise filter: 0%
Ignores changes smaller than this, like the grain of the camera sensor and the blocks of video compression. Raise it if the still parts of the picture flicker.
Compares only the brightness, hiding changes of color.

How to use this online tool?

  1. Upload a video, or click "Camera" and start your camera. For the best result, the camera must not move: put it on a tripod or a table.
  2. Play the video and watch the "Motion" picture: only what moves shows up.
  3. Adjust the time offset, the style, the amplification and the noise filter until the movement you care about stands out.
  4. Click "Export video (MP4)" to process the whole video, then download the result. You can also save a single frame as a PNG image.

What is motion extraction?

Motion extraction is a simple video trick that keeps only the differences between frames. Take a video, make a copy of it, invert the colors of the copy, make it half transparent, place it on top of the original and delay it by a few frames. Wherever the picture didn't change, the original and its inverted copy cancel each other out into a flat mid-gray. Wherever something moved, they no longer match, and the movement appears as light and dark outlines. Everything static vanishes, and only the changes over time remain visible.

This tool does exactly that, frame by frame, on the graphics card of your computer: each frame is compared with the frame a chosen number of frames before it.

Which time offset should I use?

It depends on how fast the thing you want to see moves. With an offset of 1 or 2 frames, only fast movements show up, as thin outlines. Larger offsets compare moments further apart, so slow movements, like a plant growing toward the light, clouds, shadows or someone breathing, become visible, and fast ones leave a double image. Try a few values while the video plays.

What's the difference between the two styles?

"Gray (classic)" is the original effect: static areas are mid-gray, the places where something appeared get lighter and the places where something disappeared get darker, so you can tell the direction of the change. "Difference on black" shows only the amount of change: static areas are black, and anything that changed glows, which is often easier to read and looks great on dark backgrounds.

Why does the whole picture light up?

Because the camera moved. Motion extraction compares each pixel with the same pixel a moment earlier, so if the camera shakes, pans or zooms, every pixel changes. Use a tripod, or rest the phone or the camera on something stable. Flickering lights can also make the whole picture pulse, since many lamps flicker at 100 or 120 times per second.

Why is there noise in the still parts of the picture?

Every camera sensor adds a little random grain to each frame, especially in low light, and video compression changes the picture slightly from frame to frame. Motion extraction makes these tiny differences visible too, and the "Amplify" setting makes them stronger. Raise the "Noise filter" to ignore them, or use a video recorded with more light and a higher quality.

Is my video uploaded to a server?

No. This tool has no server side at all. Your video, and the image of your camera, are processed by your own browser and never leave your computer.



Related tools

RGB Split Video Effect

Split the red, green and blue layers of a video, shifting them in space and delaying them in time.

Slit-Scan

Turn one direction of a video into time: stretch moving things with the slit-scan effect, or make a photo finish picture.

Video Edge Detection

Find the edges in every frame of a video with Canny, Sobel, Laplacian of Gaussian or XDoG, and turn videos into line art.

Webcam Tester

Test your webcam online: see the image, check the resolution and the frame rate, take a photo and test your microphone.

Trim Video (lossless)

Cut a part of a video without re-encoding it: no quality loss, done in seconds, right in your browser.

WebM to MP4

Convert WebM videos to MP4: H.264 + AAC to play everywhere, or lossless in seconds, right in your browser.

Remove Audio from Video

Mute a video by removing its sound, without re-encoding it: no quality loss, done in seconds, right in your browser.