Play 1080p video is not smooth

In raspberry 4b, play 1080p video is not smooth in app, sometime frozen, how to improve the playback performance, thanks.