When I try to playback 4k video from my cam using the example code, it show only part of the video in the screen.

How can I fix it? Thanks!
P.S.: I had tried 1080p also same issue. I had changed to 704*576 and work perfectly. However I need to playback at lease 1080p for my project.