Skip to content

About

Scrcpy Screen Mirroring: Low-Latency Android Display Replication and Input Control

Topics

Resources

Security policy

Stars

337 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrcpy Screen Mirroring & Control: Low-Latency Android Desktop Client for Windows 11

📦 PowerShell Install Button

rating ci powershell runs-on users licence


Scrcpy Screen Mirroring is a desktop application engineered for low-latency display replication and direct input control of Android devices from a host workstation. Built on native rendering pipelines, it delivers high-framerate video throughput with minimal CPU overhead while preserving device responsiveness during extended sessions. The application supports keyboard and mouse passthrough, clipboard synchronization, and configurable bitrate and resolution parameters for precise performance tuning. An openly accessible distribution model and lightweight dependency footprint make it suitable for development, QA, and demonstration workflows across heterogeneous hardware configurations.

📋 System Requirements

  • OS: Windows 10 / 11
  • Shell: PowerShell 5.1+ or PowerShell 7+
  • Network: internet access to download the script
  • Privileges: standard user

Features

Low-Latency Mirroring Engine: Streams the Android display to the desktop over USB or TCP/IP with a lightweight native renderer that prioritizes frame pacing and minimal input lag, keeping interaction responsive during extended sessions.

  • Direct Input Injection: Translates physical keyboard and mouse events into native Android input, supporting multi-touch emulation, scroll wheel passthrough, and configurable key-to-action mappings without requiring root access.

  • Adaptive Bitrate and Resolution Control: Adjusts encoding parameters in real time based on link quality, allowing users to cap resolution, frame rate, and bitrate to match available bandwidth or host hardware constraints.

  • Configurable Display Session Parameters: Exposes launch-time flags for orientation locking, display cropping, screen-off operation, and window sizing, enabling tailored session profiles for testing, demonstration, or remote operation workflows.

  • Multi-Device Session Management: Detects and enumerates connected Android targets, permitting concurrent mirrored sessions from a single desktop host with per-device configuration isolation.

  • Cross-Platform Desktop Client: Runs as a self-contained native application on major desktop operating systems, with no runtime dependencies beyond the platform's standard input and display subsystems.

  • Audio and Clipboard Bridge: Optionally forwards device audio to the desktop output and synchronizes clipboard contents between host and target for streamlined text transfer during mirrored sessions.

  • Record and Capture Utilities: Provides built-in session recording to standard container formats alongside single-frame capture, useful for documentation, defect reproduction, and validation evidence.

  • Non-Invasive Operation Model: Requires only standard developer debugging authorization on the target device, preserving the stock system image and avoiding persistent modifications to the Android environment.

How It Works

Scrcpy establishes a direct client-server connection between the desktop host and the Android device over USB or TCP/IP. On launch, the desktop executable pushes a lightweight server binary to the target device, starts it through the Android Debug Bridge, and negotiates a video stream using the device's native media codec pipeline. The captured H.264 or H.265 stream is transmitted to the desktop, decoded in hardware where available, and rendered into a dedicated low-latency window.

Input handling runs in the opposite direction: keyboard and mouse events captured by the desktop window are translated into Android input events and injected through the server, enabling full navigation, text entry, and multi-touch gesture emulation without any companion app installed on the device.

The architecture is deliberately stateless and non-invasive. No root access is required, no persistent service remains on the device after disconnect, and the server binary is removed automatically on session teardown. Frame pacing, bitrate, resolution scaling, and display cropping are configurable at startup, allowing the pipeline to be tuned for either visual fidelity or minimal latency depending on the workload.

Audio capture and forwarding are handled by a separate optional stream that mirrors the device's internal playback output to the desktop in real time. Clipboard synchronization operates bidirectionally, so text copied on either endpoint becomes available on the other for the duration of the session.

Because every component is compiled from a single codebase and the server payload is version-matched to the desktop client at connection time, protocol drift is eliminated and sessions remain reproducible across machines. The result is a deterministic, self-contained mirroring path that prioritizes transparency, responsiveness, and predictable resource usage over persistent background agents.

Compatibility

Scrcpy operates across a broad matrix of Android versions and desktop operating systems, with graceful degradation when a given device or release lacks specific capabilities.

Android Device Support

  • Android 5.0 (API 21) and later is required for core screen mirroring and input injection.
  • Audio forwarding requires Android 11 (API 30) and later; on older releases, video mirroring and control remain fully functional.
  • Wireless operation over TCP/IP is supported on Android 5.0 and later, provided the device and host share a network path.
  • Devices exposing standard Android Debug Bridge interfaces are recognized without vendor-specific configuration; OEM builds that restrict debugging features may limit individual capabilities.

Desktop Host Support

  • Windows 10 and 11 on x64 and ARM64 architectures.
  • macOS 12 and later on Apple silicon and Intel hardware.
  • Linux distributions with a current graphical stack, including X11 and Wayland sessions.
  • Both 64-bit and 32-bit builds are offered where the platform permits.

Runtime Dependencies

  • A working Android Debug Bridge installation or bundled binary must be reachable by the application.
  • Hardware-accelerated video decoding is used when the host provides a compatible decoder; software decoding is selected automatically as a fallback.
  • No elevated privileges are required for standard wired sessions; wireless sessions depend on the device's debugging authorization state.

Interoperability Notes

  • Multiple devices can be mirrored concurrently, each in an independent window with its own configuration.
  • Display resolution and frame rate adapt to the negotiated device capabilities, and the application reports the active stream parameters in its log output.
  • Compatibility with third-party Android distributions is validated against stock behavior; custom ROMs that alter the debugging subsystem may require additional host-side configuration.

FAQ

Is Scrcpy Screen Mirroring available at no cost? Yes. Scrcpy Screen Mirroring is distributed as an openly accessible utility, with the source available for review, modification, and redistribution under its stated license terms. There are no subscription tiers, license keys, or activation steps required to unlock mirroring or control functionality.

Does Scrcpy Screen Mirroring require root access or device modification? No. The tool operates entirely through the Android Debug Bridge (ADB) using standard, documented interfaces. No root privileges, custom firmware, or system-level alterations are needed on the target device. Enable USB debugging in the developer options, authorize the host, and the mirroring session initializes over the existing transport.

Which Android versions and desktop platforms are supported? Scrcpy Screen Mirroring targets Android 5.0 (API level 21) and later, with optimal performance on Android 11+. The desktop client runs natively on Windows, Linux, and macOS. Both USB and TCP/IP connections are supported, allowing wired or wireless operation depending on network conditions and device capabilities.

What latency and frame rate can be expected? Streaming latency typically ranges from 35 to 70 milliseconds over USB, depending on device encoder performance and display resolution. Frame rates of up to 60 FPS are achievable, with configurable bitrate and resolution scaling to balance quality against bandwidth and CPU load. Lower-end hardware may benefit from reduced resolution or bitrate presets.

Is audio forwarded alongside the video stream? Audio forwarding is supported on Android 11 and above, selectable at launch. Earlier Android releases do not expose the required capture interfaces, so audio remains on the device while video and control are mirrored to the desktop.

Can the device be controlled from the desktop during mirroring? Yes. Keyboard and mouse input are forwarded to the Android device, including text entry, navigation, and multi-touch emulation. Physical device input and desktop input remain synchronized, and the display can be rotated or resized without terminating the session.

Does the tool record sessions or capture screenshots? Session recording and still-frame capture are both supported. Output is written to a user-specified local path in standard container formats, with configurable encoding parameters. Recording operates independently of the live mirroring pipeline, so capture does not interrupt active control.

What are the resource requirements on the host machine? A dual-core processor and 2 GB of RAM are sufficient for 1080p mirroring at default settings. Higher resolutions, elevated frame rates, and simultaneous recording increase CPU and GPU utilization. Hardware-accelerated decoding is used where available to reduce host-side overhead.

How are connection issues diagnosed? Verify that the device appears in the ADB device list, that USB debugging authorization has been granted, and that no conflicting ADB server instance is running. For wireless connections, confirm both host and device reside on the same network segment and that the debugging port is reachable. Verbose logging can be enabled at launch to trace transport and encoder negotiation.

Is the software updated independently of the Android device? Yes. The desktop client and the companion server component are versioned together and deployed as a matched pair at session start. Updating the desktop client is sufficient; no manual installation is required on the Android device, and version mismatches are reconciled automatically during connection.

Disclaimer

Scrcpy Screen Mirroring is provided as a desktop utility for local device screen replication and input control. All functionality operates exclusively through the official Android Debug Bridge transport layer and requires an authorized USB or wireless debugging session initiated by the device owner. The software performs no background telemetry, no remote code execution, and no persistent system modifications beyond the compiled binary and its runtime configuration files. Mirroring and control capabilities are bounded by the permissions granted through the device's developer options, and the application terminates all sessions when the host process exits. Users are responsible for ensuring that device access is authorized and that use complies with applicable organizational policies and local regulations. The project is distributed on an as-is basis for legitimate development, testing, and accessibility workflows; no warranty is expressed or implied regarding fitness for a particular purpose or uninterrupted operation. Redistribution of modified builds is permitted only under the terms described in the License section.

License

Scrcpy Screen Mirroring is distributed under the Apache License 2.0, a permissive licensing model that grants unrestricted use, modification, and redistribution of the software for both personal and commercial purposes. Under the terms of this license, you may integrate the mirroring and control functionality into proprietary workflows, embed the runtime within internal tooling, or fork the codebase to suit specialized deployment requirements, provided that the original copyright notice and license text are preserved in all copies or substantial portions of the software. The license imposes no copyleft obligations on derivative works, meaning extensions and customizations you develop remain under your own chosen terms. Redistribution in source or binary form is permitted without royalty or attribution beyond the standard notice retention, and the license includes an express grant of patent rights from contributors. The software is provided on an "as is" basis, without warranties or conditions of any kind, whether express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use. This licensing arrangement ensures that Scrcpy Screen Mirroring remains openly accessible for inspection, auditing, and adaptation while protecting contributors from liability. Users deploying the software in regulated or production environments are encouraged to review the full license text to confirm compliance with their organizational policies.

About

Scrcpy Screen Mirroring: Low-Latency Android Display Replication and Input Control

Topics

Resources

Security policy

Stars

337 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages