Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The MP3 file source parses MP3 files.
The MP3 file source outputs buffers that contain MPEG-1 audio frames. It does not decode the audio.
File Extensions and MIME Types
The MP3 file source is the default media source for the following file name extension:
- .mp3
It is also the default media source for the following MIME types.
- audio/mpeg
- audio/x-mp3
- audio/x-mpeg
Media Types
The media type offered by the MP3 file source contains the following attributes.
Attribute | Description |
---|---|
MF_MT_MAJOR_TYPE | Equal to MFMediaType_Audio. |
MF_MT_SUBTYPE | Equal to MFAudioFormat_MP3 or MFAudioFormat_MPEG. |
MF_MT_AUDIO_AVG_BYTES_PER_SECOND | Average number of bytes per second. |
MF_MT_AUDIO_BLOCK_ALIGNMENT | Equal to 1. |
MF_MT_AUDIO_NUM_CHANNELS | Number of audio channels. |
MF_MT_AUDIO_SAMPLES_PER_SECOND | Number of audio samples per second. |
MF_MT_USER_DATA | Contains the portion of a MPEGLAYER3WAVEFORMAT structure that appears after the wfx member of the structure. |
Interfaces
The MP3 file source exposes the following interfaces through QueryInterface:
In addition, it exposes the following interfaces through IMFGetService:
Service GUID | Interface |
---|---|
MF_METADATA_PROVIDER_SERVICE | IMFMetadataProvider |
MF_PROPERTY_HANDLER_SERVICE | IPropertyStore Note: See Shell Metadata Providers. |
MF_RATE_CONTROL_SERVICE | IMFRateControl |
MF_RATE_CONTROL_SERVICE | IMFRateSupport |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
DLL |
|
See also