XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video record
XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video record
English | 简体中文
XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (WIP).
| Feature | Linux(X11) | Linux(Wayland) | MacOS | Windows(>=Windows 8.1) |
|---|---|---|---|---|
| Screen Capture | ✅ | ⛔ | ✅ | ✅ |
| Window Capture | ✅ | ⛔ | ✅ | ✅ |
| Screen Recording | ✅ | ⛔ | ✅ | ✅ |
| Window Recording | ️ | ️ | ️ | ️ |
…………More examples in examples
On Linux, the following dependencies need to be installed to compile properly.
Debian/Ubuntu:
apt-get install pkg-config libclang-dev libxcb1-dev libxrandr-dev libdbus-1-dev libpipewire-0.3-dev libwayland-dev libegl-devAlpine:
apk add pkgconf llvm19-dev clang19-dev libxcb-dev libxrandr-dev dbus-dev pipewire-dev wayland-dev mesa-devArchLinux:
pacman -S base-devel clang libxcb libxrandr dbus libpipewireThis project is licensed under the Apache License. See the LICENSE file for details.
No open issues yet, or sync has not completed.