| Previous | Next |
| MF_E_INVALIDTYPE | MF_E_INVALIDINDEX |
MF_E_INVALID_FILE_FORMAT
MF_E_INVALID_FILE_FORMAT indicates that a parser, source, or related component rejected the file structure. It is more specific than an unsupported media type: the container metadata or layout itself is not acceptable to that component.
Check the source before changing codecs
- Verify that the file transfer completed and that the file was not truncated or modified in place.
- Confirm that the extension and claimed MIME type match the actual container.
- Capture the component, source URL, file size, and any earlier parser error; a later decoder error may only be a consequence of a bad container.
Do not blindly rename the file or force a media subtype. Repair or replace invalid input, or select a source handler that supports the real container.
Microsoft: IMFSourceResolver::CreateObjectFromURL · Microsoft: IMFSourceResolver::CreateObjectFromByteStream
Looking for a different code? Search another status or error code.
