Giter Site home page Giter Site logo

recordscreen's Introduction

RecordScreen.py

RecordScreen.py is a simple command-line front end to recording screencasts with ffmpeg or avconv from libav. The ffmpeg and avconv command-line options for this are a bit tricky, so this script aims to present a more convenient and pleasant command-line experience.

Example Usage

To record your entire desktop to the file output_file.mkv with default settings, enter this at the command line:

recordscreen.py output_file.mkv

When you are finished recording, you can either press q or hit Ctrl-C to stop. Note that if no output file is specified it will create a file in the current directory with the name out_####.mkv, where #### is a number that is incremented to avoid overwriting any existing files.

By default, recordscreen.py records at 15fps. You can change that with the -r flag. For example, to record at 30fps:

recordscreen.py -r 30 output_file.mkv

Similarly, the default video and audio codecs are h.264 and aac, respectively. To use something else, you can do this:

recordscreen.py --vcodec=vp8 --acodec=pcm output_file.mkv

You can save to a different container format simply by changing the file extension of the output file:

recordscreen.py output_file.mp4

The available containers are: avi, mp4, mov, mkv, ogv, and webm.

There are other options available as well, such as recording only part of the screen. All options are documented in the help:

recordscreen.py --help

recordscreen's People

Contributors

cessen avatar techtonik avatar michaelni avatar

Watchers

James Cloos avatar

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.