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

Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago