The encoder does not support sample-rate conversion or stereo/mono conversion. If set, the value must be identical to MF_MT_AUDIO_BITS_PER_SAMPLE. Number of valid bits of audio data in each audio sample. If set, the value must match the output type. Must equal block alignment × samples per second. MFAudioFormat_Float: Number of channels × 4.īit rate of the encoded AC3 stream, in bytes per second.MFAudioFormat_PCM: Number of channels × 2.The value must be 16 if the subtype is MFAudioFormat_PCM, or 32 if the subtype is MFAudioFormat_Float. Must be MFAudioFormat_PCM or MFAudioFormat_Float. The following table lists the required and optional attributes for the input media type. If the optional attributes are not set, the encoder adds them to the media type after the type is set. If this attribute is not set, the encoder uses a default bit rate, as described in Remarks.
If set, the value must be 0x3 for stereo (front left and right channels) or 0x4 for mono (front center channel).īit rate of the encoded AC-3 stream, in bytes per second. Specifies the assignment of audio channels to speaker positions. The following table lists the required and optional attributes for the output media type. The output type must be set first, before the input type. The class identifier (CLSID) of the Dolby audio encoder is CLSID_CMSDolbyDigitalEncMFT, defined in the header file wmcodecdsp.h.
#Windows media encoder software windows#
For versions of Windows prior to Windows 8, the Microsoft implementation of the Dolby Digital technology is restricted under terms of the Dolby Digital licensing program to use by Microsoft applications.įor more information about Dolby Digital audio, refer to Advanced Television Systems Committee (ATSC) document Digital Audio Compression Standard (AC-3, E-AC-3) Revision B.