The Display Port cable I measures was 63 inches long.
To record gameplay from your console, your PC will need a capture card, which is totally separate from your graphics card. There are also stand-alone solutions that you can use without a PC at all, depending on your intended use case.