NovaCloud-en-uat
  1. Solutions
NovaCloud-en-uat
  • API Access Guide
  • Common HTTP Status Codes
  • VNNOX
    • Players
      • Player Management
        • Obtaining Player List
      • Obtaining Player Status
        • Obtaining Basic Player Information
        • Obtaining Player Configuration Status
      • Real-Time Control
        • NTP Time Synchronization
        • Synchronous Playback
        • Brightness Adjustment
        • Screenshots
        • Volume Adjustment
        • Video Source Switching
        • Screen Status
        • Restart Players
        • Screen Power
    • Solutions
      • Emergency Insertion
        • Single-Page Emergency Insertion Solutions
        • Canceling Emergency Insertion Solutions
      • 超规格开关
        POST
      • 节目超规格检测
        POST
      • Common Solutions
        POST
    • Logs
      • Play Logs
        • Batch Searching for Play Log Overviews
        • Batch Searching for Play Log Details
        • Searching for the Play Log Detail of a Single Player
        • Searching for the Play Log Overview of a Single Player
      • Obtaining Control Command Execution Logs
    • Notifications
      • Video Source Change Notifications
      • Solution Change Notifications
  • VNNOXCare
    • Notes
    • Device Status Monitoring
      • Input Source
        • Monitor Infomation
      • Master Controller
        • Basic Information
        • Alarm Information
        • Controller Operation Monitoring Information
      • Screen
        • Monitoring Information
      • Receiving Card
        • Basic Information
        • Monitoring Information
        • Alarm Information
      • Smart Module
        • Monitor Infomation
        • Alarm Infomation
      • module
        • Monitor Infomation
  • Common
    • Third-Party System Authorization
      • Obtaining User List
      • Obtaining VNNOX System Access URL
  • 亮度历史
    POST
  1. Solutions

节目超规格检测

开发中
POST
/v2/player/program/over-specification-check
1.
通过此接口检查节目下发给需要的设备会不会出现超规格情况
2.
图片的超规格的标准是宽度不大于2160px,高度不大于4096,并且图片面积不能超过2160x4096
3.
overSpecErrorCode参数说明
-1 视频解码不支持
-2 视频解码名称(CODEC_NAME)有误
-3 视频后缀不支持
-4 视频编码器标签名(CODEC_TAG_STRING)不支持
-5 视频宽度不支持
-6 视频高度不支持
-7 视频BIT不支持
-8 视频FRAME不支持
-9 多路视频播放超规格
-10 导致系统异常重启
-11 导致播放异常重启
-12 低内存告警
-15 MP4的UUIDBOXSIZE过大
-16 位深度不支持
-20 帧率超规格
-21 码率超规格
-22 媒体数据量超规格
-23 指定编码格式的媒体数据量超规格
793 无视频媒体类型
10001 图片超过尺寸

请求参数

Header 参数

Body 参数application/json

示例
{
    "playerIds": [
        "f6535700b9613349b915135919a8dfcd",
        "fdddddddddd13349b915135919a8dfce"
    ],
    "pages": [
        {
            "pageId": 1,
            "name": "页面1",
            "widgets": [
                {
                    "widgetId": 1,
                    "type": "PICTURE",
                    "size": 25943,
                    "md5": "8330dcaa949ceeafa54a66e8ad623300",
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
                    "width": "3840",
                    "height": "2160"
                },
                {
                    "widgetId": 2,
                    "type": "PICTURE",
                    "size": 25943,
                    "md5": "8330dcaa949ceeafa54a66e8ad623300",
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
                    "width": "3840",
                    "height": "2160"
                }
            ]
        },
        {
            "pageId": 2,
            "name": "新页面2",
            "widgets": [
                {
                    "widgetId": 3,
                    "type": "VIDEO",
                    "size": 1227710,
                    "md5": "f5b0f315800cb4befb89b5dff42f1e34",
                    "duration": 5000,
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
                    "width": "3840",
                    "height": "2160",
                    "fps": "60",
                    "byteRate": "18003",
                    "codec": "h264",
                    "postfix": "mp4"
                },
                {
                    "widgetId": 4,
                    "type": "VIDEO",
                    "size": 1227710,
                    "md5": "f5b0f315800cb4befb89b5dff42f1e34",
                    "duration": 5000,
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
                    "width": "3840",
                    "height": "2160",
                    "fps": "60",
                    "byteRate": "18003",
                    "codec": "h264",
                    "postfix": "mp4"
                }
            ]
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-uat.vnnox.com/v2/player/program/over-specification-check' \
--header 'AppKey;' \
--header 'Nonce;' \
--header 'CurTime;' \
--header 'CheckSum;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "playerIds": [
        "f6535700b9613349b915135919a8dfcd",
        "fdddddddddd13349b915135919a8dfce"
    ],
    "pages": [
        {
            "pageId": 1,
            "name": "页面1",
            "widgets": [
                {
                    "widgetId": 1,
                    "type": "PICTURE",
                    "size": 25943,
                    "md5": "8330dcaa949ceeafa54a66e8ad623300",
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
                    "width": "3840",
                    "height": "2160"
                },
                {
                    "widgetId": 2,
                    "type": "PICTURE",
                    "size": 25943,
                    "md5": "8330dcaa949ceeafa54a66e8ad623300",
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/test.jpg",
                    "width": "3840",
                    "height": "2160"
                }
            ]
        },
        {
            "pageId": 2,
            "name": "新页面2",
            "widgets": [
                {
                    "widgetId": 3,
                    "type": "VIDEO",
                    "size": 1227710,
                    "md5": "f5b0f315800cb4befb89b5dff42f1e34",
                    "duration": 5000,
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
                    "width": "3840",
                    "height": "2160",
                    "fps": "60",
                    "byteRate": "18003",
                    "codec": "h264",
                    "postfix": "mp4"
                },
                {
                    "widgetId": 4,
                    "type": "VIDEO",
                    "size": 1227710,
                    "md5": "f5b0f315800cb4befb89b5dff42f1e34",
                    "duration": 5000,
                    "url": "http://vnnox-public.oss-cn-qingdao.aliyuncs.com/myf/nova2019.mp4",
                    "width": "3840",
                    "height": "2160",
                    "fps": "60",
                    "byteRate": "18003",
                    "codec": "h264",
                    "postfix": "mp4"
                }
            ]
        }
    ]
}'

返回响应

🟢200Success
application/json
Body

示例
{
    "logid": 1588056252560,
    "status": 0,
    "data": [
        {
            "overSpec": false,
            "playerIds": [
                "fdddddddddd13349b915135919a8dfce"
            ]
        },
        {
            "overSpec": true,
            "overSpecType": 1,
            "overSpecDetail": [
                {
                    "pageId": 2,
                    "widgetId": 3,
                    "overSpecErrorCode": [
                        -20,
                        -21
                    ],
                    "recommend": {
                        "width": "3840",
                        "height": "2160",
                        "postfix": "mp4",
                        "fps": "30",
                        "byteRate": "78.000000",
                        "codec": "h264"
                    }
                },
                {
                    "pageId": 2,
                    "widgetId": 4,
                    "overSpecErrorCode": [
                        -20,
                        -21
                    ],
                    "recommend": {
                        "width": "3840",
                        "height": "2160",
                        "postfix": "mp4",
                        "fps": "30",
                        "byteRate": "78.000000",
                        "codec": "h264"
                    }
                },
                {
                    "pageId": 2,
                    "widgetId": 5,
                    "overSpecErrorCode": [
                        10001
                    ],
                    "recommend": {
                        "width": "2160",
                        "height": "4096"
                    }
                }
            ],
            "playerIds": [
                "f6535700b9613349b915135919a8dfcd"
            ]
        }
    ]
}
修改于 2024-12-19 03:39:25
上一页
超规格开关
下一页
Common Solutions
Built with