Skip to content

Latest commit

 

History

History
 
 

Encoding_H264_Rotate90degrees

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Encode with a custom Transform that rotates a video

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:

  1. Creates a custom encoding transform using H.264 and a rotation filter
  2. Creates an input asset and upload a media file into it.
  3. Submits a job and monitoring the job using polling method.
  4. Downloads the output asset.
  5. Prints URLs for streaming.

Prerequisites

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.

Build and run

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.

Next steps