Recordscreen.py is a script to do screen record and video on Linux from terminal ,
developed in 2011 by Nathan Vegdahl.
With this script , screen-capture from command line is easier via
ffmpeg/libAv with a Python script.
I update here the old blog post, to maintain the script for the LTS version of Ubuntu and it switch to AVconv. Install those libraries ( inside a terminal ) :
sudo apt-get install wget libav-tools ffmpeg libavc1394-0 libavformat-extra-53 libavfilter2 libavutil-extra-51 mencoder libavahi-common-data
Then still in the terminal, do this line after line, to install the script :
chmod +x recordscreen.py
If you want to screencapture go with a terminal where the script is and type :
The terminal windows will start recording, and gives you feedback on the frame recorded.
Reduce the terminal windows, and start recording your demo.
To stop the process, call back the terminal windows and press ‘Ctrl+C’
twice on the keyboard over it.
Your video file will be saved next to your recordscreen.py file.