Skip to content
Python program that invokes ffmpeg on Linux to record screencasts
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

screencast-wrapper is a Python 3 script that invokes ffmpeg to record screencasts on Linux computers. It takes care of gathering information from the user (capture area co-ordinates, output file name etc.) and invoking ffmpeg. The script also takes care of stopping running captures.


The following programs are needed to be present in the PATH:

  • ffmpeg
  • xdotool

It is also recommended to install a system-wide keyboard shortcut that invokes ' kill'. This shortcut can then be used to terminate an ongoing screencast capture.

A screencast video that shows screencast_wrapper in action is available here

(The demonstration video above was itself captured using i.e. a screencast within a screencast)

The video that was captured during the demonstration is here

You can’t perform that action at this time.