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

Poslední aktualizace: 21. 1. 2016
Upravit na GitHubu

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. Add the appSettings section to the app.config file, and set the values for your Media Services account name and account key.

    <?xml version="1.0"?>
          <add key="MediaServicesAccountName" value="YouMediaServicesAccountName" />
          <add key="MediaServicesAccountKey" value="YouMediaServicesAccountKey" />

About the code

For more information, see the following topics:

More information

You can view AMS learning paths here: