帮助列表 |
https://openapi.aodianyun.com/v2/DVR.GetUserTranscodingInfo
POST
Content-Type: application/x-www-form-urlencoded
access_id:安全校验ID,值为字符串。必选
示例:”access_id”:”123456789”
access_key:安全校验码,值为字符串。必选
示例:”access_key”:”ABCDEFG”
jobId :jobId 转码作业ID。必选
示例: "jobId":"44659f3c5096e538e18dc00d55a62157"
fast :是否优先转码(收费优先转码),可选值:true、false,默认false。可选
示例: "fast ":false
curl -X POST \ https://openapi.aodianyun.com/v2/Dvr.GetUserTranscodingInfo \-H "Content-Type: application/x-www-form-urlencoded" \ -d '{"access_id":"123456","access_key":"ABCDEFG","jobId":"44659f3c5096e538e18dc00d55a62157","fast":false}'
Flag:操作处理结果状态码
示例:”Flag”:100。提示:Flag=100为成功,失败为非100,失败FlagString中体现。
{ "Flag": 100, "FlagString": "操作成功", "Info": { "type": "video", "infile": "http://****.m3u8",//原视频地址 "outfile": { "object": "mp4/854x480/gjctest.stream.1551340597.mp4"//视频地址(除域名外) }, "options": { "videoRate": "854x480",//输出分辨率 "height": 480,//输出高 "format": "mp4",//输出格式 "vcodec": "h264",//视频编码 "acodec": "aac",//音频编码 "ac": 2,//输出声道 "bitrate": 800,//转码码率 "maxrate": 800,//最大码率 "minrate": 800,//最小码率 "bufsize": 320//缓冲区大小 }, "percent": 40.73,//转码进度 "time": 1552620034,任务提交时间 "width": 1080,//原片宽 "height": 920,//原片高 "duration": 1178.185993,视频时长 "downloadTime": 1552620039,//下载开始时间 "uptime": 1552620084,//最后更新时间 "transcodingTime": 1552620042//转码开始时间 } }
您可以使用奥点云开放平台提供的API接口调试工具进行接口调试。
请登录:https://openapi.aodianyun.com/tools