XVideosharing video hosting script

High performance video streaming site solution

Latest version: 2.3
Release date: Sep 2024

Recommended video dimensions for H264 encoding


x264 video codec perform better when the width and height in pixels are multiples of 8 or 16. You can use any width and height in your encoding settings, but non-optimal dimensions can result in poor image quality. For the best image quality and playback, you should use width and height dimensions for your video that are multiples of 8 or 16.

Recommended width and height for videos with 4:3 aspect ratios
Dimensions that are multiples of 16 marked as green
960x720
832x624
768x576
704x528
640x480
608x456
576x432
544x408
512x384
480x360
448x336
416x312
384x288
352x264
320x240
288x216
256x192


Recommended width and height for videos with 16:9 aspect ratios
1920x1080
1600x900
1536x864
1440x810
1352x760
1280x720
1152x648
1024x576
896x504
768x432
640x360
512x288
384x216
256x144
128x72