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

Upgrade to Ubuntu 20.04 LTS: Prepare, Update, and Confirm

Ubuntu 20.04 LTS (code name Focal Fossa) was released on April 23, 2020. It is a…

7 hours ago

Install Google Chrome on Ubuntu 20.04: Download and Setup Guide

Google Chrome is the most widely used web browser in the world. It is fast, secure,…

8 hours ago

Install Java on Ubuntu 20.04: OpenJDK 11, JDK 8, and JAVA_HOME

Java is one of the most widely used programming languages in the world. It runs on…

8 hours ago

Install Ubuntu on Raspberry Pi: Flash, Configure, and Boot

Raspberry Pi is the most popular single-board computer ever made. It is small, affordable, and surprisingly…

8 hours ago

Install pip on Ubuntu 20.04: Python 3, Python 2, and Usage Guide

pip is Python's package manager. It lets you search, download, and install packages from the Python Package…

8 hours ago

Install MySQL on Ubuntu 20.04: Setup, Security, and Root Access

MySQL is the most popular open-source relational database management system. It is fast, reliable, and a…

1 day ago