android-capture

1.3.0 • Public • Published

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

$ npx android-capture video [<output-filename>] [...options]

or

$ npx android-capture image [<output-filename>] [...options]

Videos are limited to 3 minutes.

Prerequisites

You need to have Node and the Android developer tools installed. In particular, 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 or Wireless debugging

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.

Readme

Keywords

none

Package Sidebar

Install

npm i android-capture

Weekly Downloads

3

Version

1.3.0

License

MIT

Unpacked Size

22.7 kB

Total Files

23

Last publish

Collaborators

  • ds300