This sample shows how to create a custom encoding Transform that rotates a video by 90 degrees. It shows how to perform the following tasks:
- Creates a custom encoding transform using H.264 and a rotation filter
- Creates an input asset and upload a media file into it.
- Submits a job and monitoring the job using polling method.
- Downloads the output asset.
- Prints URLs for streaming.
Required Assemblies:
- Azure.Identity
- Azure.ResourceManager.Media
- Azure.Storage.Blobs
- System.Linq.Async
An Azure Media Services account. See the steps described in Create a Media Services account.
Update the settings in appsettings.json in the root folder of the repository to match your Azure subscription, resource group and Media Services account. Then build and run the sample in Visual Studio or VS Code.