<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<output>webm</output>
<video_codec>libvpx-vp9</video_codec>
<video_codec_parameters>
<crf>[QualityLevel]</crf>
<lossless>[yes|no]</lossless>
<speed>[EncoderSpeed]</speed>
<tile-columns>[Columns]</tile-columns>
<tile-rows>[Rows]</tile-rows>
<frame-parallel>[yes|no]</frame-parallel>
<auto-alt-ref>[yes|no]</auto-alt-ref>
<lag-in-frames>[FramesNumber]</lag-in-frames>
<deadline>[good|realtime]</deadline>
<quality>[good|realtime]</quality>
<static-thresh>[Threshold]</static-thresh>
<aq-mode>[Mode]</aq-mode>
<noise-sensitivity>[Sensitivity]</noise-sensitivity>
<arnr-maxframes>[FramesCount]</arnr-maxframes>
<arnr-strength>[Strength]</arnr-strength>
<arnr-type>[backward|forward|centered]</arnr-type>
<max-intra-rate>[Framerate]</max-intra-rate>
</video_codec_parameters>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[Action]",
"format": {
"output": "webm",
"video_codec": "libvpx-vp9",
"video_codec_parameters": {
"crf": "[QualityLevel]",
"lossless": "[yes|no]",
"speed": "[EncoderSpeed]",
"tile-columns": "[Columns]",
"tile-rows": "[Rows]",
"frame-parallel": "[yes|no]",
"auto-alt-ref": "[yes|no]",
"lag-in-frames": "[FramesNumber]",
"deadline": "[good|realtime]",
"quality": "[good|realtime]",
"static-thresh": "[Threshold]",
"aq-mode": "[Mode]",
"noise-sensitivity": "[Sensitivity]",
"arnr-maxframes": "[FramesCount]",
"arnr-strength": "[Strength]",
"arnr-type": "[backward|forward|centered]",
"max-intra-rate": "[Framerate]"
}
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
crf | Specify the quality level. | Integer number form -1 to 63. | None |
lossless | Enable or disable lossless encoding. | yes, no | no |
speed | Specify the encoder speed. | Integer number form -16 to 16. | None |
tile-columns | Specify the number of tile columns to use. | Integer number form -1 to 6. | None |
tile-rows | Specify the number of tile rows to use. | Integer number form -1 to 2. | None |
frame-parallel | Enable frame parallel decodability features. | yes, no | no |
auto-alt-ref | Enable use of alternate reference frames (2-pass only). | yes, no | no |
lag-in-frames | Specify the number of frames to look ahead for alternate reference frame selection. | Positive integer number | None |
aq-mode | Specify the adaptive quantization mode. | Integer number from -1 to 3 | None |
noise-sensitivity | Specify the level of noise sensitivity. | Integer number from 0 to 4 | None |
arnr-maxframes | Specify the altref noise reduction max frame count. | Integer number from 0 to 15 | None |
arnr-strength | Specify the altref noise reduction filter strength. | Integer number from 0 to 6 | None |
arnr-type | Specify the altref noise reduction filter type. | backward, forward, centered | centered |
max-intra-rate | Specify the maximum I-frame bitrate. | Positive integer number. | None |