A simple python script for recording the screen.
Python3
Install the py3_requirements.txt before running the program
pip install -r py3_requirements.txt
or
pip3 install -r py3_requirements.txt
In terminal write:
python3 screen_recorder.py <path_to_recording>
Note: Path to recording argument is optional. The default path is the same folder in which your script is saved.
Play/Pause
Go to the window that was launched and press the key "p" on your keyboard to play/pause the recording.
End
Go to the window that was launched and press the space bar on your keyboard to end the recording.