Recap is a tool for:
- Recording videos: record screen along with keyboard and mouse input
- Connect model inference server to interact with game environment: a running inference server with screen capture and bidirectional communication
winget install --id Git.Git -e --source wingetAdd Git Unix tools to your Windows system PATH to enable Linux-style commands in Command Prompt or PowerShell:
- Press the Windows key, type "environment variables", and select Edit the system environment variables
- In the System variables section, find and select
Path, then click Edit... - Click New and paste (if installed with default settings):
C:\Program Files\Git\usr\bin - Click OK on all open windows
Then clone the repo:
git clone https://github.com/elefant-ai/recap.gitDownload and run the installer from:
https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
cargo install justNote: If you encounter "linker
link.exenot found", download the Visual Studio Build Tools, choose the custom installation option, and check the box for Desktop development with C++.
Download and install both the runtime and development versions:
Important: During installation, select Complete to install all features.
Add the GStreamer bin directory to your PATH (default: C:\Program Files\gstreamer\1.0\msvc_x86_64\bin).
winget install Google.ProtobufThe interface is organized into several sections:
- Header: Displays software version and resource usage
- Settings: Fields to add metadata. Feel free to remove them (click on
-icon) if you don't need it. - Window Selection: Choose the window you want to capture (the microphone option is deprecated)
- Recordings: Appears after you make recordings. Click the folder icon to view recorded videos and check the
annotation.protofile containing keyboard and mouse actions
Run the following command to launch Recap:
just traceTip: Set
GST_DEBUG_DUMP_DOT_DIR="some_path"to dump a dot file of the pipeline for debugging.
- Select the window you want to capture
- Press
]to start/stop recording
Note: if you see error such as Error starting capture: Mouse acceleration is somehow enabled, try to disable the mouse acceleration from windows settings and restart the app.
- Press
Shift + ]to start recording with inference (streams frames to an inference server for real-time model control) - Model control pauses when you press any key or move the mouse
- Press
[to resume model control - Press
Shift + ]to stop recording with inference
| Sound | Meaning |
|---|---|
| One beep | Recording started |
| Two beeps | Recording stopped |
| Long beep | Recording saved |
Please refer to the Open P2P repo
