Level

      Last updated September 22, 2020

    When converting animated GIFs to the MP4 format and when used in conjunction with the profile parameter, the level parameter specifies a set of constraints indicating a degree of required decoder performance for a profile.

    API Pattern

    level={value}

    Parameter

    Parameter Description
    level The level of required decoder performance for a profile.

    Parameter Values

    Value Description
    1.[0123] Levels: 1.0, 1.1, 1.2, and 1.3
    2.[012] Levels: 2.0, 2.1, and 2.2
    3.[012] Levels: 3.0 (Default), 3.1, and 3.2
    4.[012] Levels: 4.0, 4.1, and 4.2
    5.[012] Levels: 5.0, 5.1, and 5.2
    6.[012] Levels: 6.0, 6.1, and 6.2

    Notes

    If either level or profile parameters are missing, profile=baseline&level=3.0 will be used as the default.

    Example

    Description HTML Demo
    Convert the source animated GIF to MP4 format and select the main profile with a level of 5.2. <video width="300" height="224" src="image.gif?format=mp4&profile=main&level=5.2" playsinline autoplay muted loop type="video/mp4"><!--[if lt IE 9]><img width="300" height="224" src="image.gif?image.gif">![endif]--></video> Example
    Back to Top