- 七牛支不支持audio/ogg格式的音频文件?
- 根据七牛的sdk上传MP3格式文件并设置$putPolicy->PersistentOps = 'audio/ogg',得到返回的persistentId,然后根据此id查询音频文件的处理状态,返回的数据为
{
"code": 1,
"desc": "The fop is waiting for executioin",
"id": "53f1d3857823de04cf02e168",
"inputKey": "1408357226_23628",
"items": [
{
"cmd": "avthumb/ogg",
"code": 1,
"desc": "The fop is waiting for executioin",
"error": "",
"hash": "",
"key": ""
}],
"pipeline": "0.default",
"reqid": ""
}
请问七牛的格式转换处理一般需要多长时间?
解决方案:你可以在https://portal.qiniu.com/mps/pipeline/intro设置pipeline,然后在pfop操作中指定&pipeline=(Pipeline Name),这样指定独享音视频处理队列会快很多。