Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ds300/android-capture
Capture video and screenshots from Android devices and emulators.
https://github.com/ds300/android-capture
android screen-capture screenshot video
Last synced: about 2 months ago
JSON representation
Capture video and screenshots from Android devices and emulators.
- Host: GitHub
- URL: https://github.com/ds300/android-capture
- Owner: ds300
- License: mit
- Created: 2021-03-29T19:47:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-11T11:55:49.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T07:46:52.717Z (5 months ago)
- Topics: android, screen-capture, screenshot, video
- Language: JavaScript
- Homepage:
- Size: 10.1 MB
- Stars: 34
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# android-capture
`android-capture` makes it easy to capture video and screenshots from Android devices and emulators.
## Quick Reference
- Take a screenshot directly to the clipboard:
`npx android-capture image --copy`
- Record a video to `./new-scroll-behavior.mp4``npx android-capture video new-scroll-behavior`
## Usage
```sh
$ npx android-capture video [] [...options]
```or
```sh
$ npx android-capture image [] [...options]
```Videos are limited to 3 minutes.
### Prerequisites
You need to have [Node](https://nodejs.org/en/) and the Android developer tools installed. In particular, [adb](https://developer.android.com/studio/command-line/adb) must be installed and available in your terminal path.
If you want to capture from a physical device, the device must be paired with your computer via [USB debugging](https://developer.android.com/studio/command-line/adb#Enabling) or [Wireless debugging](https://developer.android.com/studio/command-line/adb#connect-to-a-device-over-wi-fi-android-11+)
### Options
- `--copy` (Screenshots only, macOS only, linux/windows contributions welcome!)
Copies the screenshot to the clipboard. If no output path is given, no file will be saved.
- `--full-res` (Video only)
Records video in full-resolution. By default `android-capture` reduces the video resolution by 50%, which still offers great quality screen recording.
May not work with emulators.
- `--open`
Opens the file after saving.
- `--no-countdown` (Video only)
Skips the '3...2...1...' countdown before starting to record.