page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
The sample shows how to encode media on demand with Media Encoder Standard. |
media-services-dotnet-on-demand-encoding-with-media-encoder-standard |
You can find the latest and most extensive Media Services v3 .NET samples in the Azure Media Services v3 repository.
The sample in this repo shows how to encode media on demand with Media Encoder Standard. The following media processing operations are shown:
- How to generate a thumbnail.
- How to encode to audio only.
- How to encoder to adaptive bitrate MP4s.
-
Use Nuget to install the latest Azure Media Services .NET SDK extensions.
-
Update the appSettings section of the app.config file with appropriate values. For more information, see this topic.
<?xml version="1.0"?> <configuration> <appSettings> <add key="AMSAADTenantDomain" value="AADTenantDomain" /> <add key="AMSRESTAPIEndpoint" value="RESTAPIEndpoint" /> </appSettings> </configuration>
For more information, see the following topics:
- Get started with delivering content on demand using .NET SDK
- How to encode an asset using Media Encoder Standard.
You can view AMS learning paths here: