depending on your output resolution, gfx card specs and hardrive,
you might use Syphon Recorder (mac) or Spout Recorder (windows).
Just select your projector in the projector tab, and enable syphon/spout output.
SSD nvme M2 (such as samsung evo plus 970)
another option would be to use a second computer with a capture card.