20 January 2022

Default Value Of keyint_min For H.264 Video Codec

Updated default value of <keyint_min /> parameter in <video_codec_parameters /> of output format with H.264 video codec .

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[OutputFormat]</output> <!-- required-->
        <video_codec>libx264</video_codec>
        <video_codec_parameters>
            <keyint_min>[GOPSize]</keyint_min>
            <!-- video_codec_parameters-->
        </video_codec_parameters>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[OutputFormat]", // required
            "video_codec": "libx264",
            "video_codec_parameters": {
                "keyint_min": "[GOPSize]"
                // video_codec_parameters
            }
        }
    }
}

Parameter

Description

Allowed Values

Default Value

keyint_min

Specify the minimum distance between I-frames.

Positive integer number

none (automatically determined by codec)