Similar to images, there is a tradeoff between visual quality and file sizes. However, it is possible to compress a video file without any loss in perceptual visual quality.
ImageKit.io allows you to choose a quality level between
1results in the lowest perceptual quality and smallest file size.
100results in the highest perceptual quality and biggest file size.
Select settings from the left main menu. Inside Videos, under optimization, toggle "optimize video quality" control.
By default, ImageKit sets the video quality to 50. You can change this.
Select settings from the left main menu. Inside Videos, under optimization, select the default quality level.
Video default quality settings
qparameter to override default quality settings.
For example, a video file served in
q-20is 397KB in size and has relatively low perceptual quality compared to a
q-90which is around 7.6MB.