0
根据azure media services - The request body is too large and exceeds the maximum permissible limit大尺寸视频效果不错,但上传后,资产不能编码,任何人都可以帮助我?蔚蓝媒体服务,大尺寸视频上传和编码
我这样的代码:
@Override
protected void createBlobWriter(LocatorInfo uploadLocator, String fileName, InputStream input)
throws ServiceException {
try {
CloudBlobContainer container = new CloudBlobContainer(URI.create(uploadLocator.getPath()));
CloudBlockBlob blob = container.getBlockBlobReference(fileName);
blob.upload(input, input.available());
}
catch (StorageException e) {
e.printStackTrace();
}
catch (IOException e) {
e.printStackTrace();
}
catch (URISyntaxException e) {
e.printStackTrace();
}
}
做编码在https://portal.azure.cn, 和编码运行错误:因为文件名有一个字符(在这种情况下, enter image description here
是的,fileName包含一个'?'字符。我已经删除它,它工作。谢谢 – tangchd