I have worked with two PDF modules: PyPDF2 and pdfminer.six
PDFminer.six is more reliable than PyPDF2 but 6 times slower (timed).
Here is a working code example for PDFminer.six, the documentation is a little sparse: https://stackoverflow.com/a/61857301/7483211
I think one of those will help you:
https://www.movavi.com/screen-recorder (I prefer this one)