2017-09-14 85 views
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

回答

相關問題