Skip to content

buhman/capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capture

circleci

capture recording itself

capture is a no bullshit screen capture tool.

installation

An install script is provided for convenience.

$ curl -Lo- "https://raw.githubusercontent.com/buhman/capture/master/install.sh" | sudo bash

This is just a handful of trivial commands to install capture in /usr/local/bin. Feel free to copy-paste instead if you wish.

dependencies

Dependencies are not considered during installation; you need to make these exist on your own.

  • slop
  • ffmpeg>2.2
  • coreutils
  • bash>4.0

usage

Maximum simple:

capture

You'll get a selection rectangle, followed by the capture of that region. You can either drag-select a region, or click to select an entire window. Press q (once) to stop the capture and finish encoding. The resulting filename, if not specified, will be printed on stdout.

stdout

If you're uploading the output to elsewhere immediately; you might want to do this.

capture webm - | upload_to_space

You can coincidentally also use other protocols like pipe.

gif

Create a 320-pixel wide gif that maintains aspect ratio:

capture gif output.gif 320:-1

This is basically only useful when you want something you can embed on services like github, otherwise webm/vp9 is massively more efficient.

advanced usage

I try to provide sane defaults that result in acceptable-quality video with minimum size optimized for quick sharing over the internet. If you don't like these; the ffmpeg arguments should be easy to edit.

If you think there's a better default; open an issue.

About

no bullshit screen capture tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages