Using mpg to capture the screen?
In theory you can use ffmpeg to capture the screen and manipulate video and audio...
TODO:
use ffmpeg + rust to take screenshots + screen recordings of a page..
https://trac.ffmpeg.org/wiki/Capture/Desktop
More reading: https://crates.io/crates/screenshots