My video collection doesn't have too many video codec variations, but these play fine for me:
hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
h264 (High), yuv420p(tv, bt709, progressive), 1920x1040, SAR 1:1 DAR 24:13, 58.82 fps, 58.82 tbr, 1k tbn, 117.65 tbc (default)
h264 (Main), yuv420p(progressive), 1280x720, Closed Captions, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
h264 (Main), yuv420p(progressive), 640x480 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
h264 (Constrained Baseline), yuv420p(progressive), 640x368, 29.97 fps, 29.97 tbr, 1k tbn, 58 tbc (default)
vp9 (Profile 0), yuv420p(tv), 1920x1080, SAR 1:1 DAR 16:9, 29.83 fps, 29.83 tbr, 1k tbn, 1k tbc (default)
mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 1023 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc
mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 512x384 [SAR 1:1 DAR 4:3], 992 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc