I have windows 10 and I have connected my ps4 to my laptop computer via an HDMI wire, and I just can't figure out how to display it on the screen.
How can I view the output of the HDMI on the laptop monitor?
Your PC's HDMI port is not a capture device. It is a video-output device. If you want to capture what is on the screen of your PS4, you'll need to invest in a capture device, and probably more high-end CPU/GPU. Encoding the video is much harder than decoding it.