If your pc is strong enough, take the AverMedia GC573 Live Gamer 4K.
It can play everything at the moment (snes 5x …) and is perfect for the XBOX One X.
This is currently the best consumer card on the market and costs around 280 $/€.
Interface: PCIe x4 Gen 2.
Input: HDMI 2.0.
Output: HDMI 2.0 with lag-free passthrough (cable included) with HDR support.
Supported resolutions: Up to 2160p (4K) at 60 FPS, 1440p120 or 1080p240 and 140Mbps bitrate.
Format h.264 and h.265.
Dimensions: 125 mm x 151 mm x 21.5 mm.
System requirements for 4K capture
OS: Windows 10 64-bit
Processor: 6th Gen Intel Core i5 and above
GPU: NVIDIA GTX 1060
RAM: 8GB dual-channel
Vacant PCIe 4x/8x/16x slots