The POCO M5 does not support 4K video recording.
The POCO M5 has a 50MP main camera, 8MP ultrawide camera, and 2MP macro camera. While these cameras can capture high-quality photos, the maximum video resolution supported is 1080p (Full HD) at 30fps.
If you're looking for a smartphone that can record 4K videos, you'll need to consider other models from POCO or other brands.