This document presents a study on an enhanced whale optimization algorithm (EWOA) aimed at improving the computational efficiency of high efficiency video coding (HEVC). The EWOA reduces encoding time and complexity while maintaining high coding quality, achieving better bit rate and peak signal-to-noise ratio compared to existing methods. The research demonstrates that employing EWOA significantly enhances the performance of HEVC in real-time video compression applications.