Why does api. qiniu. comstatusgetprefop fail? Id5516810e7823de4068c5f0d8 appears {code...} curl access {code...} Why does it fail?
Http://api.qiniu.com/status/get/prefop? Id = 5516810e7823de4068c5f0d8
Appears
{ "code": 3, "desc": "The fop is failed", "id": "5516810e7823de4068c5f0d8", "inputBucket": "xushubai", "inputKey": "Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4", "items": [ { "cmd": "xushubai.qiniudn.com/Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4?ab/1200k", "code": 3, "desc": "The fop is failed", "error": "execute fop cmd failed: unsupported cmd " } ], "pipeline": "0.default", "reqid": "default.bhsAADKZtg8qos8T"}
Curl
curl -i -d "bucket=xushubai&key=Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4&fops=xushubai.qiniudn.com/Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4?ab/1200k¬ifyURL=http://m.ideer.cn/api.php/Api/Public/sharingTopRanking" -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: QBox 9FMaTxskZVYmm1LQBucZpZdExa2Zvz7q-5y0x7t7:CeGwt84LxUTiaieN1g6V7JgKFPg=" "http://api.qiniu.com/pfop/
Reply content:
Why?
Http://api.qiniu.com/status/get/prefop? Id = 5516810e7823de4068c5f0d8
Appears
{ "code": 3, "desc": "The fop is failed", "id": "5516810e7823de4068c5f0d8", "inputBucket": "xushubai", "inputKey": "Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4", "items": [ { "cmd": "xushubai.qiniudn.com/Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4?ab/1200k", "code": 3, "desc": "The fop is failed", "error": "execute fop cmd failed: unsupported cmd " } ], "pipeline": "0.default", "reqid": "default.bhsAADKZtg8qos8T"}
Curl
curl -i -d "bucket=xushubai&key=Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4&fops=xushubai.qiniudn.com/Recipe/bd217d108d2c5a6be2f87a2466d1df03.mp4?ab/1200k¬ifyURL=http://m.ideer.cn/api.php/Api/Public/sharingTopRanking" -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: QBox 9FMaTxskZVYmm1LQBucZpZdExa2Zvz7q-5y0x7t7:CeGwt84LxUTiaieN1g6V7JgKFPg=" "http://api.qiniu.com/pfop/
Resource processing commands are incorrect.fops
Operationfops=avthumb/mp4/ab/1200k
And then re-sign and try again should be no problem, audio and video processing parameters can refer to the specific http://developer.qiniu.com/docs/v6/api/reference/fop/av/avthumb.html.