get-encoder-params
Use the interface to obtain the collection of encoder parameters.
Request Mode
POST http://ip/mwapi/get-encoder-params
Response Body
{
"status": 0,
"resolutions":[{...}],
"durations":[{...}],
"video-bitrates":[{...}],
}
Name |
Description |
status |
0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |
1. Resolutions
[
{
"name":"1080P",
"value":"1920x1080"
},
{
"name":"720P",
"value":"1080x720"
}
]
Name |
Description |
name |
The displayed name |
value |
Value: W x H |
2. Durations
[
{
"name":"60 FPS",
"value":"166667"
},
{
"name":"59.94 FPS",
"value":"166833"
},
{
"name":"50 FPS",
"value":"200000"
},
{
"name":"30 FPS",
"value":"333333"
},
{
"name":"29.97 FPS",
"value":"333667"
},
{
"name":"25 FPS",
"value":"400000"
},
{
"name":"24 FPS",
"value":"416667"
},
{
"name":"15 FPS",
"value":"666667"
},
{
"name":"10 FPS",
"value":"1000000"
},
{
"name":"5 FPS",
"value":"2000000"
}
]
Name |
Description |
name |
The displayed name |
value |
The time interval between two frames |
3.Video-bitrates
[
{
"name":"8 Mbps",
"value":"8192"
},
{
"name":"6 Mbps",
"value":"6144"
},
{
"name":"4 Mbps",
"value":"4096"
},
{
"name":"2 Mbps",
"value":"2048"
},
{
"name":"1 Mbps",
"value":"1024"
},
{
"name":"768 Kbps",
"value":"768"
},
{
"name":"512 Kbps",
"value":"512"
},
{
"name":"256 Kbps",
"value":"256"
}
]
Name |
Description |
name |
The displayed name |
value |
The video bitrate |