Use the interface to get the video format.
HTTP Request
GET http://ip/mwapi?method=get-video-format
| Parameter |
Description |
| method |
get-video-format |
Response Body
{
"status": 0,
"color-format": "rgb",
"quant-range": "full"
}
| 属性 |
说明 |
| status |
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
| color-format |
Shows the color space, including rgb, yuv444, yuv422. |
| quant-range |
Shows the quantization range, including limited and full. It only takes effect when color-format=rgb. |