Both of these devices have a HDMI port on them, so surely you can connect the Raspberry Pi to the laptop and use the screen of the laptop ... yet reliable way to capture up to 4K video from a device ...
Results that may be inaccessible to you are currently showing.