Task Preset Strings for Windows Azure Media Encoder
This topic contains a list of task preset encoding strings for Windows Azure Media Encoder version 2.2.0.0. You can use these strings when you are building Windows Azure Media Services applications and you create encoding tasks for media content. The preset string values enable you to submit encoding jobs to the Media Encoder using various media content formats.
The topic describes the following encoding standards:
For more information on how to use task preset strings with Media Services, see Process Assets with the Media Services SDK for .NET.
Important |
|---|
| Update your code to use preset names discussed in this topic and also to use the Windows Azure Media Encoder version 2.2.0.0. Older versions of preset names and Windows Azure Media Encoder have been depreciated. |
Terminology
Task Preset Strings for Windows Azure Media Encoder
Use the preset string values in this section (shown in bold) to configure encoding tasks that you pass to Media Encoder from a Media Services application.
Audio Coding Standard
- WMA High Quality Audio
- Produces a Windows Media file 44.1 kHz 16 bits/sample stereo audio encoded using WMA. Use this preset name to produce an audio-only file for music services. The output file extension is *.wma.
- AAC Good Quality Audio
- Produces an MP4 file containing 44.1 kHz 16 bits/sample stereo audio CBR encoded at 192 kbps using AAC. Use this preset name to produce an audio-only file for music services. The output file extension is *.mp4.
VC-1 Coding Standard
- VC1 Broadband 1080p
-
Produces a single Windows Media file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
1080p video VBR encoded at 6750 kbps using VC-1 Advanced Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Broadband 720p
-
Produces a single Windows Media file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
720p video VBR encoded at 4500 kbps using VC-1 Advanced Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Broadband SD 16x9
-
Produces a single Windows Media file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
SD video VBR encoded at 2200 kbps using VC-1 Advanced Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Broadband SD 4x3
-
Produces a single Windows Media file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
SD video VBR encoded at 1800 kbps using VC-1 Advanced Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Smooth Streaming 1080p
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
1080p video VBR encoded at 8 bitrates ranging from 6000 kbps to 400 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Smooth Streaming 720p
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
720p video VBR encoded at 6 bitrates ranging from 3400 kbps to 400 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Smooth Streaming SD 16x9
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using WMA Pro
-
SD video VBR encoded at 5 bitrates ranging from 1900 kbps to 400 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using WMA Pro
- VC1 Smooth Streaming SD 4x3
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using WMA Pro
-
SD video VBR encoded at 5 bitrates ranging from 1600 kbps to 400 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using WMA Pro
- VC1 Smooth Streaming 1080p Xbox Live ADK
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
1080p video VBR encoded at 10 bitrates ranging from 9000 kbps to 350 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
- VC1 Smooth Streaming 720p Xbox Live ADK
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
-
720p video VBR encoded at 8 bitrates ranging from 4500 kbps to 350 kbps using VC-1 Advanced Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using WMA Pro
H.264 Coding Standard
- H264 Broadband 1080p
-
Produces a single MP4 file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
1080p video CBR encoded at 6750 kbps using H.264 High Profile
Note This encoding is set to H.264 High Profile. Some devices with displays that do not support 1080p will not be able to decode H.264 High Profile content. -
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Broadband 720p
-
Produces a single MP4 file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
720p video CBR encoded at 4500 kbps using H.264 Main Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Broadband SD 16x9
-
Produces a single MP4 file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
SD video VBR encoded at 2200 kbps using H.264 Main Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Broadband SD 4x3
-
Produces a single MP4 file with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
SD video VBR encoded at 1800 kbps using H.264 Main Profile
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Smooth Streaming 1080p
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
1080p video CBR encoded at 8 bitrates ranging from 6000 kbps to 400 kbps using H.264 High Profile, and two second GOPs
Note This encoding is set to H.264 High Profile. Some devices with displays that do not support 1080p will not be able to decode H.264 High Profile content. -
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Smooth Streaming 720p
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
720p video CBR encoded at 6 bitrates ranging from 3400 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Smooth Streaming 720p for 3G or 4G
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
-
720p video CBR encoded at 8 bitrates ranging from 3400 kbps to 150 kbps using H.264 Main Profile, and two second GOPs.
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
- H264 Smooth Streaming SD 16x9
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1900 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Smooth Streaming SD 4x3
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1600 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Adaptive Bitrate MP4 Set 1080p
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
-
1080p video CBR encoded at 8 bitrates ranging from 6000 kbps to 400 kbps using H.264 High Profile, and two second GOPs
Note This encoding is set to H.264 High Profile. Some devices with displays that do not support 1080p will not be able to decode H.264 High Profile content. -
44.1 kHz 16 bits/sample stereo audio CBR encoded at 128 kbps using AAC
- H264 Adaptive Bitrate MP4 Set 720p
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
720p video CBR encoded at 6 bitrates ranging from 3400 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Adaptive Bitrate MP4 Set SD 16x9
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1900 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Adaptive Bitrate MP4 Set SD 4x3
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1600 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Adaptive Bitrate MP4 Set 1080p for iOS Cellular Only
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
-
1080p video CBR encoded at 8 bitrates ranging from 6000 kbps to 400 kbps using H.264 High Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
- H264 Adaptive Bitrate MP4 Set 720p for iOS Cellular Only
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
-
720p video CBR encoded at 6 bitrates ranging from 3400 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
- H264 Adaptive Bitrate MP4 Set SD 16x9 for iOS Cellular Only
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1900 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
- H264 Adaptive Bitrate MP4 Set SD 4x3 for iOS Cellular Only
-
Produces an asset with multiple GOP-aligned MP4 files:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
-
SD video CBR encoded at 5 bitrates ranging from 1600 kbps to 400 kbps using H.264 Main Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 56 kbps using AAC
- H264 Smooth Streaming 720p Xbox Live ADK
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
-
720p video CBR encoded at 8 bitrates ranging from 4500 kbps to 350 kbps using H.264 High Profile, and two second GOPs
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 96 kbps using AAC
- H264 Smooth Streaming Windows Phone 7 Series
-
Produces a Smooth Streaming asset with:
-
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using HE-AAC Level 1
-
SD video CBR encoded at 5 bitrates ranging from 1000 kbps to 200 kbps using H.264 Main Profile, and two second GOPs
Note Windows Phone 7 doesn’t support frame rates greater than 30fps. Also the Windows Azure Media Services encoder doesn’t do frame rate conversion. So if the source content has a frame rate faster than 30fps, then the job output asset would as well. So it wouldn’t be supported on Windows Phone 7 devices. -
44.1 kHz 16 bits/sample stereo audio CBR encoded at 64 kbps using HE-AAC Level 1
Thumbnail
- Thumbnails
- Produces a series of JPEG thumbnails 5 seconds apart, 300 pixels wide. The height is determined by the source frame size. Use this preset name to generate a series of thumbnails for use in Xbox Live Applications. For information about providing a custom configuration file, see Task Preset for Thumbnail Generation.
Sample
The following method uses LINQ to Entities to find the latest version of the media processor based on the specified name.
private static IMediaProcessor GetLatestMediaProcessor(string mediaProcessorName)
{
// The possible strings that can be passed into the
// method for the mediaProcessor parameter:
// Windows Azure Media Encoder
// Windows Azure Media Packager
// Windows Azure Media Encryptor
// Storage Decryption
var processor = _context.MediaProcessors.Where(p => p.Name == mediaProcessorName).
ToList().OrderBy(p => new Version(p.Version)).LastOrDefault();
if (processor == null)
throw new ArgumentException(string.Format("Unknown media processor", mediaProcessorName));
return processor;
}
The following code calls the GetLatestMediaProcessor method.
IMediaProcessor processor = GetLatestMediaProcessor("Windows Azure Media Encoder");
See Also
Build Date:
Important