TECH

Scrcpy v2.2 – Exploring Camera Capture, Android 14 Compatibility, and More

Welcome to the latest update on scrcpy, where we dive into the exciting world of scrcpy v2.2. In this release, scrcpy introduces some noteworthy features, including camera capture capabilities and compatibility updates for Android 14.

Whether you’re a seasoned scrcpy user or new to this powerful tool for mirroring and controlling Android devices, this article will walk you through the key changes and enhancements in scrcpy v2.2.

Changes Since v2.1.1:

  • Add option to mirror camera (#241, #4213)
  • Add –pause-on-exit (#4130)
  • Rename –display (deprecated) to –display-id
  • Fix device disconnection detection with –no-video (#4207)
  • Accept –turn-screen-off without video playback (#4175)
  • Upgrade SDL to 2.28.4 in Windows releases
  • Upgrade platform-tools to 34.0.5 (adb) in Windows releases
  • Various technical fixes

Highlights

Camera Capture

The previous minor version introduced --audio-source=mic to transmit the microphone instead of the device audio output.

This new version introduces --video-source=camera to mirror the device camera instead of the device screen.

A bunch of new options have been added:

  • --list-cameras
  • --list-camera-sizes
  • --camera-id=
  • --camera-facing=
  • --camera-ar=
  • --camera-size=
  • --camera-fps=
  • --camera-high-speed

For example:

scrcpy --video-source=camera --camera-facing=front --camera-size=1920x1080

Check the camera documentation for more details.

Android 14

Since the last scrcpy version, Android 14 has been released.

Unfortunately, several scrcpy features have been broken by changes in this new Android version:

  • --turn-screen-off (#3927): some internal functions have been removed, without replacement that scrcpy could use (it seems it also impacts the feature in Android Studio)
  • --lock-video-orientation (not window --rotation, which is independent) (#4011): some function parameters are now ignored
  • --crop (also #4011): some function parameters are now ignored

Reported to Google/Android: issue 303565669

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

garak, LLM Vulnerability Scanner : The Comprehensive Tool For Assessing Language Model Security

garak checks if an LLM can be made to fail in a way we don't…

5 hours ago

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

5 hours ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

5 hours ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

5 hours ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

1 day ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

1 day ago