I'm wanting to make a screen recorder. What I thought of doing was this: From the recording event hit 30 screenshots per second and then join them in sequence to form a video. At this point some doubts arise:
- Is this the right way to think about how to make a screen recording?
- If yes, how could I capture a screenshot and convert a set of images to a video?
- If not, what would be the most correct way to do it?
As I said at the beginning of the question, everything is still in the field of ideas, I still do not have any algorithms, and I do not want a complete program, I wanted one more answer regarding theoretical doubts and a direction in how to do it in c ++.