What changed in scrcpy from 4 to 5

2 releases numbered after v4.1 up to and including v5.0.1, stable releases only. v4.1 and v5.0.1 are the newest stable releases of 4 and 5 we track; this page follows them as new ones ship.

19 changes across 2 releases

Added 2

v5.0

  • Add hardware decoding with support for VA-API on Linux, D3D11VA on Windows, and VideoToolbox on macOS
  • Build Windows ARM64 releases
Changed 8

v5.0.1

  • Use the GPU of the renderer for VA-API decoding

v5.0

  • Improve video buffering
  • Capture all audio usages in audio playback capture mode
  • Use ANDROID_SERIAL in OTG mode
  • Upgrade platform-tools (adb) to 37.0.1
  • Upgrade FFmpeg to 9.0.2
  • Upgrade SDL to 3.4.18
  • Upgrade dav1d to 1.5.4
Fixed 9

v5.0.1

  • Accept DRM_FORMAT_RG88 for NV12 chroma plane
  • Fix H.265 hardware decoding on Windows
  • Force EGL only if VA-API is enabled

v5.0

  • Fix dropped keys in UHID for some keyboard layouts
  • Fix AltGr forwarding on some layouts
  • Fix --time-limit data race
  • Fix --no-mipmaps
  • Avoid camera capture failed warnings on stop
  • Generate mipmaps for all YV12 planes

Original release notes, newest first

The list above is our reading of these notes; the originals from Genymobile are here, one fold per release.

v5.0.1scrcpy 5.0.1

To receive a notification when a new release is available, click on Watch > Custom > Releases at the top.


scrcpy v5.0.1

Changes since v5.0:

  • Accept DRM_FORMAT_RG88 for NV12 chroma plane (#7070, #7073)
  • Fix H.265 hardware decoding on Windows (#7072)
  • Use the GPU of the renderer for VA-API decoding (#7075, #7081)
  • Force EGL only if VA-API is enabled (#7079)

Highlights

Hardware decoding fixes

Scrcpy 5.0 introduced hardware decoding.

This patch release (5.0.1) fixes several issues:

  • on Linux with an NVIDIA VA-API driver (#7070, #7073)
  • for H.265 on Windows depending on the driver (#7072)
  • with multiple GPUs on Linux, when decoding used a different GPU than rendering (#7075, #7081)
  • with the OpenGL renderer on Windows and macOS (#7079)

View originalPermalink

v5.0scrcpy 5.0

To receive a notification when a new release is available, click on Watch > Custom > Releases at the top.


scrcpy v5.0

Changes since v4.1:

  • Add hardware decoding (#7057, #7001, #1894, #1672)
  • Improve video buffering (#7057)
  • Capture all audio usages in audio playback capture mode (#6975)
  • Use ANDROID_SERIAL in OTG mode (#7053)
  • Build Windows ARM64 releases (#6857)
  • Fix dropped keys in UHID for some keyboard layouts (#6983, #6990)
  • Fix AltGr forwarding on some layouts (#7050, #7051)
  • Fix --time-limit data race (#7029)
  • Fix --no-mipmaps
  • Avoid "camera capture failed" warnings on stop (#7018)
  • Generate mipmaps for all YV12 planes (#7034)
  • Upgrade platform-tools (adb) to 37.0.1
  • Upgrade FFmpeg to 9.0.2
  • Upgrade SDL to 3.4.18
  • Upgrade dav1d to 1.5.4
  • Various technical fixes

Highlights

Hardware decoding

The video stream is now decoded in hardware on the computer, when possible.

Decoding is faster, CPU usage drops by 10×, and power consumption is lower.

Hardware decoding is enabled by default. Use --hwdec to select a specific decoder, or --hwdec=disabled to force software decoding:

scrcpy --hwdec=auto          # use hardware decoding if possible (default)
scrcpy --hwdec=disabled      # software decoding
scrcpy --hwdec=vaapi         # VA-API, Linux only
scrcpy --hwdec=d3d11va       # D3D11VA, Windows only
scrcpy --hwdec=videotoolbox  # VideoToolbox, macOS only

With --hwdec=auto (or when the option is not passed at all), scrcpy falls back to software decoding if the hardware decoder cannot handle the stream.

On Linux, VA-API requires the GPU's VA-API driver (va-driver-all on Debian/Ubuntu).

See video documentation, #7001 and #7057 for details.


View originalPermalink