Imgix APIsRendering APIVideo RenderingVideo Codec

Video Codec

video-codec

Premium Feature

Video codec is currently available for Imgix customers on our Premium plans. This feature is currently in Alpha.

If you’re interested in this feature, please contact our sales team to get more information on this feature.

The parameter for video-codec specifies the video codec for encoding. This parameter will only work with fm=mp4 is set.

The parameter accepts the following as values:

  • av1 (AV1)
  • h264 (H.264)
  • h265 (H.265)

Video Comparison

AV1

Understanding Video Codecs

Video codecs compress and decompress digital video files. Choosing the right codec affects the quality, file size, and compatibility.

  • AV1: Next-generation codec with high compression efficiency. Best for modern web use, but may have limited hardware support.
  • H.264: The most widely supported codec across devices and browsers. A good balance between quality and compatibility.
  • H.265: Improved compression over H.264 but with less universal browser support.

Questions

Please contact your Account Manager or Support if you have any questions or feedback.