Use the interface to set the video format
HTTP Request
GET http://ip/mwapi?method=set-video-format&color-format=rgb&quant-range=full
Parameter |
Description |
method |
set-video-format |
color-format |
Sets the color space, including rgb, yuv444, yuv422. |
quant-range |
Sets the quantization range, including limited and full. It only takes effect when color-format=rgb. |
Response Body
{
"status": 0,
"color-format": "rgb",
"quant-range": "full"
}
Name |
Description |
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. |