A capture card.
There are internal ones, and external ones.
Both work the same, except you gotta put internal ones inside your computer.
They cost money.
I highly recommend using one of these rather than recording it using a camera. Using a camera makes the video stuff.