| Previous | Next |
| MF_E_TRANSCODE_NO_MATCHING_ENCODER | MF_E_ALLOCATOR_NOT_INITIALIZED |
MF_E_TRANSCODE_INVALID_PROFILE
MF_E_TRANSCODE_INVALID_PROFILE indicates that the profile itself is not a valid description of the requested transcode output. An IMFTranscodeProfile is a configuration object consumed by the topology builder; it combines target stream media types, encoder settings, and container settings.
Validate the three profile sections as one configuration
- Start from a newly created profile and log every attribute written through
SetAudioAttributes,SetVideoAttributes, andSetContainerAttributes. - Verify that stream sections contain the required media-format attributes. Microsoft explicitly requires format attributes; optional encoding parameters do not replace the target media type.
- Confirm that container settings describe the intended output format and are compatible with the profile the application constructs. Do not infer correctness from the output filename extension.
Keep this failure separate from MF_E_TRANSCODE_NO_MATCHING_ENCODER and MF_E_TRANSCODE_PROFILE_NO_MATCHING_STREAMS. The latter two identify encoder discovery and source-stream/profile matching problems. For an invalid profile, reduce the configuration to a documented working profile, such as the Microsoft MP4 or WMA tutorial pattern, then add custom attributes one group at a time. A serialized attribute dump before topology creation is usually more useful than retrying the Media Session.
Microsoft: MFCreateTranscodeProfile · Microsoft: profile requirements · Microsoft: IMFTranscodeProfile
Looking for a different code? Search another status or error code.