Skip to main content

Headless screen and audio capture library and CLI for Windows

Project description

recap

Headless screen and audio capture library and CLI for Windows.

Features

  • Record an entire monitor via Windows Graphics Capture (WGC)
  • Record a single window via WGC (real window capture, not desktop crop)
  • Record system audio via WASAPI loopback
  • Video-only, audio-only, or audio+video modes
  • CLI tool (recap) and importable Python library
  • Uses FFmpeg for encoding/muxing only

Installation

pip install -e .

FFmpeg must be available on PATH or specified via --ffmpeg.

CLI Usage

# Check environment
recap doctor

# List available capture targets
recap monitors
recap windows
recap devices

# Record primary monitor with audio
recap record --output recording.mp4

# Record a specific window
recap record --window-title "Notepad" --output notepad.mp4

# Record video only
recap record --video-only --output silent.mp4

# Record audio only
recap record --audio-only --output audio.wav

# Record for 30 seconds
recap record --duration 30 --output clip.mp4

Library Usage

from recap import Recorder, RecordingConfig

config = RecordingConfig(output="recording.mp4")
recorder = Recorder(config)
recorder.start()
# ... do work ...
recorder.stop()
recorder.wait()

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recap_capture-0.1.0.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recap_capture-0.1.0-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file recap_capture-0.1.0.tar.gz.

File metadata

  • Download URL: recap_capture-0.1.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for recap_capture-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8ac537dd25c1af2b5cb3142b64e6f9d8a2e08faca2ff64e2ea6b7b4c35101af
MD5 ecdb5d2268385d58d868770487201a36
BLAKE2b-256 d065ca243142fe3b56124c147a892667ad8be48244d41b6d380d3ae4155ed684

See more details on using hashes here.

File details

Details for the file recap_capture-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: recap_capture-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for recap_capture-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 694d702cb6c00df8f30067842ff80a7b4febe5c6ce296baa5f65d026394264d8
MD5 c96704730cd29055c4bc4974e9d5dc8b
BLAKE2b-256 f7b6f5bfd33850de2c5ef57f6389dc8ce31722391aef837a45fda26485dd2409

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page