I am using the java SDK and followed the example on:
https://learn.microsoft.com/en-us/azure/media-services/media-services-java-how-to-use
However, using this example, for files larget than ~65MB I got the following error:
RequestBodyTooLargeThe request body is too large and exceeds the maximum permissible limit.
Any idea?
Thanks,
azure media services - The request body is too large and exceeds the maximum permissible limit
643 Views Asked by rogerpt At
1
There are 1 best solutions below
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in AZURE-MEDIA-SERVICES
- Media Service API failed - 400 bad request - Creation of new Media Service accounts are not allowed as the resource has been deprecated
- Azure Blob Storage StartCopyFromUriAsync() Causes Zero Byte Files to be Copied
- Get Input Asset or Output Asset from JobId or SmoothStreamingUrl - Azure Media Services
- How to use Gstreamer to ingress live stream on Azure Media Services using RTMP in a long run?
- Azure Media Player controls missing css classes
- azure media player show question mark in the closed caption while the vtt file doesn't have it
- I want to setup a DRM based video stream with both widevine and play ready
- Azure Media Services : Streaming Assets from Private Storage Account
- How to upload video to azure media service using REST api?
- Azure Media Services V3 audio analyzer transcript timestamp incorrect
- ultra low latency live video cam streaming using azure
- Azure Media Services Stream not displaying in Blazor App using Azure Media Player
- subtitles are not showing in videojs
- Error when executing a sample code for Azure Media Service v3
- is it possible that directly uploading local video files on azure media services?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The current version of the Media Services Java SDK has a limitation on the size of the file to upload when using the provided createBlockBlob method.
To workaround this, you can leverage the file upload through the Azure Storage Java SDK if you need to upload files larger than 64MB. To do this, update the example as follows:
1) For example, if you are using Gradle build tool, add this line to the build.gradle file under the dependencies section: (package)
2) Add the following import directives to your code:
3) Replace the following block of code of the uploadFileAndCreateAsset method
With the following block of code: