Skip to content

Instantly share code, notes, and snippets.

@kulmajaba
Created February 24, 2021 08:25
Show Gist options
  • Save kulmajaba/1f1ce4a79741479f416621d0096e64d9 to your computer and use it in GitHub Desktop.
Save kulmajaba/1f1ce4a79741479f416621d0096e64d9 to your computer and use it in GitHub Desktop.
Mirroring Android screen to a computer via USB with command line
adb exec-out screenrecord --bit-rate=16m --output-format=h264 --size 1920x1080 - | ffplay -framerate 60 -framedrop -bufsize 16M -
# Or with scrcpy
brew install scrcpy
scrcpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment