It is written in bash.
Usage looks like:
$ ./screen-movie -h below cmd output started 2020 Sat Apr 04 04:47:25 PM PDT Usage: --dimensions 1366x768 --output-file output.mp4 --help Capture a movie of the leftmost corner of your display(s), with sound, on X11 (and Wayland?) --dimensions specifies the dimensions of the region you want captured. --output-file specifies the path to the file you wish to create. Different formats can be output based on the file extension. Hit 'q' when done recording. Video will be written to disk as fast as possible, mostly uncompressed. Then after you hit 'q', the video will be transcoded to something more practical for archival.
You can download it here.
Video capture is a challenge on old hardware. With ffmpeg, if the encoding gets behind because data is coming in too rapidly, then the audio will go silent from that point to the end of the movie. screen-movie attempts to handle this gracefully, as described in the usage message.
The author uses this script for video capture on a laptop purchased in 2015 with an old magnetic hard disk that spins at 5400rpm; it's pretty slow compared to a modern system with an SSD. This laptop has the following nbench numbers:
You can e-mail the author with questions or comments: