Create a still image showing a robot at several recorded positions. The tool keeps the original frame coordinates, lets you replace parts of the background with pixels from other frames, and increases the opacity of successive appearances. It opens a GUI in your browser and runs locally.
Install Python 3.9 or newer and FFmpeg, including ffprobe. Check that ffmpeg -version and ffprobe -version both work from your terminal. No Python packages or browser extensions are required.
| Platform | FFmpeg setup | Run from the extracted folder |
|---|---|---|
| Windows | Install an FFmpeg build and add its bin directory to PATH. Open a new PowerShell window afterward. |
py -3 compositor.py |
| macOS | With Homebrew, run brew install ffmpeg. |
python3 compositor.py |
| Ubuntu | Run sudo apt install ffmpeg. |
python3 compositor.py |
The launcher opens your default browser. If it does not open automatically, paste the printed http://127.0.0.1:… address into a recent Chrome, Edge, Firefox, or Safari window. Keep the terminal open while working. Press Ctrl+C when finished.
If ffprobe reports Library not loaded for a path such as /opt/homebrew/opt/x265/lib/libx265.212.dylib, reinstall FFmpeg so Homebrew can install a build linked against the current dependencies.
brew reinstall ffmpeg
ffprobe -version && ffmpeg -versionWhen both version checks pass, restart the compositor from that terminal. If the error persists, run type -a ffprobe ffmpeg and brew linkage --test ffmpeg to check which tools the shell is using and whether Homebrew still reports a broken link. Keep the original MP4 and project JSON.
If Homebrew cannot download a dependency such as libvpx, the compositor can use a separate pair of FFmpeg binaries. For Apple Silicon, download the FFmpeg (ZIP) and FFprobe (ZIP) release builds from Martin Riedl's build server under macOS (Apple Silicon/arm64). Extract both archives and put the ffmpeg and ffprobe executables side by side in a folder named ffmpeg-arm64 in your home directory. From the compositor folder, run:
python3 compositor.py --ffmpeg-dir "$HOME/ffmpeg-arm64"The launcher prints the exact binary paths and checks both before starting. If you extracted the binaries to another location, pass that folder instead. The folder must contain the executables directly. You can check them separately with "$HOME/ffmpeg-arm64/ffprobe" -version and "$HOME/ffmpeg-arm64/ffmpeg" -version.
- Click Open video and choose your original
VID20261124172700.mp4. The source video is separate from this package. - Click Load project and select
AirPulse_example_project.json. - The Composite preview shows seven poses. The outline is traced from the detected foreground mask, so it may differ slightly from the original hand-traced outline.
- Adjust the settings or click Export PNG to export at 1600 × 1100 pixels.
- Generate. Open your video, set the start, end, and interval in seconds, then click Generate composite. Each sample uses the nearest source frame. Blue wings is the default for AirPulse. For robots with other colors, try Background difference, preferably with a shared search area around the flight path.
- Refine the search if needed. Set shared search area constrains detection for every unboxed pose. Click a frame row and choose Box this pose to override a single detection. You can also add or remove individual frames. Generate again to use the edited selection. Changing the timing settings resamples the clip the next time you generate.
- Refine the background and style. The initial background is a pixel-wise median of several frames. Inspect it with Clean background. If the median leaves a person or a ghost image, choose Use current as background on a clearer frame, use Add clean patch to copy a clear region from another frame, or use Set output crop. Adjust the opacity endpoints, threshold, brightness, saturation, and blur in the Composite preview.
- Save. Export PNG downloads the composite. An output width of 0 uses the crop's native width. Save project downloads your frame selections, boxes, background patches, crop, and style settings. Open the same source video before reopening the saved project.
A stationary camera works best. Aligning a moving camera and identifying people automatically are outside this workflow. A person who never moves out of a region needs to be cropped out, or you need a separate recording of the room with the same framing. Since there is no reference-image import, a clean frame needs to be part of the same input clip to use it as a patch. A short clip around the flight gives faster preview updates. Videos up to 1 GiB can be selected, and interval sampling is capped at 100 times to keep memory use manageable.
The video is copied to a temporary folder on your computer during processing. The server binds to the local loopback address, and preview pixels and exported images are processed in your browser.