The Pop! os screenshot tool works fine, but the screencast video is not working correctly as of late. How do I repair this?

It either records nothing (zero kb) or part a file. Or if I use it once then it refuses to do any more, so 3 errors in total. See video link, it was 15 seconds but recorded less before it stopped.

https://www.dropbox.com/scl/fi/wkv94ywqj1ymgt1p4pnw1/Screencast-from-14-07-23-08-01-38.webm?rlkey=5u52orh4xoyxfgwnjrwob7k3a&dl=0

I have basic terminal ability to asist.

By the way the image is not mine it is just for reference.