Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
zsh Support for handbrake. Cosmetical fixes May 17, 2018


(C) Martin Väth (martin at This project is under the BSD license.

Frontends for using mplayer/mencoder, ffmpeg/libav, or tzap/czap as video recorder.

The POSIX scripts video{,encode}.{mplayer,ffmpeg} are wrappers for mplayer/mencoder ffmpeg/libav to record from TV or to improve the encoding (in possibly several passes), respectively.

In addition there are the scripts sleepto and videorecord.{mplayer,ffmpeg} which can help you to start video.{mplayer,ffmpeg} at an appropriate time.

Finally, there is a dvb-t/dvb-c script which allows you to start tzap/czap at an appropriate time with appropriate options.


To get help, run in a shell e.g.

  • video.mplayer -\? (-h is reserved for hue)
  • videoencode.mplayer -h
  • videorecord.mplayer -h
  • dvb-t -h
  • dvb-c -h
  • sleepto -h

zsh completion

If you use dvb-t/dvb-c with completion, I recommend to enable case-insensitive matching in zsh by putting the line

zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'

into your ~/.zshrc.


You need from (v2.0 or newer) in your $PATH. If you want that the hard status line is set, also the title script from (version >=2.3) is required in your $PATH.


To install these scripts simply copy the content of bin into your $PATH and the content of etc into /etc or also into your $PATH. The latter is supposed to be modified to the defaults which you want (e.g. matching your hardware). To obtain support for zsh completion, you can copy the content of zsh/ into a directory of your zsh's $fpath.

For Gentoo, there is an ebuild in the mv overlay (available over layman).