java音视频拼接报unsupported cmd,帮看下哪里错了?
Auth auth = Auth.create(ACCESS_KEY,SECRET_KEY);
OperationManager manager = new OperationManager(auth);
//音频拼接
String encodedUrl1 = UrlSafeBase64.encodeToString("dushen01.mp4");
String encodedUrl2 = UrlSafeBase64.encodeToString("dushen02.mp4");
String fops = "avconcat/2/format/mp4/"+encodedUrl1+"/"+encodedUrl2;
fops += "|saveas/"+UrlSafeBase64.encodeToString("audio:dushen0.mp4");
fops = URLEncoder.encode(fops, "utf-8");
String persistentId = manager.pfop("audio", "dushen03.mp4", fops,null);
报错信息为:
{
"code": 3,
"desc": "The fop is failed",
"id": "z0.56444dc67823de48a8034865",
"inputBucket": "audio",
"inputKey": "dushen03.mp4",
"items": [
{
"cmd": "avconcat%2F2%2Fformat%2Fmp4%2FZHVzaGVuMDEubXA0%2FZHVzaGVuMDIubXA0%7Csaveas%2FYXVkaW86ZHVzaGVuMC5tcDQ%3D",
"code": 3,
"desc": "The fop is failed",
"error": "execute fop cmd failed: unsupported cmd ",
"returnOld": 0
}
],
"pipeline": "0.default",
"reqid": "VH4AAK1otF4V5xUU"
},各位大神帮看下原因,定位了两天都想不出哪里错了,谢谢
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论