v2.1
版本发布时间: 2023-06-22 07:31:08
Genymobile/scrcpy最新发布版本:v2.7(2024-09-16 03:30:02)
To receive a notification on new releases, click on Watch > Custom > Releases on the top.
scrcpy v2.1
Changes since v2.0:
- Add --no-video to mirror audio only (#3978)
- Add option to select the device microphone as audio source (#4044)
- Rename --no-display to --no-playback (#4033)
- Add --no-video-playback and --no-audio-playback (#4033)
- Add --time-limit to automatically stop after a given delay (#3752, #4052)
- Add option to change the audio output buffer size (#3793)
- Add option to kill adb on close (#205, #2580, #4049)
- Support dynamic device folding (#3960, #3979)
- Use OpenGL 3.0+ on macOS to support trilinear filtering (#3895)
- Add (partial) support for Android 14 (#3784, #4074, #4075)
- Improve delay buffer estimation (2f9396e2)
- Fix --tcpip not working in some cases (669e9a8d)
- Fix audio support for Vivo phones (#3805, #3862)
- Fix audio support for Honor phones (#4015)
- Fix copy-paste on Honor Magic 5 Pro (#3885)
- Fix audio capture starting on some Android 11+ devices (#3796)
- Fix V4L2 regression (#3795)
- Fix support of Nvidia Shield (#3801)
- Fix .desktop files for Linux (#3817)
- Fix error on device rotation while minimized on Windows (#3947)
- Fix extra audio glitches on audio buffer underflow (#4045)
- Automatically fix PTS for buggy device encoders (#4054)
- Upgrade SDL to 2.28 in Windows releases (#3825)
- Update developer documentation (#3811)
- Various technical fixes
Highlights
Audio only
Scrcpy v2.0 introduced audio forwarding, which could be disabled by --no-audio
to mirror video only.
This version adds the symmetric option --no-video
to forward audio without video.
Note that in many cases, including listening to music, audio latency is not critical, so it might be interesting to add buffering to minimize audio glitches:
scrcpy --no-video --audio-buffer=200
# interrupt with Ctrl+C
The capture can be recorded to an audio file:
scrcpy --no-video --record=file.opus
scrcpy --no-video --audio-codec=aac --record=file.aac
# .m4a/.mp4 and .mka/.mkv are also supported for both opus and aac
Capture device microphone
By default, the device audio output is forwarded.
It is now possible to capture the device microphone instead:
scrcpy --audio-source=mic
For example, to use the device as a dictaphone and record a capture directly on the computer:
scrcpy --audio-source=mic --no-video --no-playback --record=file.opus
No playback
The option -N
, initially --no-display
, has been renamed to --no-playback
, since it impacts both video and audio.
In addition, two options --no-video-playback
and --no-audio-playback
have been added to disable video and audio playback separately (--no-playback
is an alias for both).
For example:
scrcpy --v4l2-sink=/dev/video2 --no-video-playback # keep audio playback
scrcpy --record=file.mkv --no-audio-playback # keep video playback
Time limit
A new option --time-limit
allows to stop scrcpy automatically after a given delay in seconds.
For example, to record the device for 20 seconds:
scrcpy --record=file.mkv --time-limit=20
Foldable devices
Scrcpy now reacts to "fold changed" events, so it should properly mirrors foldable devices (#3979).
Device-specific fixes
Several fixes (or workarounds) for specific devices have been implemented to make audio work. If you had audio issues with your device on scrcpy v2.0, you should try this new version.
Android 14
Several errors occurred when running scrcpy with Android 14 preview, some of them have been fixed.
One notable exception is the --turn-screen-off
feature, which still does not work on Android 14. See #3784.
Developer documentation
The developer page was outdated. It has been updated for scrcpy 2.x.
It's not exhaustive, but it gives some relevant information and matches the current version.
- Twitter:
@scrcpy_app
- Reddit:
r/scrcpy
1、 scrcpy-server-v2.1 55.62KB
2、 scrcpy-win32-v2.1.zip 5.56MB
3、 scrcpy-win64-v2.1.zip 5.68MB
4、 SHA256SUMS.txt 261B
5、 SHA256SUMS.txt.asc 833B