well tty-grab is a tool for linux that records or screenshots your tty! yes!
ffmpeg
python
numpy from python's package manager called pip (in some distros, you install it using your native pkg manager, it's most likely called python-numpy)
and then just run it with python
