v2.1.1 Latest
WASAPI Loopback Audio
~37 KB FASM x64 Edition
4 MCP Tools: screenvideo-mcp
ScreenCapture Pro (screenvideo) — Zero-Memory Recorder & FASM Edition
Combines a modern ttkbootstrap multi-monitor screen & audio recorder (WASAPI loopback + mic mix, synchronous Pause/Resume, interactive Shift+F11 snipping with Win32 CF_DIB clipboard copy, 2-pass FFmpeg GIF export) with a standalone ~37 KB pure FASM x64 native edition and MCP server.
📦 1. Installation & Entrypoints
pip install screenvideo
| Hotkey / Command | Action |
|---|---|
screenvideo / uv run screenvideo | Launch ScreenCapture Pro desktop recorder & gallery GUI |
F2 / Shift+F11 | Interactive region selection / instant snipping with Win32 CF_DIB clipboard copy |
F5 / F6 / F10 / F11 | Start recording (with countdown) / Pause-Resume / Stop & Save / Quick Screenshot |
cd asm && build.bat | Compile pure 64-bit Flat Assembler (~37 KB standalone) edition using FASM.EXE |
🎬 2. Programmatic Screen, Monitor & GIF Pipeline
screenvideo_api.py
from pathlib import Path
from screenvideo.core.monitors import get_available_monitors, Region
from screenvideo.core.screenshot import capture_screenshot
from screenvideo.core.recorder import ScreenRecorder
from screenvideo.core.gif import export_to_gif
# Enumerate physical displays
for mon in get_available_monitors():
print(mon)
# Capture high-res PNG screenshot of primary monitor & copy to clipboard
shot_path = capture_screenshot(
region=Region(left=0, top=0, width=1280, height=720),
output_dir=Path("./captures"),
monitor_index=1,
include_cursor=True,
highlight_cursor=True,
copy_to_clipboard=True,
format="png",
)
# Zero-memory direct-to-disk recording & 2-pass palette GIF conversion
recorder = ScreenRecorder()
# export_to_gif("recording.mp4", "demo.gif", fps=15)
🔌 3. Native MCP Server (screenvideo-mcp)
| MCP Tool | Key Parameters | Purpose |
|---|---|---|
screen_list_monitors | *(none)* | List physical & virtual displays, geometries, resolutions, primary flag |
screen_capture | monitor_index, x, y, width, height, include_cursor, highlight_cursor, format, return_base64, copy_to_clipboard | Capture desktop or region screenshot as PNG/JPG/BMP + optional base64 & CF_DIB copy |
screen_list_audio_devices | *(none)* | Enumerate output speakers (WASAPI loopback) and microphones |
screen_copy_to_clipboard | file_path | Copy PNG/JPG/BMP image directly into Windows CF_DIB clipboard |
mcp_config.json
{
"mcpServers": {
"screenvideo": {
"command": "screenvideo-mcp"
}
}
}