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

LEAVE A REPLY

Please enter your comment!
Please enter your name here