Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

# android-capture


android-capture demo

`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.