The Azure Code Samples are currently available in English

Encode and Deliver Content on Demand with Azure Media Services using .NET SDK

Julia Kornich 提供
在 GitHub 上编辑

The sample 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.

Running this sample

  1. Use Nuget to install the latest Azure Media Services .NET SDK extensions.

    Install-Package windowsazure.mediaservices.extensions.

  2. Update the appSettings section of the app.config file with appropriate values. For more information, see this topic.

    <?xml version="1.0"?>
            <add key="AMSAADTenantDomain" value="AADTenantDomain" />
            <add key="AMSRESTAPIEndpoint" value="RESTAPIEndpoint" />

About the code

For more information, see the following topics:

More information

You can view AMS learning paths here: