I think it would be clearer to record the screen directly.
https://itsfoss.com/best-linux-screen-recorders/