GithubHelp home page GithubHelp logo

catchpoint / webpagetest.xrecord Goto Github PK

View Code? Open in Web Editor NEW
122.0 19.0 38.0 5.87 MB

Console app for capturing video on OS X (particularly from iOS devices)

License: BSD 3-Clause "New" or "Revised" License

Swift 76.59% Objective-C 2.05% C 7.69% C++ 9.13% Objective-C++ 4.53%

webpagetest.xrecord's Introduction

xrecord - Capture video on OS X from the command line (including iOS devices)

System Requirements

To record from iOS it requires an iOS 8.x+ device connected with a lightning connector and OS X Yosemite (10.10) or later.

Getting started

brew install coming soon.  In the meantime, use the xrecord binary from the /bin directory

Command line

Help

$ xrecord --help

Options

  • -l, --list: List available capture devices.
  • -n, --name: Device Name.
  • -i, --id: Device ID.
  • -o, --out: Output File.
  • -f, --force: Overwrite existing files.
  • -q, --quicktime: Start QuickTime in the background (necessary for iOS recording).
  • -t, --time: Recording time in seconds (records until stopped if not specified).
  • -u, --quality: Recoding quality (low, medium, high, photo - defaults to high).
  • -d, --debug: Display debugging info to stderr.
  • -h, --help: Prints a help message.

Examples

List available capture devices

$ xrecord --quicktime --list
Available capture devices:
AppleHDAEngineInput:1B,0,1,0:1: Built-in Microphone
5f355a5b183b2d2d7ba91dcfadd4c14b98504642: iPhone
CC2437519T1F6VVDH: FaceTime HD Camera

Record video from iPhone

$ xrecord --quicktime --name="iPhone" --out="/Users/blah/video/iphone.mp4" --force
Recording started.  Hit ctrl-C to stop.
Done

Known Issues

  • Start of actual recording can lag by up to 3 seconds and may truncate at the end. Leave some time on either end of the activity being recorded for capture lag.
  • Screen orientation changes stops video capture

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.