/record-gif.sh

Based on `byzanz-record-region` from http://askubuntu.com/a/201018/22343

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Record-gif

A lame GUI for byzanz, improved the user experience (mouse-selectable area, record progress bar, replay-able recording).

preview

Features

  • recording automation ;
  • set recording duration ;
  • set save_as destination ;
  • select –with the mouse– the area to record ;
  • create a script to replay recording (cf. $HOME/.record.again).

Requirements

  • byzanz (probably in your repo) ;
  • xrectsel is installed by the script.

Install

curl --location https://git.io/record-gif.sh | bash -

Usage

Record

record-gif.sh 10 ~/preview.gif

This will record for 10s, and save GIF in ~/preview.gif. If the file exists it's overwritten.

Record again

You know cause the first time always fails, I save the command from last session that completed to record easily record again:

~/.record.again

This will record, after 3s delay as always, with the same duration, destination and area.

Progress bar

It's a self made script, the code is available on my repo edouard-lopez/progress-bar.sh so you can use it in others cases.

License

GPLv3 inherited from byzanz-record-window.